@font-face {
    font-family: 'Futura';
    src: url('futura.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.container-autor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1150px;
    margin: 20px auto;
    padding: 0 15px;
    margin-left: 50px;
    margin-top: 50px;
    }

.author-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.profile-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.author-name {
    font-family: 'Futura', sans-serif;
    font-size: 1.1em;
    color: #333333;
    transition: color 0.3s ease;
}

.publish-date {
    font-family: 'Futura', sans-serif;
    color: #666;
    font-size: 0.9em;
}

/* Hover-Effekte */
.author-link:hover .profile-image {
    transform: scale(1.1);
}

.author-link:hover .author-name {
    color: #E11A27;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container-autor {
        padding: 0 10px;
        gap: 8px;
        margin-left: 5px;
        margin-right: 5px;
    }
    
    .author-link {
        gap: 10px;
    }

    .profile-image {
        width: 40px;
        height: 40px;
    }

    .author-name {
        font-size: 0.9em;
    }

    .publish-date {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .container {
        flex-wrap: wrap;
    }
    
    .publish-date {
        margin-left: 55px;
    }
}

/* Basis-Styling */
/* Basis-Styling */

.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.quelle {
    font-family: sans-serif;
    font-size: 15px;
    text-align: left;
    color: #666;
    font-weight: 500;
    margin-left: 250px;
}


.bild-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 500px; /* Feste Höhe für alle Bilder */
    width: auto; /* Breite passt sich dem Bild an */
    max-width: 80%; /* Maximale Breite verhindert zu große Bilder */
    min-width: 800px; /* Optionale Mindestbreite */
    border-radius: 15px;
    overflow: hidden;
    box-sizing: border-box;
}

.bild-wrapper img {
    width: 100%; /* Füllt die Breite des Wrappers */
    height: 100%; /* Füllt die Höhe des Wrappers */
    display: block;
    object-fit: cover; /* Bild wird zugeschnitten, um Verzerrung zu vermeiden */
}

.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
}



/* Responsive Anpassungen */
@media (max-width: 768px) {
    .bild-wrapper {
        width: 20%;
        border-radius: 10px;
        max-height: 280px;
        max-width: 80%;
        min-width: 450px;
        margin-top: -100px;
    }
}


@media (min-width: 1600px) {
    .bild-wrapper {
        max-width: 1200px;
    }
}

/* Optional: Bildschirm-Reader-Optimierung */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.hauptüberschrift {
    font-family: sans-serif;
    font-size: 50px;
    text-align: center;
    color: #333333;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 45px;
}

@media (max-width: 768px) {
    .hauptüberschrift{
        font-size: 35px;
        margin-top: 45px;
    }
}

.artikel-texte {
    font-family: sans-serif;
    font-size: 22px;
    text-align: left;
    color: #333333;
    font-weight: 500;
    margin-left: 35px;
    margin-bottom: 45px;
    margin-right: 20px;
}

@media (max-width: 768px) {
    .artikel-texte {
        font-size: 20px;
        text-align: center;
    }
}


@media (max-width: 768px) {
    .quelle {
        margin-left: 15px;
        font-size: 12px;
        margin-top: -220px;
    }
}

@media (max-width: 390px) {
    .bild-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 400px; /* Feste Höhe für das Bild */
    width: auto;
    max-width: 80%;
    min-width: 350px;
    max-width: 400px;
    border-radius: 15px; /* Abrundungen bleiben erhalten */
    box-sizing: border-box;
}

.bild-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 15px; /* Optional: Abrundungen auch auf das Bild anwenden */
}

.quelle {
    position: absolute;
    bottom: -20px; /* Fester Abstand unterhalb des Bildes */
    left: 0;
    right: 0;
    text-align: center;
    margin: 0;
    font-family: sans-serif;
    font-size: 15px;
    color: #666;
    font-weight: 500;
    margin-top: 500px;
}
.container {
    margin-top: -100px;
    margin-bottom: -300px;
    }
}

