﻿/* Grundlegende Stile und Farben */
:root {
    --color-petrol: #006E88; /* Annäherung an das Petrol/Türkis */
    --color-lilac: #9678E6; /* Annäherung an das Lila */
    --color-black: #000000;
    --color-white: #FFFFFD;
    --color-dark-teal: #006E88; /* Dunklerer Hintergrund links */
    --color-dark-purple: #9678E6; /* Dunklerer Hintergrund rechts */
    --color-grau: #939393; /* Grau: #939393 */
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.container {
  display: grid;
  place-items: center; /* Zentriert sowohl horizontal als auch vertikal */
  height:80vh; /* Beispiel: Zentrierung im Viewport */
  width: 100%;
}


/* 1. Logo-Sektion */
.logo-section {
    padding: 32px 20px 40px 20px;
    width: 98%;
    max-width: 600px;
    box-sizing: border-box;
}

.logo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    line-height: 1; /* Wichtig für die vertikale Ausrichtung */
}

.logo-text {
    font-weight: 400;
    letter-spacing: -1px;
}

.logo-praxis {
    font-size: 4em; /* Anpassung der Größe */
    color: var(--color-petrol);
    margin-right: 5px; /* Abstand zu "& im" */
}

.logo-symbol {
    font-size: 2.5em; /* Kleiner als "Praxis" */
    font-weight: 700;
    color: var(--color-lilac);
    position: relative;
    top: -0.5em; /* Hochgestellt */
    margin-right: 5px;
}

.logo-bernapark {
   /* width: 70%;  Neue Zeile */
	margin-top: -50px;
  /* margin-bottom: -150px;  */
}

/* 2. Kontaktinformationen */
.contact-info {
  width: 100%;
  padding: 20px 0 30px 0;
  font-size: 1.5em;
  color: var(--color-black);
  margin-top: -50px; 
}

