/* ========= HEADER (kompletter responsive Code) ========= */
/* Definiere vorher in :root deine Farbvariablen:
   --bg-grad-1, --bg-grad-2
*/
/* Desktop */
:root { --header-offset: 120px; }

/* Tablet */
@media (max-width: 992px) {
  :root { --header-offset: 135px; }
}

/* Smartphones */
@media (max-width: 700px) {
  :root { --header-offset: 150px; }
}

@media (max-width: 500px) {
  :root { --header-offset: 170px; }
}

@media (max-width: 400px) {
  :root { --header-offset: 190px; }
}

/* Alle Anker-Ziele */
#about,
#mentoring,
#erfahrungen,
#testimonials,
#contact,
#kontakt-cta,
#warumwir,
#hilfe,
#team,
#bekannt-aus {
  scroll-margin-top: var(--header-offset);
}



/* ≤ 992px – etwas kompakter */
@media (max-width: 992px) {
  #header { padding: 16px; }
  #header .logo h1 { font-size: 1.35rem; }
  #header nav ul { gap: 16px; }
}

/* ≤ 768px – kleinere Abstände */
@media (max-width: 768px) {
  #header nav ul { gap: 12px; }
}
@media (max-width: 636px) {
  #header nav ul { gap: 12px;  font-size: 14px; }
  
}

@media (max-width: 600px) {
  #header {
    flex-direction: column;  /* Logo & Navbar untereinander */
    align-items: center;
    gap: 10px;
    padding: 12px;
  }
}
@media (max-width: 561px) {
  #header {
    flex-direction: column;  /* Logo & Navbar untereinander */
    align-items: center;
    gap: 10px;
    padding: 12px;
  }

  #header .logo h1 {
    text-align: center;  /* zentriert */
    font-size: 1.2rem;
  }

  #header nav {
    width: 100%;
  }

  #header nav ul {
    justify-content: center; /* Navbar mittig */
    gap: 10px;
  }

  #header nav ul li a {
    font-size: 0.9rem; /* kleiner, damit alles passt */
  }
}

/* ≤ 450px – H1 mittig, Navbar darunter, Schrift kleiner */
@media (max-width: 450px) {
  #header {
    flex-direction: column;  /* Logo & Navbar untereinander */
    align-items: center;
    gap: 10px;
    padding: 12px;
  }

  #header .logo h1 {
    text-align: center;  /* zentriert */
    font-size: 1.2rem;
  }

  #header nav {
    width: 100%;
  }

  #header nav ul {
    justify-content: center; /* Navbar mittig */
    gap: 10px;
  }

  #header nav ul li a {
  font-size: 13px;
  }
}

/* ≤ 320px – nochmals kleinere Schrift */
@media (max-width: 3px) {
  #header .logo h1 { font-size: 1rem; }
  #header nav ul li a { font-size: 0.8rem; }
}

/* ≥ 1800px – großzügiger für große Bildschirme */
@media (min-width: 1800px) {
  #header { padding: 30px 60px; }
  #header .logo h1 { font-size: 2rem; }
  #header nav ul { gap: 28px; }
  #header nav ul li a { font-size: 1.15rem; }
}

/* ≥ 2400px */
@media (min-width: 2400px) {
  #header { padding: 40px 80px; }
  #header .logo h1 { font-size: 2.2rem; }
  #header nav ul li a { font-size: 1.25rem; }
}

/* ≥ 3200px – 4K */
@media (min-width: 3200px) {
  #header {
    padding: 50px 100px;
    max-width: 2400px; /* verhindert übermäßige Breite */
    margin-inline: auto;
  }
  #header .logo h1 { font-size: 2.5rem; }
  #header nav ul { gap: 36px; }
}


/* ========= Bild + Tagline (responsive) ========= */
#mein-bild {
  text-align: center;
  display: flex;
  flex-direction: column;  /* erst Bild, dann Text */
  align-items: center;     /* mittig */
  margin-top: 60px;
}

#mein-bild img {
  width: 10cm;               /* Standardgröße (Desktop) */
  height: 10cm;
  border-radius: 50%;        /* rund */
  object-fit: cover;
  box-shadow: 
    0 4px 6px rgba(0,0,0,0.3),
    inset 0 2px 4px rgba(255,255,255,0.4);
}

