/* Grundlayout */
body {
    background-color: #1A4C7C;
    color: #FFFFFF;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
}
h1 {
    color: #FFA000;
}

/* Header */
.header {
    text-align: center;
    padding: 30px 0;
    color: #FFA000;
    font-size: 2rem;
}

/* Navigation (oben, responsive) */
.nav {
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-bottom: 2px solid #FFA000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: #FFA000;
    font-weight: bold;
}

.nav-toggle {
    font-size: 28px;
    cursor: pointer;
    color: #FFA000;
    display: none;
}

.nav-links {
    display: flex;
    justify-content: center;   /* Menü zentrieren */
    align-items: center;
    width: 100%;
}

.nav-links a {
    margin: 0 15px;
    color: #FFA000;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
}

/* Zwei Cover nebeneinander, zentriert und kleiner */
.hero-two-covers {
    width: 100%;
    display: flex;
    justify-content: center;   /* wirklich zentriert */
    align-items: center;
    gap: 80px;                 /* großer Abstand zwischen den Covern */
    margin-top: 60px;
    margin-bottom: 60px;
}

/* Cover kleiner darstellen */
.hero-img-two {
    width: 320px;              /* feste Breite = garantiert kleiner */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

/* Inhalt */
.content {
    width: 90%;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.card {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 5px solid #FFA000;
}

.card h2 {
    color: #FFA000;
}

.card p {
    line-height: 1.6;
}

/* Quiz-spezifisch */
.correct {
    border-left-color: #4CAF50;
}

.wrong {
    border-left-color: #FF5252;
}

.btn {
    background-color: #FFA000;
    color: #1A4C7C;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    display: block;
    margin: 30px auto;
    font-weight: bold;
}

.answer-option {
    display: block;
    margin: 8px 0;
    cursor: pointer;
}

.answer-option span {
    margin-left: 6px;
}

/* Footer */
.footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    border-top: 2px solid #FFA000;
}

.footer a {
    margin: 0 15px;
    color: #FFA000;
    text-decoration: none;
    font-weight: bold;
}

@media (max-width: 768px) {
    .hero-two-covers {
        flex-direction: column;
        align-items: center;   /* zentriert die Cover */
        justify-content: center;
        gap: 30px;             /* Abstand zwischen den Covern */
    }

    .hero-img-two {
        width: 240px;          /* etwas größer auf Handy */
    }
        .amazon-badge-cover {
        margin-top: 20px;
    }

    .amazon-badge-cover img {
        width: 140px;   /* etwas kleiner auf Handy */
        margin-left: 0;
    }
}

.cover-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;                 /* wichtig für sauberes Zoom */
    transition: transform 0.3s ease;
}

/* Zoom-Effekt */
.cover-wrapper:hover {
    transform: scale(1.25) translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.35);
}

/* Overlay-Text */
.cover-wrapper::after {
    content: "Taschenbuch ab 7. April '26 bei Amazon!";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    color: #FFA000;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    white-space: nowrap;
    z-index: 2;
}

/* Overlay sichtbar machen */
.cover-wrapper:hover::after {
    opacity: 1;
}

.progress-container {
    width: 100%;
    background: #eee;
    border-radius: 10px;
    margin: 20px 0;
    height: 18px;
}

.progress-bar {
    height: 100%;
    background: #4CAF50;
    width: 0%;
    border-radius: 10px;
    transition: width 0.3s ease;
}
.author-section.center {
    text-align: center;
}

.author-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.author-image img {
    width: 180px; /* deutlich kleiner */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.author-image img:hover {
    transform: scale(3);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.author-text {
    max-width: 700px;
}

.author-text h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.author-text p {
    line-height: 1.6;
    margin-bottom: 15px;
}
/* Publikationsseite */
.publications {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.pub-card {
    display: flex;
    gap: 25px;
    margin-bottom: 50px; /* großer Abstand zwischen Einträgen */
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd; /* dezente Trennung */
}

.pub-img {
    width: 120px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.pub-text h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.pub-text p {
    margin: 5px 0;
    line-height: 1.5;
}

.quiz-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.quiz-question {
    margin-bottom: 20px;
}

.quiz-question-title {
    margin-bottom: 10px;
}

.answer-option {
    display: block;
    margin: 4px 0;
    cursor: pointer;
}

.answer-option input {
    margin-right: 6px;
}

.quiz-summary {
    margin-bottom: 30px;
}

.quiz-progress-bar {
    width: 100%;
    height: 12px;
    border-radius: 6px;
    background: #eee;
    overflow: hidden;
    margin: 10px 0 15px;
}

.quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFA000, #f2c228);
}

.quiz-rating {
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
}

.quiz-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-secondary {
    background: #555;
    color: #fff;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 4px;
}

.btn-link {
    text-decoration: none;
    color: #FFA000;
}

.quiz-result.correct {
    border-left: 4px solid #3aa657;
}

.quiz-result.wrong {
    border-left: 4px solid #d9534f;
}
/* Quiz-Startseite – Linkfarben korrigieren */
.quiz-grid a,
.quiz-card {
    color: #222;                 /* dunkles Grau statt Blau */
    text-decoration: none;       /* keine Unterstreichung */
}

/* Quiz-Karten im gleichen Stil wie die Fragekarten */
.quiz-card {
    background: rgba(255,255,255,0.1);   /* exakt wie .card */
    border-left: 5px solid #FFA000;      /* orange Akzent links */
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    display: block;
    color: #FFA000;                      /* Titel in Orange */
    transition: all 0.15s ease;
}

/* Hover-Effekt */
.quiz-card:hover {
    background: rgba(255,255,255,0.18);  /* etwas heller beim Hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Titel in Orange */
.quiz-card h3 {
    margin-top: 10px;
    margin-bottom: 8px;
    color: #FFA000;
}

/* Beschreibungstext */
.quiz-card p {
    margin-bottom: 0;
    color: #FFFFFF;                      /* weiß wie deine .card Texte */
}

/* Badge zentriert */
.quiz-badge {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px auto;
}

/* Sekundär-Button (z. B. "Nochmal spielen") */
.btn-secondary {
    background: #FFA000;
    color: #1A4C7C;   /* dunkles Blau = perfekte Lesbarkeit */
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 4px;
    display: inline-block;
    font-weight: bold;
}


/* Link-Button */
.btn-link {
    color: #FFA000;
    text-decoration: none;
}

.quiz-actions .btn-link {
    background: rgba(255,255,255,0.1);   /* wie deine Karten */
    padding: 10px 16px;
    border-radius: 4px;
    color: #FFA000;                      /* orange Schrift */
    font-weight: bold;
    display: inline-block;
}

.quiz-actions .btn-link:hover {
    background: rgba(255,255,255,0.18);  /* Hover wie Karten */
}

.amazon-badge-cover {
    display: flex;
    align-items: center;   /* vertikal mittig zu den Covern */
}

.amazon-badge-cover img {
    width: 100px;          /* Größe anpassbar */
    height: auto;
    margin-left: 20px;     /* Abstand zu den Covern */
    transition: transform 0.3s ease;
}

.amazon-badge-cover img:hover {
    transform: scale(1.1); /* leichter Hover-Zoom */
}
