/* -----------------------------------------
   STYLESHEET ÜBERSICHT
   -----------------------------------------
   1. Variablen / Reset
   2. Header / Hero
   3. Typografie
   4. Cards / Buttons
   5. Testimonials
   6. About Me
   7. responsive Anpassung
   8. Contact
   9. Footer
----------------------------------------- */
/* Fonts */
/* Lato Regular */
@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Regular.woff2') format('woff2'),
       url('fonts/Lato-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Lato Bold */
@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Bold.woff2') format('woff2'),
       url('fonts/Lato-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Lato Italic */
@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Italic.woff2') format('woff2'),
       url('fonts/Lato-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Lato Bold Italic */
@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-BoldItalic.woff2') format('woff2'),
       url('fonts/Lato-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* Nutzung im CSS */
body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  line-height: 1.6;
}



:root {
  --indigo: #30415D;    /* Tiefe, Intuition */
  --emerald: #4CA59C;   /* Empathie, Heilung */
    --emerald-dark: hsl(178, 83%, 25%);
  --rose: #F6D7D4;      /* Wärme */
  --gold: #F9C846;      /* Inspiration */
  --warmwhite: #F9FAFB; /* Offenheit */
 --warmwhite-rose: #F9F8F7; /* Offenheit */ 
  --silvery: #E5E7EA;   /* Ruhe/Neutral */
  --ink: #1f2937;       /* Texte dunkel */
  --roterfaden: #b22;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #E5E7EA; 
  color: var(--ink);
  /*font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;*/
   font-family: 'Lato', system-ui, sans-serif;
   line-height: 1.6;
  
}


a {
  color: var(--indigo);
  text-underline-offset: 2px;
}

/* ---------- Header / Hero ---------- */

header {
  position: relative;
  overflow: hidden;
 padding: clamp(1rem, 2vw, 4rem) 1.25rem 0 5rem; /*oben: clamp(1rem, 2vw, 3rem) (dynamisch), rechts: 1.25rem
 unten: 0 → kein extra Abstand mehr nach unten, links: 5rem */




  text-align: left;
  color: #0b1220;
  background: radial-gradient(
      1200px 500px at 20% 20%,
      rgba(76, 165, 156, 0.3),
      transparent 60%
    ),
    linear-gradient(
      135deg,
      rgba(48, 65, 93, 0.5),
      rgba(76, 165, 156, 0.15) 45%,
      rgba(246, 215, 212, 0.15) 80%,
      rgba(249, 200, 70, 0.1)
    );
}
/* ---------------- Mobile Anpassung Header ---------------- */
@media (max-width: 767px) {
  header {
    padding-left: 2.5rem;   /* links schmaler */
    padding-right: 1.25rem;  /* rechts angepasst */
  }


}
.hero {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 0.5rem; /* Abstand zwischen Eybrow und buttons */
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}
.hero-text {
  font-size: clamp(2rem, 5vw, 4rem); /* responsive Größe */
  line-height: 1.2;                  /* engerer Zeilenabstand */
  font-weight: 700;                   /* optional */
  margin: 0 0 0 0;   
  font-family: 'Lato', system-ui, sans-serif;                       /* kein extra Abstand */
}
.hero img {
  width: 100%;
  max-width: 400px;
  height: auto;
  background: transparent;
  margin-top: 0; /* Verschiebt das Bild nach unten */
}

figure {
  margin: 0;
}
/* ----------- Navigation ----------- */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(
    to right,
    rgba(156,181,186,1) 0%,
    rgba(193,214,217,1) 30%,
    rgba(221,223,222,1) 65%,
    rgba(229,227,227,1) 100%
  );
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  box-sizing: border-box;
}

/* Nav-Inner strecken, damit Links volle Höhe haben */
.nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  height: 3rem;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 1rem;
  box-sizing: border-box;
}

/* Links */
.nav-links {
  display: flex;
  gap: 1rem;
  align-items: stretch;
}

/* Top-Level Links und Dropdown-Hauptlink */
.nav-links > a,
.nav-dropdown > a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
  border-radius: 4px;
  min-width: 120px;
  text-decoration: none;
  color: var(--indigo);
  font-weight: 500;
  transition: color 0.2s ease, background-color 0.2s ease;
}

/* Hover */
.nav-links > a:hover,
.nav-dropdown > a:hover {
  background-color: rgba(255,255,255,0.15);
  color: #b22;
}

/* Active */
.nav-links > a.active,
.nav-dropdown > a.active {
  background-color: rgba(255,255,255,0.25);
  color: var(--indigo);
}

/* Dropdown Container */
.nav-dropdown {
  display: flex;
  align-items: stretch;
  height: 100%;
  position: relative;
}

/* Dropdown Inhalt */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #E5E7EA;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  min-width: 180px;
  z-index: 20;
  flex-direction: column;
  border-radius: 4px;
}

