/* Editor CSS - Gesundheitszentrum-Edition 
    Fokus: Klarheit, Vertrauen, Barrierefreiheit
*/

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.05rem; /* Leicht vergrößert für bessere Lesbarkeit */
  font-weight: 400;
  line-height: 1.6; /* Mehr Zeilenabstand für entspanntes Lesen */
  color: #333;
  text-align: left;
  background-color: #fff;
}


img { max-width: 100%; height: auto; border-radius: 4px; } /* Sanfte Ecken für Bilder */


/*======================================================================================================
Typography
======================================================================================================*/
.blocksatz { text-align: justify; }

h1, h2, h3, h4, h6 { 
    color: #486272; 
    font-weight: 600; 
    margin-top: 1.5em; 
}

h1 { font-size: 2.2em; border-bottom: 2px solid #7BA0B7; padding-bottom: 10px; }
h2 { font-size: 1.8em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.2em; color: #7BA0B7; }

h5 {
    font-size: 1.2em;
    font-weight: bold;
    line-height: 28px;
    color: #37474F;
}

/* H6 wurde hier oft für extrem große Texte genutzt - angepasst auf Akzentfarbe */
h6 { font-size: 2.5em; color: #7BA0B7; opacity: 0.8; }

p {
    color: #444;
    line-height: 1.6em;
    margin: 0 0 1.2em 0;
    hyphens: auto;
}

/* Links: Medizinisch-Blau/Grün statt Rot */
a { 
    color: #7BA0B7; 
    text-decoration: none; 
    transition: all 0.2s ease; 
    font-weight: 600; 
}

a:hover { 
    color: #486272; 
    text-decoration: underline; 
}

a:focus { 
    color: #486272; 
    outline: 2px solid #80CBC4; 
}

hr {
    border: 0;
    border-top: 1px solid #7BA0B7;
    height: 1px;
    margin: 2em 0;
    clear: both;
}

/* Listen-Design */
li {
    padding-bottom: 6px;
}

ul {
    margin-top: 0;
    margin-bottom: 15px;
    margin-left: 1.2em;
    padding-left: 0.5em;
    list-style-type: none; /* Custom Bullets */
}

/* Petrol-farbene Bullets für Aufzählungen */
ul li::before {
    content: "•";
    color: #7BA0B7;
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-left: -1em;
}

.play { list-style-image: url("images/play.png"); } /* Falls vorhanden beibehalten */
.ok { list-style-image: url("images/ok.png"); }



/*======================================================================================================
address
======================================================================================================*/
address {
    margin: 20px 0;
    padding: 15px;
    border-left: 5px solid #7BA0B7;
    font-style: normal;
    font-size: 16px;
    background-color: #F9F9F9;
    color: #37474F;
}
/*======================================================================================================
Eingabefelder
======================================================================================================*/

input, textarea, select {
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 4px;
    background: #fff;
    color: #000;
}

input:focus, textarea:focus {
    border-color: #7BA0B7;
    outline: none;
    box-shadow: 0 0 5px rgba(0,121,107,0.2);
}
/*======================================================================================================
pullquote
======================================================================================================*/
.pullquote {
	padding: 10px;
	float: right;
	width: 200px;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 20px;
	border-top-width: 2px;
	border-bottom-width: 2px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #ccc;
	border-bottom-color: #ccc;
	font-size: 16px;
	text-align: center;
	line-height: 36px;
	font-style: italic;
	font-weight: normal;
}
/*======================================================================================================
blockquote
======================================================================================================*/

blockquote {
	font-family: Georgia, serif;
	font-size: 1.1em;
	font-style: italic;
	margin: 0.25em 0;
	padding: 0.25em 40px;
	line-height: 1.45;
	position: relative;
}

blockquote:before {
	display: block;
	content: "\201C";
	font-size: 80px;
	position: absolute;
	left: -20px;
	top: -20px;
	color: #28365B;
}

blockquote cite {
	color: #28365B;
	font-size: 17px;
	display: block;
	margin-top: 5px;
}

blockquote cite:before {content: "\2014 \2009";}


/*======================================================================================================
noti_warning
======================================================================================================*/

.noti_warning{ 
	background:url(images/block_32.png) 10px center no-repeat #ffcccc; 
	border:1px solid #ff9999; 
	color:#be3a3a; 
	text-align:left; 
	padding:15px 52px; 
	margin-bottom:20px;
}
.noti_note{ 
	background:url(images/warning_32.png) 10px center no-repeat #ffeba9; 
	border:1px solid #eec63f; 
	color:#9a802a; 
	text-align:left; 
	padding:15px 52px; 
	margin-bottom:20px;
}
.noti_info{ 
	background:url(images/address_32.png) 10px center no-repeat #b7e5ff; 
	border:1px solid #5495c7; 
	color:#3580ab; 
	text-align:left; 
	padding:15px 52px; 
	margin-bottom:20px;
}
.noti_success{ 
	background:url(images/tick_32.png) 10px center no-repeat #c4f1a3; 
	border:1px solid #90c249; 
	color:#4e7c2d; 
	text-align:left; 
	padding:15px 52px; 
	margin-bottom:20px;
}
/*======================================================================================================
pre für html und css code
======================================================================================================*/
pre {
    background-image: url("images/code.png");
    border: 1px solid #C7C7C7;
    color: #333333;
    display: block;
    font-size: 15px;
    font-style: inherit;
    font-weight: inherit;
    line-height: 19px;
    margin: 0;
    outline: 0 none;
    overflow-x: visible;
    overflow-y: hidden;
    padding: 0 30px;
    vertical-align: baseline;
}
/* Bilder-Layouts */
.imgl { float: left; margin: 0 20px 15px 0; }
.imgr { float: right; margin: 0 0 15px 20px; }

.picfull { width: 100%; height: auto; margin-bottom: 15px; }

/* Responsive Korrekturen beibehalten, aber Abstände optimiert */
@media (max-width: 600px) {
    h1 { font-size: 1.8em; }
    .pic2left, .pic2right { max-width: 100%; margin: 5px 0; }
    .pic3left, .pic3right, .pic4left, .pic4right { max-width: 48%; }
}
/*======================================================================================================
kontakt-box
======================================================================================================*/

.kontakt-box {
        display: flex;
        align-items: flex-start;
        gap: 30px;
        background: #ffffff;
        padding: 30px;
        border-left: 6px solid #7BA0B7; /* Dein Petrol-Balken */
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.05);
        margin: 20px 0;
        font-family: 'Poppins', sans-serif;
    }

    .kontakt-image-wrapper {
        flex: 0 0 180px;
    }

    .kontakt-image-wrapper img {
        width: 180px;
        height: 180px;
        object-fit: cover;
        border-radius: 50%; /* Rundes Bild wirkt freundlicher */
        border: 3px solid #7BA0B7;
    }

    .kontakt-info {
        flex: 1;
    }

    .kontakt-info h3 {
        margin-top: 0;
        color: #486272;
        font-size: 1.6em;
        margin-bottom: 15px;
    }

    .info-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Zwei Spalten für füllenden Look */
        gap: 20px;
    }

    .info-item {
        margin-bottom: 10px;
    }

    .info-item strong {
        display: block;
        color: #7BA0B7;
        text-transform: uppercase;
        font-size: 0.85em;
        letter-spacing: 0.5px;
        margin-bottom: 3px;
    }

    .info-item p {
        margin: 0;
        color: #37474F;
        line-height: 1.5;
    }

    .info-item a {
        color: #7BA0B7;
        text-decoration: none;
        font-weight: 600;
    }

    /* Handy-Optimierung */
    @media (max-width: 768px) {
        .kontakt-box {
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 20px;
        }

        .kontakt-image-wrapper {
            margin-bottom: 10px;
        }

        .info-grid {
            grid-template-columns: 1fr; /* Auf Handy alles untereinander */
            gap: 15px;
        }
        
        .kontakt-box {
            border-left: none;
            border-top: 6px solid #7BA0B7;
        }
    }
	
	
	
/*======================================================================================================
Service-Grid System 
======================================================================================================*/

/* Container für das Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

/* Die einzelnen Boxen */
.service-box {
    padding: 30px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Gleiche Höhe für alle Boxen in einer Reihe */
    border: 1px solid rgba(0,0,0,0.05);
}

/* Hover-Effekt für Interaktivität */
.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Farbvarianten der Boxen */
.box-petrol { background-color: #CFD8DD; border-top: 5px solid #486272; }
.box-light { background-color: #F5F5F5; border-top: 5px solid #486272; }
.box-accent { background-color: #E8F5E9; border-top: 5px solid #486272; }
.box-soft { background-color: #A5BBC6; border-top: 5px solid #486272; }

/* Typografie innerhalb der Boxen */
.service-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3em;
    color: #486272;
}

.service-box p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1; /* Schiebt den Button nach unten */
}

/* Button-Stil innerhalb der Boxen */
.box-link {
    display: inline-block;
    color: #7BA0B7 !important; /* Wichtig wegen deiner allgemeinen Link-Farbe */
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #7BA0B7;
    padding-bottom: 2px;
}

.box-link:hover {
    text-decoration: none;
    opacity: 0.8;
}

/* Mobile Optimierung */
@media (max-width: 480px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}





/* Ergänzung für Grid mit Bildern */
.box-image-wrapper {
    margin: -30px -30px 20px -30px; /* Hebt das Padding der Box auf, damit das Bild oben bündig ist */
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    height: 200px;
}

.box-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Bild wird passend zugeschnitten ohne zu zerren */
    transition: transform 0.5s ease;
}

.service-box:hover .box-image-wrapper img {
    transform: scale(1.1); /* Sanfter Zoom-Effekt beim Hover */
}

/* Variante: Rundes Bild (z.B. für Team/Kontakt) */
.box-image-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #7BA0B7;
}

.box-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/*======================================================================================================
Zusätzliche Darstellungs-Ideen
======================================================================================================*/

/* 1. Vorteil-Liste (Check-Box-Stil) */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    background: #fdfdfd;
    border: 1px solid #7BA0B7;
    padding: 20px;
    border-radius: 50px; /* Abgerundeter Pill-Look */
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: #7BA0B7;
    border-color: #7BA0B7;
}