#mein-bild .tagline {
  margin-top: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* ========= Breakpoints ========= */

/* ≤ 992px */
@media (max-width: 992px) {
  #mein-bild img {
    width: 8cm;
    height: 8cm;
  }
  #mein-bild .tagline {
    font-size: 1rem;
  }
}

/* ≤ 768px */
@media (max-width: 768px) {
  #mein-bild img {
    width: 7cm;
    height: 7cm;
  }
  #mein-bild .tagline {
    font-size: 0.95rem;
  }
}

/* ≤ 480px */
@media (max-width: 480px) {
  #mein-bild {
    margin-top: 40px;
  }
  #mein-bild img {
    width: 6cm;
    height: 6cm;
  }
  #mein-bild .tagline {
    font-size: 0.9rem;
  }
}

/* ≤ 320px – sehr kleine Geräte */
@media (max-width: 320px) {
  #mein-bild img {
    width: 5cm;
    height: 5cm;
  }
  #mein-bild .tagline {
    font-size: 0.8rem;
  }
}

/* ≥ 1800px – größere Screens */
@media (min-width: 1800px) {
  #mein-bild img {
    width: 12cm;
    height: 12cm;
  }
  #mein-bild .tagline {
    font-size: 1.3rem;
  }
}

/* ≥ 2400px */
@media (min-width: 2400px) {
  #mein-bild img {
    width: 14cm;
    height: 14cm;
  }
  #mein-bild .tagline {
    font-size: 1.5rem;
  }
}

/* ≥ 3200px – 4K */
@media (min-width: 3200px) {
  #mein-bild img {
    width: 16cm;
    height: 16cm;
  }
  #mein-bild .tagline {
    font-size: 1.7rem;
  }
}


/* ========= Leistungen (responsive) ========= */


/* ========= Breakpoints ========= */

/* ≤ 992px – etwas kompakter */
/* ========= Leistungen (FLUID) ========= */
#leistungen{
  display:flex;
  align-items:center;
  gap: clamp(16px, 3vw, 32px);
  /* Container atmet mit, ohne volle Bildschirmbreite zu füllen */
  width: min(92vw, 1100px);
  margin: clamp(24px, 4vw, 48px) auto;
  padding: clamp(12px, 2.5vw, 24px);
  box-sizing: border-box;
}

#leistungen img{
  /* Bild schrumpft weich mit – nie zu klein / nie zu groß */
  width: clamp(160px, 20vw, 280px);
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,.2);
  flex: 0 0 auto; /* behält seine (fluid) Breite */
}

#leistungen .textblock{
  flex: 1 1 auto;             /* Inhalt darf mit schrumpfen */
  text-align: left;
}

#leistungen h2{
  margin-top: 0;
  color: #F9F9F9;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
}

#leistungen p{
  font-weight: 700;
  margin-bottom: clamp(8px, 1.4vw, 16px);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.5;
}

#leistungen ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

#leistungen li{
  margin-bottom: clamp(6px, 1.2vw, 12px);
  padding-left: 25px;
  position: relative;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
}

#leistungen li::before{
  content: "✔";
  color: #28a745;
  position: absolute;
  left: 0;
  top: 0;
}

/* ===== Nur wenn’s eng wird: untereinander stapeln ===== */
@media (max-width: 700px){
  #leistungen{
    flex-direction: column;   /* stapeln */
    text-align: center;
    display: flex;
  } 
  #leistungen .textblock{ text-align: center; }
  
}

/* ===== Große Screens bekommen etwas mehr Luft, aber bleiben „im Rahmen“ ===== */
@media (min-width: 1800px){
  #leistungen{ width: min(86vw, 1280px); gap: clamp(24px, 2vw, 40px); }
  #leistungen img{ width: clamp(220px, 14vw, 320px); }
}
/* ========= Responsive Anpassung: Leistungen Heading ========= */

/* Ab Desktop kleiner machen, damit es nicht überdimensioniert wirkt */
@media (max-width: 992px) {
  #leistungen h2 {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    line-height: 1.3;
    letter-spacing: 0.5px;
  }
}

/* Tablets / Handys */
@media (max-width: 700px) {
  #leistungen h2 {
    font-size: clamp(1.1rem, 3vw, 1.6rem);
  }
}

