html {
  font-size: 119%; 
}

body {
  font-size: 0.95rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  color: #333333;
  margin: 0;
}

.land {
    white-space: nowrap;
}

.flex-container-seite{
    display: flex;
    flex-direction: row;
    flex: 1;
    justify-content: center;
}

.flex-container-top{
    display: flex;
    flex-direction: row;
    flex: 1;
    justify-content: space-around;
    align-items: top;
}
  
.sprache{
    display: flex;
    flex-direction: row-reverse;
    flex: 1;
    justify-content: right;
    align-items: top;
}

.wrapper-links{
    padding-left: 0;
    padding-right: 0;
    margin-right: 1em;
    text-align: center;
    flex: 0.85;
}

.wrapper-rechts{
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    flex: 2.15;
}

.wrapper-unten{
    box-sizing: border-box;
    text-align: center;
    display: none;
    padding-left: 2%;
    padding-right: 2%;
    width: 100%;
    max-width: 1500px;
    margin: auto;
}

@media (min-width: 1050px) {
    .wrapper-unten {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex: 1;
    }
  }

.wrapper-seite{
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-left: 2%;
    padding-right: 2%;
    width: 100%;
    max-width: 1500px;
    margin: auto;
}

.wrapper-header{
    box-sizing: border-box;
    margin: auto;
    padding-left: 2%;
    padding-right: 2%;
    padding-bottom: 1.5em;
    width: 100%;
    max-width: 1500px;
}

.wrapper-footer{
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex: 1;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: auto;
    max-width: 1500px;
    width: 100%;
}

.content-rechts{
   text-align: justify;
   padding-left: 0;
   padding-right: 0;
   max-width: 900px;
   margin-left: auto;
   margin-right: auto;
   hyphens: auto;
   -webkit-hyphens: auto;
   -ms-hyphens: auto;
}

header{
    padding-bottom: 5px;
}

body{
    word-wrap: break-word;
    text-align: center;
}

footer{
    padding-top: 5em;
}

.imgs{
    max-width: 300px;
    width: 45%;
    height: auto;
    padding: 0.3em 0.3em 0.3em 0.3em;
}

.img-container-links{
    overflow: hidden;
    width: 100%;
}

  @media (min-width: 1050px) {
    .img-container-links{
        display: none;
    }
}

.img-container-small-links{
    display: flex;
    flex-direction: row;
    flex: 1;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1050px) {
    .imgs{
        width: 100%;
    }
    .wrapper-unten .imgs {
        max-width: 470px;
    }
    .img-container-small-unten {
        max-width: 21%;
    }
}

@media (max-width: 750px) {
    .img-container-small-links {
      flex-direction: column;
    }
    .imgs{
        width: 90%;
    }
  }

/* Damit die Fotos im einspaltigen Bereich (bis 750px) ebenfalls über die
   ganze Breite hinweg weiter mitwachsen, statt schon früh am globalen
   300px-Deckel hängen zu bleiben, wird der Deckel auch hier angehoben. */
@media (max-width: 750px) {
    .img-container-links .imgs {
        max-width: 420px;
    }
}

/* Damit die Fotos im zweispaltigen Bereich (751px–1049px) über die ganze
   Breite hinweg weiter mitwachsen, statt schon früh am globalen 300px-Deckel
   hängen zu bleiben, wird der Deckel hier angehoben. */
@media (min-width: 751px) and (max-width: 1049px) {
    .img-container-links .imgs {
        max-width: 450px;
    }
}

.img-container-small-unten{
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    align-items: center;
    padding: 0 3px 0 3px;
}

a:link{
    color: blue;
    text-decoration: none;
}

a:visited{
    color:rgb(25, 4, 99);
    text-decoration: none;
}

a:hover{
    color: rgb(47, 80, 247);
    text-decoration: none;
    font-family: courier 'Courier New', Courier, monospace;
}

#mbmcookie {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #eee;
    padding: 20px;
    font-size: 14px;
}

#mbmcookie a.button {
    cursor: pointer;
    background: #ccc;
    padding: 8px 20px;
    margin-left: 10px;
    border-radius: 5px;
    font-weight: bold;
    float: right;
}

