* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Moderner Font-Stack: Hochpräzise und extrem gut lesbar */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #2c3e50 0%, #00334e 50%, #001f3f 100%);
    padding: 40px 20px;
    min-height: 100vh;
    overflow-x: hidden;
    background-attachment: fixed;
    /* Glättet die Schrift für High-Res Monitore */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* ================= WRAPPER FÜR BLOCK + EXTRA BILD ================= */

.block-wrapper {
    position: relative;
    margin-bottom: 40px;
}

.block-wrapper:first-child {
    margin-top: -100px; /* Bleibt wie angefordert */
}

.block-wrapper:first-child .block {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.block-wrapper:last-child .block {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.block-wrapper:last-child {
    margin-bottom: -100px;
}

/* ================= BLOCK ================= */

.block {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 60px;
    width: 1200px; /* Beibehalten wie gewünscht */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 10;
}

.block-content {
    position: relative;
    z-index: 20;
}

.block::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 5;
}

.block-wrapper:hover .block::before {
    opacity: 0.15; /* Etwas dezenter für bessere Lesbarkeit */
}

.block-wrapper:hover .block {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* ================= EXTRA BILD ================= */

.extra-image {
    position: absolute;
    top: 50%;
    width: 300px;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transform: translate(0, -50%);
    transition: transform 0.6s ease;
    z-index: 1;
}

/* ================= POSITIONEN ================= */

.block-wrapper:nth-child(1) .block {
    margin-left: auto;
    margin-right: auto;
}

.block-wrapper:nth-child(2) .block {
    margin-left: auto;
    margin-right: -280px;
}

.block-wrapper:nth-child(3) .block {
    margin-left: -280px;
    margin-right: auto;
}

.block-wrapper:nth-child(4) .block {
    margin-left: auto;
    margin-right: -280px;
}

.block-wrapper:nth-child(5) .block {
    margin-left: auto;
    margin-right: auto;
}

/* ================= EXTRA BILD POSITIONEN & HOVER ================= */

.block-wrapper-2 .extra-image {
    left: 500px;
     background-image: url('../images/block2.png'); /* Dein neues Bild für Block 2 */
}

.block-wrapper-2:hover .extra-image {
    transform: translate(-300px, -50%);
}

.block-wrapper-3 .extra-image {
    right: 500px;
    background-image: url('../images/block3.png'); /* Dein neues Bild für Block 3 */
}

.block-wrapper-3:hover .extra-image {
    transform: translate(300px, -50%);
}

.block-wrapper-4 .extra-image {
    left: 500px;
    background-image: url('../images/block4.png'); /* Dein neues Bild für Block 3 */
}

.block-wrapper-4:hover .extra-image {
    transform: translate(-300px, -50%);
}

/* ================= TYPOGRAFIE ================= */

h1 {
    text-align: center;
    color: #00334e;
    margin-bottom: 25px;
    font-size: 34px;
    font-weight: 800; /* Extra Fett für maximale Autorität */
    letter-spacing: -0.02em; /* Wirkt moderner */
    line-height: 1.2;
}

h2 {
    text-align: center;
    color: #00334e;
    margin-bottom: 20px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.main-text {
    color: #1a1a1a;
    line-height: 1.7; /* Mehr Raum für entspanntes Lesen */
    margin-bottom: 24px;
    text-align: left; /* Blocksatz (justify) wirkt oft unruhig, linksbündig ist 2026 Standard */
    font-size: 17px;
}

ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

li {
    color: #334155;
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 16px;
}

li strong {
    color: #00334e; /* Hebt die Keywords dezent hervor */
    font-weight: 600;
}

.footer-text {
    font-style: italic;
    font-size: 15px;
    color: #64748b;
    line-height: 1.5;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

/* ================= MOBILE ================= */

@media (max-width: 1400px) {
    .block {
        width: 90%;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .extra-image {
        display: none;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 24px; }
    h2 { font-size: 22px; }
    .block {
        padding: 30px;
    }
}

/* ================= STICKY CONTAINER ================= */
.sticky-contact-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    width: 260px; /* Feste Breite der Box */
}

/* ================= DAS RUNDE BILD ================= */
.profile-image-wrapper {
    position: absolute;
    top: -50px; /* Etwas höher für bessere Optik */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    /* Verhindert, dass der Wrapper sich verzieht */
    width: 100px;
    height: 100px;
}

.profile-image {
    width: 100px;
    height: 100px;
    /* Der wichtigste Teil für die Kreisform: */
    border-radius: 50%; 
    aspect-ratio: 1 / 1; 
    object-fit: cover; 
    
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    background-color: #fff;
    display: block;
}

/* ================= DIE BOX DARUNTER ================= */
.sticky-contact-box {
    background: white;
    padding: 60px 20px 20px 20px; /* Platz für das 100px Bild oben */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    border: 1px solid #eee;
    text-align: center;
}

.sticky-title {
    font-weight: bold;
    color: #667eea;
    margin-bottom: 12px;
    font-size: 16px;
    text-transform: uppercase;
}

.btn-sticky-main {
    display: block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    margin-bottom: 8px;
    transition: opacity 0.3s;
}

.btn-sticky-main:hover {
    opacity: 0.9;
}

.sticky-hint {
    font-size: 10px;
    color: #999;
    margin-bottom: 12px;
}

.sticky-footer-links {
    font-size: 11px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.sticky-footer-links a { color: #777; text-decoration: none; }

/* Mobil-Optimierung */
@media (max-width: 768px) {
    .sticky-contact-container {
        width: 180px;
    }
    .profile-image, .profile-image-wrapper {
        width: 70px;
        height: 70px;
    }
    .profile-image-wrapper { top: -35px; }
    .sticky-contact-box { padding-top: 45px; }
}
