:root {
    --bg-color: #fafbfe;
    --text-color: #2b2b2b;
    --accent-color: rgb(1,79,105);
    --accent-medium: rgb(60,129,155);
    --accent-light: rgb(210,227,233);
    --secondary-text: #666666;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-padding-top: 80px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0,0,0,0.10);
    position: fixed;
/*    position: sticky;*/
    width: 100%;
    top: 0;
    z-index: 1000;
}


.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--accent-color);
    text-decoration: none;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 20px;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-color);
}

h2 {
    padding-top: 20px;
}

h3 {
    padding-top: 15px;
}

h4 {
    padding-top: 10px;
}

.hero {
    margin-top: 80px;
    padding: 80px 20px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.book-cover-placeholder {
    width: 280px;
    height: 340px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    box-shadow: 10px 15px 15px rgba(0,0,0,0.35);
    text-align: center;
    padding: 0px;
}

.hero-content {
    flex: 2;
    min-width: 300px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    line-height: 1.2;
    color: var(--accent-color);

}

.hero-content .subtitle {
    font-size: 1.3rem;
    color: var(--secondary-text);
    margin-bottom: 25px;
    font-style: italic;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(38, 38, 38, 0.6);
}

.cta-button:hover {
    background-color: var(--accent-medium); 
    transform: translateY(-2px);
}

/* Das Raster für die Thumbnails */
.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 20px; /* Abstand zwischen den Bildern */
    margin: 30px 0;
}

/* Die gesamte Karte (Bild + Text) */
.thumbnail-item {
    background-color: #ffffff; /* Weißer Hintergrund für den Textbereich */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee; /* Dezenter Rahmen */
}

/* Der Link-Bereich für das Bild */
.thumbnail-item a {
    display: block;
    overflow: hidden; /* Wichtig für den Bild-Zoom */
}

/* Das eigentliche Bild */
.thumbnail-item img {
    width: 100%;
    height: 280px; /* Feste Höhe für einheitliche Cover-Größen */
/*    object-fit: cover;*/
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

/* Der Titel unter dem Bild */
.thumbnail-title {
    padding: 10px;
    font-size: 1rem;
/*    font-weight: bold;*/
    background-color: var(--accent-medium);
    color: white; /*#2b2b2b; /* Passt zu deinem dunklen Text */
    text-align: center;
}

/* Hover-Effekte: Die ganze Karte hebt sich an, nur das Bild zoomt */
.thumbnail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.thumbnail-item:hover img {
/*    transform: scale(1.05);*/
}
/* Sektionen */
section {
    padding: 20px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

p {
    margin-top: 15px;
}

ul {
    padding-left: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
/*    color: var(--text-color);*/
/*    border-left: 8px solid var(--accent-medium);*/
/*    padding-left: 15px;*/
        color: var(--accent-color);

}

.bg-light {
    background-color: var(--accent-light);
    max-width: 100%;
    width: 100%;
    padding: 20px 0px;
}

.bg-light-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 20px;
}

/* Leseprobe Textbox */
.preview-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    font-family: Georgia, serif;
    font-size: 1.1rem;
    line-height: 1.8;
    max-height: 350px;
    overflow-y: auto;
    border: 1px solid #eee;
}

/* Autor Bereich */
.author-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.author-avatar {
    width: 180px;
    height: 180px;
    background-color: #ddd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
}

.author-text {
    flex: 1;
    min-width: 300px;
}

/* Rezensionen */
.testimonials {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.review-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    flex: 1;
    min-width: 280px;
    border-top: 3px solid var(--accent-color);
}

.review-text {
    font-style: italic;
    margin-bottom: 15px;
}

.review-author {
    font-weight: bold;
    font-size: 0.9rem;
    color: var(--secondary-text);
}

.circle-image {
    width: 200px;          /* Breite des Kreises */
    height: 200px;         /* Höhe des Kreises (MUSS gleich groß wie die Breite sein!) */
    border-radius: 50%;    /* Macht das Bild perfekt rund */
    object-fit: cover;     /* Schneidet das Bild perfekt zu, falls es nicht quadratisch war */
    border: 3px solid rgb(60,129,155); /* Optional: Ein eleganter farbiger Rahmen um das Bild */
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #aeaeae;
    padding: 40px 20px;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 60px;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    nav a {
        margin: 0 10px;
    }
    .author-container {
        flex-direction: column;
        text-align: center;
    }
}