.benefit-icon {
    flex: 0 0 40px;
    height: 40px;
    background: #7BA0B7;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
}

/* 2. Info-Kacheln (Minimalistisch) */
.info-tile-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.info-tile {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 25px;
    background: #486272; /* Dunkles Petrol für Kontrast */
    color: white;
    border-radius: 8px;
}

.info-tile span {
    display: block;
    font-size: 2em;
    font-weight: bold;
    color: #80CBC4; /* Hellere Akzentfarbe */
}

.info-tile label {
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Prozess-Schritte */
.step-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 40px 0;
    counter-reset: step-counter;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 20px;
    background: #fdfdfd;
    border-radius: 8px;
    border-bottom: 4px solid #7BA0B7;
}

.step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    display: block;
    width: 40px;
    height: 40px;
    background: #7BA0B7;
    color: white;
    border-radius: 50%;
    line-height: 40px;
    margin: 0 auto 15px auto;
    font-weight: bold;
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .step-container { flex-direction: column; }
}


/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #7BA0B7;
    position: relative;
}

.testimonial-card::before {
    content: "\201C"; /* Riesige Anführungszeichen */
    font-family: serif;
    font-size: 80px;
    color: #7BA0B7;
    opacity: 0.1;
    position: absolute;
    top: 10px;
    left: 10px;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: #486272;
}

