.image-container {
    width: 100%;
    height: 100%; /* Bildcontainer soll die gesamte Höhe ausfüllen */
    position: relative;
}

.image-container img {
	margin: 0;
    padding: 0;
    width: 100%; /* Bild passt sich dynamisch an */
    height: 100%; /* Bild nimmt die komplette Höhe des Containers ein */
    object-fit: cover; /* Bild wird skaliert, um den gesamten Container zu füllen, ohne Verzerrung */
    display: block; /* Verhindert einen möglichen Rand, indem der Standardinline-Verhalten entfernt wird */
}

.body-text {
    margin-left: 50px;  /* Abstand von 200px links */
    margin-top: 75px;   /* Abstand von 200px oben */
    font-family: Arial, sans-serif; /* Schrifttyp */
    line-height: 1.6; /* Zeilenhöhe für bessere Lesbarkeit */
    color: #666666; /* Textfarbe */
}

/* Logo oben rechts */
.logo {
    position: absolute;
    top: 75px;  /* Abstand 75px vom oberen Rand */
    right: 75px; /* Abstand 75px vom rechten Rand */
    max-width: 150px; /* Maximale Breite des Logos, kann angepasst werden */
}

.textbox {
    position: absolute;
    bottom: 50px; /* 2 cm = 75px */
    left: 50px;   /* 2 cm = 75px */
    width: 420px; /* 11 cm = 415px */
    height: 240px; /* 8 cm = 302px */
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    box-sizing: border-box;
    border-radius: 4px; /* Abgerundete Ecken für die Textbox */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

h1 {
	margin-left: 10px;
    font-size: 2em;
    font-weight: 600;
    color: #6699cc;
}
h2 {
    font-size: 1.7em;
    font-weight: 500;
    margin-top: 0px;
    margin-left: 10px;
    color: #6699cc;
}

h3 {
    margin-left: 10px;
    margin-top: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    font-weight: normal; /* Schriftgewicht auf normal setzen */
    line-height: 1.6;
    color: #6699cc;
    height: 100%; /* Vollständige Höhe */
    width: 100%;  /* Vollständige Breite */
}

body, html {
	overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #666666;
    height: 100%; /* Vollständige Höhe */
    width: 100%;  /* Vollständige Breite */
}

p {
    margin-left: 10px;
    margin-top: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #666666;
    /* height: 100%;  // Vollständige Höhe */
    /* width: 100%;  //  Vollständige Breite */
}

calendly-box-p {
    margin-left: 10px;
    margin-top: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #666666;
    height: 100%;
    width: 100%;
}

a {
    text-decoration: none;
    color: #6699cc;
    transition: color 0.3s ease; /* Weicher Übergang bei Hover */
}

a:hover {
    text-decoration: underline;
    color: #666666;
}
        
.calendly-btn-box {
	position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #6699cc;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 3px; /* Abgerundete Ecken für den Button */	
}
.calendly-btn-box:hover {
	background-color: transparent; /* Durchsichtiger Hintergrund */
    color: #6699cc; /* Schriftfarbe im gleichen Blau */
    border: 2px solid #6699cc; /* Rand im gleichen Blau */
}

.calendly-btn {
    background-color: #6699cc;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 3px; /* Abgerundete Ecken für den Button */
}

.calendly-btn:hover {
	background-color: transparent; /* Durchsichtiger Hintergrund */
    color: #6699cc; /* Schriftfarbe im gleichen Blau */
    border: 2px solid #6699cc; /* Rand im gleichen Blau */
}

table {
    margin-left: 50px; /* Gleiche Einrückung wie der Fließtext */
    border-collapse: collapse; /* Entfernt Zwischenräume zwischen Zellen */
    width: auto; /* Automatische Anpassung der Tabellenbreite */
}
table td {
    padding: 0; /* Keine zusätzlichen Abstände */
    text-align: left; /* Text links ausrichten */
    font-family: Arial, sans-serif; /* Gleiche Schriftart wie der Fließtext */
    font-size: 1em; /* Gleiche Schriftgröße wie der Fließtext */
    line-height: 1.6; /* Gleiche Zeilenhöhe */
}

footer {
    background-color: #6699cc; /* Blau für den Balken */
    color: white; /* Weißer Text */
    padding: 10px 20px; Etwas Abstand für den Text */
    text-align: right; /* Rechtsbündiger Text */
    font-size: 0.9em; /* Etwas kleinere Schrift */
    width: 100%; /* Breite des Footers */
}
footer .footer-text {
	text-align: right; /* Rechtsbündiger Text */
	padding: 10px 40px 10px 0;
}

.back-button {
    position: fixed;
    top: 10px; /* Abstand vom oberen Rand */
    right: 10px; /* Abstand vom rechten Rand */
    background-color: #6699cc; /* Button-Hintergrund */
    color: white; /* Button-Textfarbe */
    padding: 10px 20px; /* Innenabstand */
    border: none; /* Kein Rahmen */
    border-radius: 5px; /* Abgerundete Ecken */
    font-size: 14px; /* Schriftgröße */
    cursor: pointer; /* Zeigeränderung bei Hover */
    text-decoration: none; /* Entfernt den Unterstrich */
}

.back-button:hover {
    background-color: white; /* Hintergrundfarbe beim Hover */
    color: #6699cc; /* Textfarbe beim Hover */
    border: 2px solid #6699cc; /* Rahmen beim Hover */
}


@media screen and (max-width: 768px) {
    .image-container {
	    width: 100%;
	    height: 100%;
	    overflow: hidden;  /* Verhindert das Herauslaufen des Bildes */
	    position: relative;
    }

    .image-container img {
        width: 100%; /* Bild soll die volle Breite des Containers einnehmen */
        height: auto; /* Höhe des Bildes wird automatisch angepasst */
        object-fit: contain; /* Das Bild wird nicht mehr beschnitten, es passt in den Container */
    }
    
    /*.textbox {
        position: static;
        margin-top: 20px;
        width: 100%;
    }*/
    
    .textbox {
        margin-left: 50px;
        position: relative;   /* Textbox wird nicht mehr absolut positioniert */
        bottom: 0;            /* Kein Abstand mehr vom unteren Rand */
        left: 0;              /* Kein Abstand mehr vom linken Rand */
        width: 300px;          /* Textbox wird 100% der Breite des Containers einnehmen */
        height: 240px;         /* Höhe wird automatisch angepasst */
        margin-top: 30px;     /* Abstand zum Bild */
        background-color:      rgba(230, 230, 230, 0.7);  /* Grauer Hintergrund */
        border-radius: 3px;   /* Abgerundete Ecken */
    }
    
    .textbox h2 {
        text-align: left;
        margin-left: 2px;
        font-size: 1.2em; /* Kleinere Schriftgröße auf mobilen Geräten */
    }

    .textbox p {
        text-align: left;
        margin-left: 2px;
        font-size: 1em; /* Kleinere Schriftgröße für den Text */
    }
    
    .calendly-btn-box {
	    position: absolute;
	    bottom: 10px;
	    right: 10px;
	    background-color: #6699cc;
	    color: white;
	    padding: 10px 20px;
	    border: none;
	    cursor: pointer;
	    border-radius: 3px; /* Abgerundete Ecken für den Button */	
	    font-size: 16px; /* Schriftgröße des Buttons */
	    margin-left: 20px; /* Abstand von 20px zur Textbox auf der linken Seite */
	}
	
	.calendly-btn {
	    background-color: #6699cc;
	    color: white;
	    padding: 10px 20px;
	    border: none;
	    cursor: pointer;
	    border-radius: 3px; /* Abgerundete Ecken für den Button */
	    font-size: 16px; /* Schriftgröße des Buttons */
	}
	
	table {
        margin-left: 2px; /* Kein zusätzlicher Abstand auf mobilen Geräten */
        width: 100%; /* Maximale Breite für kleinere Bildschirme */
    }
    
    table td {
	    padding: 0; /* Keine zusätzlichen Abstände */
	    text-align: left; /* Text links ausrichten */
	    font-family: Arial, sans-serif; /* Gleiche Schriftart wie der Fließtext */
	    font-size: 1em; /* Gleiche Schriftgröße wie der Fließtext */
	    line-height: 1.6; /* Gleiche Zeilenhöhe */
	    width: 50%;
	}
	
	.body-text, p {
	    margin: 20px;
        //padding: 0;
        margin-left: 2px; /* Entfernt den linken Rand */
    }
    
	h2 {
	    margin-top: 0px;
	    margin-left: 2px;
	    color: #6699cc;
	}
	
	h3 {
	    margin-top: 0px;
	    margin-left: 2px;
	    color: #6699cc;
	}
	    
}