@media only screen
  and (orientation: landscape)
  and (min-width: 1024px)
  and (max-width: 1366px)
  and (pointer: coarse) {
    .quelle {
        margin-top: -190px;  /* Quelle näher an das Bild heranrücken */
        margin-bottom: 25px;
        margin-left: 340px; /* Reduzierter Abstand nach unten */
    }

    .bild-wrapper {
        margin-bottom: -10px; /* Mehr Platz unter dem Bild für die Quelle */
        margin-top: 20px;  /* Geringere Verschiebung nach oben */
        height: 650px;
        width: 1000px;
    }

    .artikel-texte {
        margin-bottom: 15px; /* Engerer Abstand zum nächsten Element */
    }

    .container {
        position: relative;
        width: 100%;
        min-height: 100vh;
        margin-top: -80px;
        margin-bottom: -60px;
    }
}

@media only screen
  and (orientation: portrait)
  and (min-width: 768px)
  and (max-width: 1024px)
  and (pointer: coarse) {
    .quelle {
        margin-top: -270px;  /* Quelle näher an das Bild heranrücken */
        margin-bottom: 25px;
        margin-left: 150px; /* Reduzierter Abstand nach unten */
    }

    .bild-wrapper {
        margin-bottom: -10px; /* Mehr Platz unter dem Bild für die Quelle */
        margin-top: 20px;  /* Geringere Verschiebung nach oben */
        height: 550px;
        max-width: 930px;
        width: 800px;
    }

    .artikel-texte {
        margin-bottom: 15px; /* Engerer Abstand zum nächsten Element */
    }

    .container {
        position: relative;
        width: 100%;
        min-height: 100vh;
        margin-top: -300px;
        margin-bottom: -300px;
    }
}

.zwischenüberschrift {
    font-family: sans-serif;
    font-size: 30px;
    text-align: center;
    color: #333333;
    font-weight: 600;
    margin-top: 80px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .zwischenüberschrift{
        font-size: 24px;
        margin-top: 50px;
    }
}



* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.vorschau-container {
    max-width: 1500px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: Arial, sans-serif;
    position: relative;
    margin-top: 200px;
}

