/* ------------------------------------------------------------- */
/* BASIS: DEINE ORIGINALEN STYLES (bereinigt & konsistent)       */
/* ERGÄNZT UM: modernes PEKiP-Design, schmalere Texte, kleinere  */
/* Bilder, weichere Farben, bessere Abstände                     */
/* ------------------------------------------------------------- */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  background: #FFF4E6; /* warme Grundfarbe */
  color: #333333;
  line-height: 1.6;
}

/* ------------------------------------------------------------- */
/* HEADER + NAVIGATION                                           */
/* ------------------------------------------------------------- */

header {
  position: sticky;
  top: 0;
  background: rgba(216, 243, 220, 0.85) !important; /* leicht mint */
  backdrop-filter: blur(8px);
  border-bottom: 2px solid #FFB5A7 !important; /* apricot */
  z-index: 1000;
}

.navbar {
  padding: 1em;
  position: relative;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
}

.navbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #333;
  font-size: 1.2rem;
}

.logo-icon {
  height: 80px;
  width: auto;
}

.burger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
}

.nav-links {
  display: flex;
  gap: 1em;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #36534A !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #F77F7F !important;
}

/* Mobile Ansicht */
@media (max-width: 768px) {
  .navbar {
    display: block;
  }

  .burger {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #FFB5A7;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
  }

  .nav-links.active {
    max-height: 500px;
  }

  .nav-links a {
    padding: 0.5em 1em;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: 100%;
    text-align: center;
  }

  .nav-links.active a {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------------------------------------- */
/* SECTION DESIGN (komplett modernisiert)                        */
/* ------------------------------------------------------------- */

section {
  max-width: 800px !important;        /* Textbreite reduziert */
  margin: 3rem auto;
  padding: 3rem 1.8rem;
  background: rgba(255,255,255,0.8);
  border-radius: 18px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
  scroll-margin-top: var(--scroll-offset);
}

section:nth-of-type(even) {
  background: #D8F3DC; /* Pastell-Mint */
}

footer section {
  border-bottom: none;
}

/* ------------------------------------------------------------- */
/* TYPOGRAFIE                                                    */
/* ------------------------------------------------------------- */

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  position: relative;
  margin-bottom: 1em;
  color: #36534A;
}

h1::after, h2::after, h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #F77F7F;
  margin: 0.5em auto 0;
  border-radius: 2px;
}

/* ------------------------------------------------------------- */
/* BUTTONS / CTAs                                                */
/* ------------------------------------------------------------- */

button,
.btn {
  background-color: #F77F7F;
  color: #ffffff;
  border: none;
  padding: 0.75em 1.5em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

button:hover,
.btn:hover {
  background-color: #e56d6d;
}

/* ------------------------------------------------------------- */
/* IMAGES                                                        */
/* ------------------------------------------------------------- */

.image-container {
  text-align: center;
}

/* Bilder global kleiner und hübscher */
.image-container img,
section img {
  display: inline-block !important;   /* inline statt block */
  max-width: 40%;                     /* noch etwas kleiner */
  margin: 0.5rem;                     /* Abstand in alle Richtungen */
  vertical-align: middle;             /* saubere Linie */
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .image-container img,
  section img {
    max-width: 70%;
  }
}

/* Über mich – Bildgröße */
.about img {
  width: 220px !important;
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* PORTRAITFOTO CHRISTIANE */
#portrait {
  display: inline-block;     /* bleibt neben Text möglich */
  max-width: 220px;          /* angenehme Größe */
  width: 100%;
  height: auto;
  border-radius: 50%;       /* abgerundete Ecken */
  box-shadow: none !important; /* kein Schatten */
  background: none !important; /* kein Hintergrund */
  margin: 0.5rem;            /* leichter Abstand */
  object-fit: cover;         /* wirkt sauber, wenn Größe variiert */
}


/* ------------------------------------------------------------- */
/* LAYOUT: ÜBER MICH                                             */
/* ------------------------------------------------------------- */

.about {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

/* ------------------------------------------------------------- */
/* KURSE / COURSE CARDS                                          */
/* ------------------------------------------------------------- */

.kursliste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.course {
  background: white;
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  border-left: 6px solid #F77F7F;
}

.course h3 {
  margin-top: 0;
  color: #F77F7F;
}

/* ------------------------------------------------------------- */
/* IMPRESSUM                                                     */
/* ------------------------------------------------------------- */

.impressum {
  background: white !important;
  box-shadow: none !important;
  font-size: 0.9rem;
  padding: 2rem;
}


/* INSTAGRAM BUTTON MIT ICON */
.insta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;

  background-color: #F77F7F;     /* dein Korallton */
  color: white;

  padding: 0.8rem 1.6rem;
  border-radius: 12px;

  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-decoration: none;

  margin-top: 1rem;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.insta-btn:hover {
  background-color: #e56d6d;
  transform: translateY(-2px);
}

/* ICON wird automatisch einfarbig und nimmt Textfarbe an */
.insta-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;   /* wichtig! färbt das SVG passend zur Schrift */
  flex-shrink: 0;
}

.ig-btn-wrapper {
  text-align: center;
}