/* Sehr kleine Geräte */
@media (max-width: 480px) {
  #leistungen h2 {
    font-size: clamp(1rem, 4vw, 1.4rem);
  }
}




/* ========= Breakpoints ========= */

/* 700px – 1099px → 2 Spalten */
@media (max-width: 1099px) and (min-width: 701px) {
  #bekannt-aus h2 { font-size: 1.6rem; }

  #bekannt-aus .warum-row {
    grid-template-columns: repeat(3, 1fr);
    max-width: 920px;
    gap: 16px;
  }

  #bekannt-aus .media img,
  #bekannt-aus .media video { max-height: 180px; }
  #bekannt-aus .brand img { height: 72px; }
}

/* ≤ 700px → 1 Spalte (alles untereinander) */
@media (max-width: 700px) {
  #bekannt-aus h2 { font-size: 1.4rem; }

  #bekannt-aus .warum-row {
    grid-template-columns: 1fr;
    max-width: 620px;
    gap: 14px;
  }

  #bekannt-aus .warum-card {
    min-height: 180px;
    padding: 14px;
  }

  #bekannt-aus .media img,
  #bekannt-aus .media video { max-height: 160px; }
  #bekannt-aus .brand img { height: 64px; }
}

/* ≤ 480px – kompakter */
@media (max-width: 480px) {
  #bekannt-aus { padding: 16px 0; }
  #bekannt-aus h2 { font-size: 1.25rem; }

  #bekannt-aus .warum-row {
    gap: 12px;
    padding: 0 12px;
  }

  #bekannt-aus .warum-card {
    padding: 12px;
    border-radius: 12px;
  }

  #bekannt-aus .media img,
  #bekannt-aus .media video { max-height: 140px; }
  #bekannt-aus .brand img { height: 58px; }
}











/* ========= Responsive: Mentoring ========= */

/* ≤ 1200px – etwas kompakter, ohne horizontales Scrollen */
@media (max-width: 1200px) {
  #mentoring {
    padding: 36px 18px;
  }
  #mentoring h2 {
    font-size: clamp(1.6rem, 2.2vw, 1.9rem);
    margin-bottom: 34px;
  }
  .mentoring-container {
    gap: 24px;
    margin-inline: auto;
  }
  .mentoring-box {
    /* min/max aus Basis kompensieren, damit’s mit schrumpft */
    /* min-width: 260px;
    max-width: 300px; */
  }
}

/* ≤ 992px – weiter verkleinern */
@media (max-width: 992px) {
  #mentoring { padding: 32px 16px; }
  #mentoring h2 { font-size: clamp(1.4rem, 2.4vw, 1.7rem); margin-bottom: 28px; }
  .mentoring-container { gap: 22px; }

  .mentoring-box {
    padding: 18px;
    min-width: 240px;
    max-width: 280px;
    box-sizing: border-box;
  }
  .mentoring-box h3 { font-size: clamp(1.15rem, 2vw, 1.25rem); }

  .logo-wrapper { width: 100px; height: 100px; }
}

/* ≤ 820px – noch kompakter, bleibt nebeneinander solange möglich */
@media (max-width: 820px) {
  #mentoring h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
  .mentoring-container { gap: 20px; }

  .mentoring-box {
    min-width: 220px;  /* kleiner erlaubt, um Wrap/Scroll zu vermeiden */
    max-width: 260px;
    padding: 16px;
  }
  .logo-wrapper { width: 90px; height: 90px; }
}

/* ≤ 700px – sauber untereinander, mit Rand statt vollflächig */
@media (max-width: 700px) {
  .mentoring-container {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .mentoring-box {
    width: auto;   /* schön sichtbar mit Rand */
    min-width: unset;          /* Basis überschreiben */
    max-width: unset;
    padding: 16px;
    box-sizing: border-box;
  }

  #mentoring h2 {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    margin-bottom: 24px;
  }
  .mentoring-box h3 { font-size: clamp(1.05rem, 4vw, 1.2rem); }
  .logo-wrapper { width: 84px; height: 84px; }
}