/* Links im Dropdown */
.dropdown-content a {
  display: block;
  padding: 0.25rem 1rem;
  line-height: 1.2;      /* Abstand zwischen Textzeilen */
  color: #0b1220;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

/* Hover im Dropdown */
.dropdown-content a:hover {
  color: #b22;
  background-color: rgba(255,255,255,0.15);
}

/* Dropdown beim Hover anzeigen */
.nav-dropdown:hover .dropdown-content {
  display: flex;
}

/* Mobile: Dropdown immer ausgeblendet */
@media (max-width: 767px) {
  .dropdown-content {
    display: none !important; /* oder ganz entfernen */
  }
}
/* Abstand für Sprungmarken */
.anchor {
  scroll-margin-top: 5rem;
}

/* Hamburger Menü */
.nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle-checkbox {
  display: none;
}

/* ----------- Responsivität ----------- */

/* Desktop */
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; }
}

/* Mobile */
@media (max-width: 767px) {
  .nav-inner {
    justify-content: space-between;
  }

  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 3rem;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #E5E7EA;
    padding: 1rem;
    gap: 0.5rem;
  }

  /* Hamburger Checkbox steuert Sichtbarkeit */
 .nav-toggle-checkbox:checked ~ .nav-links {
  display: flex;
}


  /* Links im Mobile-Menü linksbündig */
  .nav-links > a,
  .nav-dropdown > a {
    justify-content: flex-start;
  }

  /* Dropdown im Mobile-Menü anpassen */
  .nav-dropdown:hover .dropdown-content {
    position: relative;
    top: 0;
    left: 0;
    min-width: 100%;
    box-shadow: none;
  }
}

/* ---------- Typography ---------- */

.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  color: var(--emerald-dark);
  font-weight: 600;
   font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";

  margin-bottom: clamp(1rem, 2vw, 2.5rem);
  margin-top:clamp(1rem, 2.5vw, 3rem);
  padding-left: 0.25rem; /* leichte Verschiebung nach rechts */
}
@media (max-width: 768px) {
  .eyebrow {
font-size: 0.9rem;
}
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0.25rem 0 0.5rem;
  color: var(--indigo);
}

.subtitle {
  font-size: 1.4rem;
  color: #314155cc;
  max-width: 48ch;
}

main {
  max-width: 1150px;
  margin: 2rem auto 4rem;
  padding: 0 1.25rem;
  scroll-padding-top: 4rem; /* Höhe der fixierten Navileiste */
}

main a {
  text-decoration: none;       /* kein Unterstrich */
  color: #0b1220;              /* gleiche Grundfarbe wie Navi */
  font-weight: 500;
  transition: color 0.2s ease;
}

main a:hover {
  color: #b22;                 /* gleiche Hover-Farbe wie Navi */
  text-decoration: none;  /* optional underline, damit klar ist: klickbar */
}
section.card:first-of-type {
  margin-top: 3rem; /* Abstand zu Header */
}
section + section {
  margin-top: 2.5rem;
}
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2; /* enger für Headlines */
   font-family: 'Lato', system-ui, sans-serif;

  }

h2 {
  font-size: 1.4rem;
  margin: 0 0 0.5rem;
  color: var(--indigo);
}

h3 {
  font-size: 1rem;
  padding-top: clamp(1rem, 2vw, 3rem); /* min 1rem, flexibel 2vw, max 3rem */
  color: var(--indigo);
}

ul {
  margin: 0.25rem 0 0 1.2rem;
 
  display: inline-block;  /* passt die Breite dem Inhalt an */
  max-width: 700px;       /* überschreitet nie 700px */
  width: fit-content;     /* echte Anpassung an den Inhalt */
  padding: 5px;

}

/* ---------- Cards / Buttons ---------- */

.card {
  background: var(--warmwhite-rose);
  border: 1px solid var(--silvery);
  border-radius: 14px;
  padding: 2rem 3rem 1rem 3rem;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

@media (max-width: 767px) {
  .card {
    padding-left: 1.25rem;   /* links schmaler */
    padding-right: 1.25rem;  /* rechts angepasst */
  }


}

  .about-me.card {
  padding: 1.25rem; /* gleiche wie andere Cards */
}
.card h2,
.card h3 {
  margin-top: 0;      /* oben kein Extra-Abstand */
  margin-bottom: 1,5rem; /* unten einheitlich */
}


.cta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.button {
  display: inline-block;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--indigo);
  text-decoration: none;
  background: var(--indigo);
  color: white;
  font-weight: 600;
    margin-top: 1.5rem; /* Abstand nach oben */
    margin-bottom: 1rem; /* Abstand nach unten */
}
  .button:hover {
  text-decoration: none; /* für unterstrich text decoration: underline; */
  color: #F6D7D4;
}