.contact-info span,
.contact-info a, 
.contact-name a {
    margin: 0 15px;
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.contact-info a:hover {
    text-decoration: underline;
    color: var(--color-lilac);
}

.contact-name a:hover  {
  text-decoration: underline;
  color: var(--color-petrol);
}

.contact-tel a:hover  {
	text-decoration: underline;
	color: var( --color-grau);
} 
  
/* Lauftext für Ferien abwesenheit */
  .contact-ltext {
margin-bottom: 3px;
  animation: scroll 40s linear infinite;
  border-top: 3px solid #939393;
  padding-top: 8px;
  font-size: 1.6em;
  }
  
  .marquee {
		background-color: #FFFFFD;
		overflow: hidden;
  		position: relative;
  		height: 50px;
  		width: 100%;
  		white-space: nowrap;
  		border-top: 3px solid #939393;
  		font-size: 1.3em; 
  		       }

        .marquee p {
            position: absolute;
            width: auto;
            height: 100%;
            margin: 0;
            line-height: 50px;
            text-align: center;
            /* Start off the right edge */
            transform: translateX(100%);
            /* Animate to the left */
            animation: scroll-left 40s linear infinite;
        }

        @keyframes scroll-left {
            0% {
                transform: translateX(100%);
            }

            100% {
                transform: translateX(-100%);
            }
        }
        
/* 3. Ärzte-Sektion (unterer farbiger Balken) */
.doctors-section {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.doctor-card {
    display: flex;
    align-items: center;
    width: 50%;
    min-height: 225px; /* Mindesthöhe für den Balken */
    color: var(--color-white);
    padding: 20px 0;
    box-sizing: border-box;
    text-align: left;
    clear: both;
}

/* Karte links (Juliane Langenbeck) */
.doctor-card-left {
    background-color: var(--color-dark-teal); /* Dunkle Türkis-Farbe des Bildes */
    justify-content: flex-end; /* Text rechts, Bild links (vom Text aus gesehen) */
}

/* Karte rechts (Nadina Stoffel) */
.doctor-card-right {
    background-color: var(--color-dark-purple); /* Dunkle Lila-Farbe des Bildes */
    justify-content: flex-start; /* Text links, Bild rechts (vom Text aus gesehen) */
    padding-left: 45px;
}

/* Text-Inhalt der Karte */
.doctor-text {
    padding: 0 40px;
   /* max-width: 45%;*/
}

.title-dr {
    font-size: 1.1em;
    font-weight: 300;
    margin-bottom: 5px;
}

.name {
    font-size: 1.8em;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 0.8;
}

.specialty {
    font-size: 1.1em;
    font-weight: 400;
    margin: 0;
}

/* Bild-Container und Bild-Stil */
.doctor-image-container {
    padding: 0 160px;
    position: relative; /* Für die exakte Platzierung des Bildes */
}

.doctor-image {
    width: 150px; /* Beispielgröße für das Bild */
    height: 150px;
    border-radius: 50%; /* Rundes Bild */
    /* border: 4px solid var(--color-white);*/ /* Weißer Rand */
    object-fit: cover;
    display: block; /* Entfernt unnötigen Platz unter dem Bild */
}

/* Spezifische Anordnung der Bilder relativ zum Text */
/* Bild auf der linken Seite ist rechts vom Text (Juliane) */
.doctor-card-left .doctor-image-container {
    order: 2; /* Bild nach rechts verschieben */
    margin-right: 40px;
}
.doctor-card-left .doctor-text {
    order: 1; /* Text nach links verschieben */
}

/* Bild auf der rechten Seite ist rechts vom Text (Nadina) */
.doctor-card-right .doctor-image-container {
    order: 2; /* Bild nach rechts verschieben */
    margin-left: 40px;
}
.doctor-card-right .doctor-text {
    order: 1; /* Text nach links verschieben */
}

/* Responsive Anpassungen für kleinere Bildschirme */
@media (max-width: 900px) {
    .doctor-card {
        width: 100%; /* Volle Breite auf kleinen Bildschirmen */
        flex-direction: column; /* Stapeln von Text und Bild */
        text-align: center;
        padding: 40px 20px;
    }

    .doctor-card-left, .doctor-card-right {
        justify-content: center;
    }

    .doctor-card-left .doctor-text,
    .doctor-card-right .doctor-text {
        order: 2;
        max-width: 100%;
        padding: 20px 0;
    }

    .doctor-card-left .doctor-image-container,
    .doctor-card-right .doctor-image-container {
        order: 1;
        margin: 0;
    }
    
    .doctor-image-right {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-left: -41px;
}

.doctor-image-left {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-left: 21px;
}

    .doctor-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}


    .logo-praxis { font-size: 3em; }
    .logo-symbol { font-size: 2em; top: -0.3em; }
    .logo-bernapark { font-size: 4em; }
}

@media (max-width: 500px) {
     .contact-info {
        display: flex;
        flex-direction: column;
        gap: 5px;
		padding: 50px 0px 40px 135px;
	    text-align: left;
    	font-size: 1.0em;
   }
   
   .logo-section {
  width: 95%;
  margin-left: -22px;
}

.contact-ltext {
  margin-bottom: 7px;
  animation: scroll 40s linear infinite;
  border-top: 3px solid #939393;
  padding-top: 8px;
  font-size: 1em;
}
.doctor-text, .text-left {
  width: 84%;
}

.name {
  font-size: 1.4em;
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 0.8;
}



.contact-info span, .contact-info a {
        margin: 0;
    }
    
.contact-info a:hover {
    text-decoration: underline;
    color: var(--color-lilac);
}

.contact-name a:hover  {
  text-decoration: underline;
  color: var(--color-petrol);
}

.contact-tel a:hover  {
	text-decoration: underline;
	color: var( --color-grau);
} 

 /*  
  .doctors-section {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-top: 50px; 
}*/

.doctor-image {
  width: 130px;
  height: 130px;
  }  
  
    .doctor-image-right {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin-left: -18px;
  }

  .doctor-card {
    width: 100%;
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }
  
  .specialty {
  font-size: 0.95em;
  font-weight: 400;
  margin: 0;
  max-width: 70%;
}

.doctor-card-left  {
    order: 1;
    max-width: 100%;
    padding: 20px 0;
    text-align: left;
    padding-left: 35px;
  }
  
.doctor-card-right{
    order: 2;
    max-width: 100%;
    padding: 20px 0;
    text-align: left;
    padding-left: 35px;
  }


}