/* ≤ 560px – alles skaliert weiter mit */
@media (max-width: 560px) {
  #mentoring { padding: 28px 14px; }
  .mentoring-box { width: auto; padding: 14px; }
  .mentoring-box h3 { margin-bottom: 12px; }
  .logo-wrapper { width: 76px; height: 76px; margin-bottom: 14px; }
}

/* ≤ 480px – kompakt, keine horizontale Scrollbar */
@media (max-width: 480px) {
  #mentoring { padding: 24px 12px; }
  #mentoring h2 { font-size: clamp(1.1rem, 6vw, 1.35rem); margin-bottom: 20px; }

  .mentoring-box {
    width: auto;              /* nie 100%, vermeidet Edge-Überlauf */
    padding: 12px;
  }
  .mentoring-box h3 { font-size: clamp(1rem, 4.8vw, 1.15rem); }
  .logo-wrapper { width: 70px; height: 70px; }
}

/* ≤ 360px – sehr kleine Geräte */
@media (max-width: 360px) {
  #mentoring { padding: 20px 10px; }
  #mentoring h2 { font-size: clamp(1rem, 6.8vw, 1.2rem); }
  .mentoring-box { width: auto; padding: 10px; }
  .mentoring-box h3 { font-size: clamp(0.95rem, 5vw, 1.05rem); }
  .logo-wrapper { width: 64px; height: 64px; }
}

/* ≥ 1800px – angenehm größer, ohne übertrieben zu wirken */
@media (min-width: 1800px) {
  #mentoring { padding: 48px 28px; }
  #mentoring h2 { font-size: 2.2rem; margin-bottom: 42px; }
  .mentoring-container { gap: 32px; }
  .mentoring-box {
    max-width: 340px;  /* etwas großzügiger */
    padding: 22px;
  }
  .mentoring-box h3 { font-size: 1.5rem; }
  .logo-wrapper { width: 128px; height: 128px; }
}

@media (max-width: 500px) {
  #erfahrungen {
    display: none !important;
  }
}

@media (max-width: 1100px) {
  .warum-card {
    min-height: unset !important;
  }
}

@media (max-width: 766px) {
  .buch-text {
    display: none !important;
  }
}
/* ========= Responsive: Buch-Section (sauber brechend, nicht fluid) ========= */

/* Sicherheit gegen horizontales Scrollen */
@media (max-width: 1400px) {
  #buch { overflow-x: hidden; }
}

/* ≤ 1200px – etwas kompakter, Spalten bleiben NEBENEINANDER */
@media (max-width: 1200px) {
  .buch-container {
    gap: 32px;
    flex-wrap: nowrap;        /* kein Spalten-Umbruch */
    align-items: flex-start;
  }
  .buch-text {
    min-width: 0;             /* verhindert Überlauf */
    max-width: 600px;
  }
  .buch-cover img { width: 260px; }
  /* Überschrift bleibt in gleicher Größe – keine Änderung hier */
}

/* ≤ 992px – weiter kompakt, weiterhin NEBENEINANDER */
@media (max-width: 992px) {
  .buch-container { gap: 28px; display:flex; align-items: center; }
  .buch-cover img { width: 240px; }
  .buch-text { max-width: 520px; }
  .buch-text p { line-height: 1.55; }
}

/* ≤ 768px – noch kompakter, weiterhin NEBENEINANDER */
@media (max-width: 768px) {
  .buch-container {
    gap: 22px;
    flex-wrap: nowrap;        /* weiterhin keine Spaltenbrechung */
  }
  .buch-cover img { width: 220px; }
  .buch-text { max-width: 480px; }
}

/* ≤ 600px – SAUBERER BRUCH: Bild OBEN, Text AUSBLENDEN, Button darunter */
@media (max-width: 600px) {
  .buch-container {
    flex-direction: column;   /* sauberer Bruch */
    align-items: center;
    justify-content: center;
    gap: 18px;
  }

  .buch-cover img {
    width: 200px;             /* feste, kleinere Größe */
  }

  .buch-text {
    display: none !important; /* Text verschwindet komplett */
  }

  .buch-button-wrapper { margin-top: 8px; }
  .buch-btn {
    padding: 12px 22px;
    font-size: 1.1rem;
  }
}
@media (max-width: 500px) {

#buch h2 {
    font-size: 25px;
    margin-bottom: 40px;
    color: #fff;
}

}
@media (max-width: 413px) {

#buch h2 {
    font-size: 22px;
    margin-bottom: 40px;
    color: #fff;
}

}
@media (max-width: 380px) {

#buch h2 {
    font-size: 20px;
    margin-bottom: 40px;
    color: #fff;
}

}
@media (max-width: 355px) {

#buch h2 {
    font-size: 17px;
    margin-bottom: 40px;
    color: #fff;
}

}