.stars { color: #FBC02D; margin-bottom: 10px; }



/* Fakten-Leiste */
.fact-bar {
    display: flex;
    justify-content: space-around;
    background: #486272;
    color: white;
    padding: 40px 20px;
    border-radius: 12px;
    margin: 40px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.fact-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.fact-number {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    color: #80CBC4;
    margin-bottom: 5px;
}

.fact-label {
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
}



/* Split Layout */
.split-container {
    display: flex;
    align-items: center;
    margin: 60px 0;
    gap: 40px;
    background: #fdfdfd;
    border-radius: 20px;
    overflow: hidden;
}

.split-container.reverse { flex-direction: row-reverse; }

.split-image { flex: 1; min-height: 300px; }
.split-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.split-content { flex: 1; padding: 40px; }

@media (max-width: 768px) {
    .split-container, .split-container.reverse { flex-direction: column; }
    .split-content { padding: 20px; }
}


/* Interaktive Info-Boxen */
.info-details {
    background: #fff;
    border: 1px solid #7BA0B7;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.info-details summary {
    padding: 20px;
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    color: #486272;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-details summary::after {
    content: '+';
    font-size: 1.5em;
    color: #7BA0B7;
}

.info-details[open] {
    border-color: #7BA0B7;
    box-shadow: 0 5px 15px rgba(0,121,107,0.1);
}

.info-details[open] summary::after {
    content: '−';
}

.info-content {
    padding: 0 20px 20px 20px;
    border-top: 1px solid #7BA0B7;
    padding-top: 15px;
}

.footer-image-section {
    position: relative;
    width: 100%;
    height: 500px;
    /* Der negative Margin zieht das Bild unter den Text */
    margin-top: -120px; 
    /* z-index -1 schiebt es hinter den Content */
    z-index: -1;
    
    /* Kombiniertes Hintergrundbild mit Verlauf oben für einen weichen Übergang */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 30%), 
                url('images/bg-natur.png');
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Optimierung für Mobilgeräte (Smartphones) */
@media (max-width: 768px) {
    .footer-image-section {
        height: 300px;      /* Bild auf dem Handy etwas niedriger machen */
        margin-top: -50px;  /* Weniger Überlappung, damit es nicht zu gedrängt wirkt */
        
        /* Den Verlauf etwas anpassen, damit er schneller transparent wird */
        background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 50%), 
                    url('images/bg-natur.png');
        background-size: cover;
    }
}