.vorschau-article {
    background: #f8f8f8;
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.vorschau-article:hover {
    transform: translateY(-3px);
}

.vorschau-bild {
    flex: 0 0 40%;
    border-radius: 15px;
    overflow: hidden;
    margin-left: 10px;
}

.vorschau-bild img {
    width: 100%;
    height: auto;
    display: block;
}

.vorschau-text {
    flex: 1;
    padding: 0 1rem;
    margin-top: 20px;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: #666;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: opacity 0.2s ease;
    outline: none;
}

.nav-button:hover {
    opacity: 0.8;
}

.nav-button.prev {
    left: 1rem;
}

.nav-button.next {
    right: 1rem;
}

.indikatoren {
    text-align: center;
    margin-top: 1rem;
}

.indikator {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.indikator.aktiv {
    background: #666;
}

@media (max-width: 768px) {
    .nav-button {
        display: none;
    }

    .vorschau-article {
        flex-direction: column;
    }

    .vorschau-bild {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .vorschau-text {
        padding: 1rem 0 0 0;
    }
}

.vorschau-bild,
.vorschau-text {
    pointer-events: none;
}

.nav-button,
.indikator {
    pointer-events: auto;
}




.autor-kontakt {
    font-family: sans-serif;
    font-size: 10px;
    text-align: center;
    color: #666;
    font-weight: 400;
    margin-top: 50px;
    margin-bottom: 100px;
}

@media (max-width: 768px) {
    .autor-kontakt {
        font-size: 8px;
    }
}


.more {
    font-family: sans-serif;
    font-size: 35px;
    text-align: left;
    color: #333333;
    font-weight: 600;
    margin-top: 200px;
    margin-bottom: -165px;
    margin-left: 20px;
}

@media (max-width: 768px) {
    .more {
        font-size: 30px;
    }
}





/* NEU HINZUGEFÜGT FÜR BILD ZWISCHEN FAQ UND FOOTER */
.image-between-sections {
    text-align: center;
    margin-top: 200px;
    position: relative;
    z-index: 2;
    margin-bottom: -50px;
  }
  
  .tiny-image-between {
    width: 35px;
    height: auto;
    display: inline-block;
    margin: 20px 0;
  }
  
  /* MEDIA QUERY ANPASSUNG */
  @media (max-width: 768px) {
    .image-between-sections {
        margin-top: 200px;
    }
    
    .tiny-image-between {
        width: 25px;
    }
  }


/* ========== BASISSTYLES ========== */
.tabelle-container {
    margin: 2rem auto;
    max-width: 1200px;
    font-family: sans-serif;
    margin-top: 50px;
    margin-bottom: 20px;
}

/* ========== TABELLENSTRUKTUR ========== */
.pro-contra-tabelle {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.tabellen-header {
    width: 50%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    background: #f9f9f9;
    text-align: center;
}

.tabellen-spalte {
    width: 50%;
    padding: 1rem;
    vertical-align: top;
    border-top: 1px solid #ecf0f1;
    align-items: center;
}

/* ========== LISTEN & ICONS ========== */
.punktliste {
    list-style: none;
    padding: 0;
    margin: 0;
}

.punktliste li {
    position: relative;
    margin-bottom: 0.8rem;
    padding-left: 1.8rem;
    line-height: 1.4;
    color: #34495e;
}

/* Icon Basisstyles */
.gruener-haken::before,
.rotes-kreuz::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-size: contain;
    background-repeat: no-repeat;
}

/* Grünes Häkchen (14x14px) */
.gruener-haken::before {
    width: 14px;
    height: 14px;
    background-image: url('/img uhren zu vermeiden/grüner haken.png');
}

/* Rotes Kreuz (14x14px) */
.rotes-kreuz::before {
    width: 14px;
    height: 14px;
    background-image: url('/img uhren zu vermeiden/rotes kreuz.webp');
}

/* ========== ALTERNATIVE CSS-ICONS ========== */
/* Für den Fall, dass keine Bilder verwendet werden sollen */
.gruener-haken-css::before {
    content: "";
    width: 12px;
    height: 7px;
    border: 2px solid #27ae60;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg) translateY(-65%);
    left: 2px;
}

.rotes-kreuz-css::before {
    content: "+";
    color: #e74c3c;
    transform: rotate(45deg) translateY(-50%);
    font-size: 16px;
    font-weight: 700;
    left: 1px;
}

@media (max-width: 768px) {
    .tabelle-container {
        margin-left: 15px;
        margin-right: 15px;
    }
}







@media (max-width: 768px) {
  .container-autor {
    padding: 0 10px;
    gap: 8px;
    margin: 50px 5px 0;
  }
  
  .author-link {
    gap: 10px;
  }

  .profile-image {
    width: 40px;
    height: 40px;
  }

  .author-name {
    font-size: 0.9em;
  }

  .publish-date {
    font-size: 0.8em;
  }

  .hauptüberschrift {
    font-size: 35px;
    margin: 45px 0;
  }

  .artikel-texte {
    font-size: 20px;
    text-align: center;
    margin: 0 15px 45px;
  }

  .quelle {
    margin: -220px 0 0 15px;
    font-size: 12px;
  }

  .zwischenüberschrift {
    font-size: 24px;
    margin: 50px 15px 30px;
  }

  .vorschau-container {
    margin-top: 150px;
  }

  .vorschau-article {
    padding: 1rem;
  }

  .vorschau-bild {
    max-width: 100%;
    margin: 0;
  }

  .autor-kontakt {
    font-size: 8px;
  }

  .more {
    font-size: 30px;
    margin: 150px 0 -100px 15px;
  }

  .tabelle-container {
    margin: 50px 15px 20px;
  }
}

@media (min-width: 1600px) {
    .container-autor {
        margin-left: 600px;
        min-width: 1300px;
    }

    .artikel-texte {
        margin-left: 660px;
        margin-right: 650px;
    }

    .bild-wrapper {
        margin-bottom: -10px; /* Mehr Platz unter dem Bild für die Quelle */
        margin-top: 20px;  /* Geringere Verschiebung nach oben */
        height: 600px;
        width: 1200px;
    }

    .artikel-texte {
        margin-bottom: 15px; /* Engerer Abstand zum nächsten Element */
    }

    .container {
        position: relative;
        width: 100%;
        min-height: 100vh;
        margin-top: -300px;
        margin-bottom: -300px;
    }

    .more {
        margin-left: 550px;
    }
}