#mbmcookie a.button:hover {
    background-color: #aaa;
}

#mbmcookie a.button-secondary {
    background: transparent;
    border: 1px solid #999;
}

#mbmcookie a.button-secondary:hover {
    background-color: #ddd;
}

#mbmcookie p.cookiemessage {
    display: block;
    padding: 0;
    margin: 0;
}

.page-title {
    text-align: center;
    line-height: 150%;
    font-size: 1.15rem;
    margin: 0.5em 0 0.7em;
}

.rollen-liste {
    font-size: 0.95rem;
    font-weight: bold;
    padding-top: 1em;
    line-height: 150%;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    overflow-wrap: break-word;
}

.subtitle-italic {
    font-size: 0.97rem;
    margin: 0.3em 0 1.85rem;
}


/* Fix: Flex-Kinder dürfen unter ihre Inhalts-Mindestbreite schrumpfen.
   Ohne dies erzwingt z.B. ein langes Wort in der Überschrift
   (z.B. "Führungskräftecoach,") eine Mindestbreite der rechten Spalte,
   die auf schmalen Displays über den Bildschirmrand hinausragt. */
.wrapper-rechts {
    min-width: 0;
}

.wrapper-links {
    min-width: 160px;
}

/* Footer-Partner-Logos: feste Maße statt Inline-Styles im HTML */
.logo-iapp    { width: 122px; height: 112px; }
.logo-coach   { width: 178px; height: 52px;  }
.logo-dgpp    { width: 109px; height: 97px;  }
.logo-wapp    { width: 106px; height: 87px;  }
.logo-eap     { width: 80px;  height: 108px; }
.logo-wcp     { width: 88px;  height: 92px;  }
.logo-europsy { width: 125px; height: 33px;  }

/* Größere Coaching-Bilder auf sehr breiten Bildschirmen */
@media (min-width: 1600px) {
    .img-container-small-unten {
        max-width: 24%;
    }
    .wrapper-unten .imgs {
        max-width: 550px;
    }
}

/* Bildergalerie unten: deckt beide Spalten (Menü + Text) in der Breite ab,
   die rechte Kante bleibt an der Textspalte (max. 900px) ausgerichtet statt
   an der vollen rechten Außenkante der Seite.

   WICHTIG: Hier wird bewusst CSS Grid mit denselben Spaltenanteilen (1fr / 1.7fr)
   wie bei .wrapper-links/.wrapper-rechts verwendet statt einer vw-basierten
   Formel. vw bezieht sich auf die Fensterbreite, der Text daneben aber auf die
   tatsächlich verfügbare Breite innerhalb der Seite (abzüglich der 2%
   Innenabstand) – bei unterschiedlichen Zoomstufen/Fensterbreiten driftete das
   sonst leicht auseinander. Mit Grid-Prozentwerten (bezogen auf die exakte
   Breite der eigenen Grid-Fläche) bleibt die Ausrichtung bei jeder Fenster-
   breite und jedem Zoomlevel exakt. */
/* Bildergalerie unten: deckt beide Spalten (Menü + Text) in der Breite ab,
   die rechte Kante bleibt an der Textspalte (max. 900px) ausgerichtet statt
   an der vollen rechten Außenkante der Seite.

   Die exakte Ausrichtung (linker Einzug + rechte Kante) wird NICHT mehr über
   eine CSS-Formel berechnet, sondern per JavaScript direkt an der
   tatsächlich gerenderten Position von .wrapper-links und .content-rechts
   gemessen (siehe Skript am Ende der HTML-Dateien). Grund: Flexbox (Text)
   und eine reine CSS-Berechnung runden bei bestimmten Zoomstufen minimal
   unterschiedlich, was zu sichtbarem Verrutschen führte. Die Werte hier
   sind nur ein Fallback, falls JavaScript deaktiviert ist. */
.wrapper-galerie-unten {
    box-sizing: border-box;
    width: 100%;
    max-width: 1500px;
    margin: auto;
}

.wrapper-galerie-unten .wrapper-unten {
    margin: 0 auto;
    max-width: 900px;
}