.button--ghost {
  background: transparent;
  color: var(--indigo);
}

.button--feedback {
  background: transparent;
  color: #058175;
   background: #F6D7D4;
}

/* ---------- Testimonials Section ---------- */

.testimonials {
  margin: 3rem 0;
}

/* Überschrift wie Card */
.testimonial-header {
  background: var(--warmwhite);
  border: 1px solid var(--silvery);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.testimonial-header h2 {
  margin: 0;
  color: var(--indigo);
}

/* Container für Testimonials */
.testimonial-cards {
  display: grid;
  gap: 1.5rem;
}

/* Jede Testimonial-Card */
.testimonial-card {
  background: var(--warmwhite-rose);
  border: 1px solid var(--silvery);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

/* Summary / sichtbarer Teil */
.testimonial-card summary {
  font-weight: 600;
  cursor: pointer;
  outline: none; /* Fokusrahmen entfernen */
  position: relative;
  padding-right: 1.5rem;
}

/* Plus-Symbol 
.testimonial-card summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

/* Plus dreht sich bei geöffnetem Zustand 
.testimonial-card[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}*/

/* Versteckter Text */
.testimonial-card p {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  margin-top: 0.75rem;
}

/* Vollständiger Text bei geöffnetem Zustand */
.testimonial-card[open] p {
  max-height: 500px; /* ausreichend für längeren Text */
  opacity: 1;
}

/* Untertext / Rollenangabe */
.testimonial-card small {
  display: block;
  margin-top: 0.5rem;
  color: #64748b;
  font-size: 0.85rem;
}





/* ---------- About Me ---------- */

.about-me {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.profile-pic {
  width: clamp(220px, 40vw, 320px);
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  order: 2; /* Bild rechts vom Text */
}

@media (max-width: 768px) {
  .profile-pic {
margin-top: 2rem;
}
}

@media (max-width: 768px) {
  .about-me {
gap: 5px;
}
}
.about-text {
  max-width: 600px;
  flex: 1;
  order: 1; /* Text zuerst */
}

/* Responsive Anpassung */




@media (max-width: 768px) {
  .main-nav {
    justify-content: center;   /* mittig statt rechts */
    gap: 1.5rem;               /* weniger Abstand */
    padding: 0.5rem 1rem;      /* kompakter */
    font-size: 0.9rem;         /* kleinere Schrift */
  }
}

@media (max-width: 768px) {
  .about-me {
    flex-direction: column;
    align-items: center;
    text-align: left; /* Text bleibt linksbündig */
  }

  .about-text {
    max-width: 100%;
  }

  .profile-pic {
    order: -1; /* Bild oben */
    margin-bottom: 15px;
  }
}
/* Responsive Anpassung für Testimonials */
@media (max-width: 768px) {
  .testimonial-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}




/* ---------- Contact Section ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;            /* Abstand zwischen den Cards */
  margin-top: 3rem;   /* passt zu den anderen Sections */
}




form.contact-form {
  display: grid;
  gap: 0.9rem;
  background:var(--warmwhite-rose);
  border: 1px solid var(--silvery);
  border-radius: 14px;
  padding: 1.25rem;
}

label {
  font-weight: 600;
  color: #334155;
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid #cfd5dc;
  border-radius: 10px;
  background: var(--warmwhite-rose);
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.notice {
  font-size: 0.9rem;
  color: #475569;
}

.success {
  display: none;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(0deg, #e7f8f5, #e7f8f5);
  border: 1px solid #bfe7df;
  border-radius: 10px;
  color: #0b6b57;
}

.error {
  display: none;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  color: #b91c1c;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--silvery);
  padding: 1.5rem 5rem;
  color: var(--warmwhite);
  background: var(--indigo);
}

.footer-inner {
  max-width: 1150px;   /* gleich wie main/cards */
  margin: 0 auto;      /* zentriert im Footer */
  padding: 0 2.5rem;   /* seitlicher Innenabstand, wie bei den Cards */
}

.footer-links {
  margin-left: 15px; /* Abstand zwischen Copyright und Links */
}

.footer-text a {
  color: var(--warmwhite); /* Linkfarbe */
  text-decoration: none;
  margin: 0 10px; /* Abstand links und rechts */
}

.footer-text a:hover {
  text-decoration: underline;
  color: #F6D7D4; /* heller beim Hover */
}

/* ---------- Mobile Anpassungen ---------- */
@media (max-width: 767px) {
  .footer-inner {
    padding: 0 0 0.3rem 0 ; /* enger links/rechts */
  }

    footer{
    padding: 0 0 0 2rem;   /* enger links/rechts */
  }
  .footer-text a {
    margin: 0 5px; /* enger Abstand bei Links */
  }

  .footer-links {
    margin-left: 5px; /* engerer Abstand zwischen Copyright & Links */
  }
}
  