/* ≤ 420px – sehr kleine Geräte */
@media (max-width: 420px) {
  .buch-cover img { width: 180px; }
  .buch-btn { padding: 10px 18px; font-size: 1rem; }
}
#bekannt-aus h2,
#mentoring h2,
#nun h2,
#warum h2,
#team h2 {
  font-size: 2rem !important;     /* gleiche Größe */
  line-height: 1.3;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;            /* immer in einer Zeile */
  overflow: hidden;               /* Sicherheit */
  text-overflow: ellipsis;        /* falls Bildschirm wirklich zu klein */
}

/* ≤ 480px – kleinerer Rand, Schrift bleibt gleich groß */
@media (max-width: 480px) {
  #bekannt-aus h2,
  #mentoring h2,
  #nun h2,
  #warum h2,
  #team h2 {
    font-size: 2rem !important;   /* bleibt identisch */
    white-space: nowrap;
  }
}

@media(max-width:394px){
  .cta-btn {
    width: 90%;                /* fast volle Breite auf kleinen Bildschirmen */
    max-width: 500px;          /* Limit für große Bildschirme */
    background: radial-gradient(circle at center, var(--bg-grad-1) 0%, var(--bg-grad-2) 100%);
     box-shadow: 0 10px 25px rgba(0,0,0,0.25), /* Hauptschatten */
              inset 0 2px 4px rgba(255,255,255,0.4); /* leichter 3D-Effekt */
    color: white;
    font-size: 17px;
    font-weight: bold;
    padding: 18px 30px;
    border: none;
    border-radius: 10px;
    cursor: pointer;

    transition: transform 0.2s, background-color 0.3s;
    animation: pulse-green 1.5s infinite;
}
}
@media(max-width:360px){
  .cta-btn {
    width: 90%;                /* fast volle Breite auf kleinen Bildschirmen */
    max-width: 500px;          /* Limit für große Bildschirme */
    background: radial-gradient(circle at center, var(--bg-grad-1) 0%, var(--bg-grad-2) 100%);
     box-shadow: 0 10px 25px rgba(0,0,0,0.25), /* Hauptschatten */
              inset 0 2px 4px rgba(255,255,255,0.4); /* leichter 3D-Effekt */
    color: white;
    font-size: 15px;
    font-weight: bold;
    padding: 18px 30px;
    border: none;
    border-radius: 10px;
    cursor: pointer;

    transition: transform 0.2s, background-color 0.3s;
    animation: pulse-green 1.5s infinite;
}
}
@media (max-width: 992px){
  .footer-grid{
    grid-template-columns: 1.2fr 1fr 1.2fr;
  }
  /* Brand + Links + Newsletter; Socials unter Brand */
  .footer-socials{ margin-top: 8px; }
}

/* ≤ 760px: 2 Spalten */
@media (max-width: 760px){
  .footer-grid{
    grid-template-columns: 1fr 1fr;
  }
}

/* ≤ 520px: 1 Spalte (alles untereinander, volle Breite) */
@media (max-width: 520px){
  .footer-grid{
    grid-template-columns: 1fr;
  }
  .footer-form{ flex-direction: column; }
  .footer-btn{ width: 100%; }
  .footer-bottom{
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom .policies{ justify-content: center; }
}

@media (max-width: 720px) {
  #warumwir .warum-lang { display: none; }
  #warumwir .warum-kurz { display: block; }
}

    /* Standard: lange Version sichtbar */
#hilfe .hilfe-lang { display: block; }
#hilfe .hilfe-kurz { display: none; }

/* Ab 420px – kurze Version anzeigen */
@media (max-width: 420px) {
  #hilfe .hilfe-lang { display: none; }
  #hilfe .hilfe-kurz { display: block;         font-size: 31px;}
}