* Grundlayout */
body {
    font-family: Georgia, "Times New Roman", serif;
    background: #fedbd9;
    margin: 0;
    padding: 0;
}

.page {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fedbd9;
}

.main-nav { border-bottom: 2px solid #7a0f0f; padding-bottom: 3px; }

/* Header */
.header h1 {
    border-bottom: 2px solid #7a0f0f;
	padding-bottom: 30px;
    text-align: center;
    color: #7a0f0f;
    margin: 20px 0;
    font-size: 28px;
}

/* Navigation */
.main-nav ul {
border-bottom: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
    padding: 0;
    list-style: none;
    margin-bottom: 20px;
}

.main-nav a {
    color: #7a0f0f;
    text-decoration: none;
    font-size: 16px;
}

.main-nav a {
    text-decoration: none;
}


.main-nav a:hover,
.main-nav a:active,
.main-nav a:focus {
    text-decoration: underline;
}



/* Inhalt */
.content {
	margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.5;
}

/* Footer */
.footer {
    background-color: #f8f2ef;
    border-top: 2px solid #7a0f0f;
    padding: 20px 10px;
    text-align: center;
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 20px;
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.footer-nav a {
    color: #7a0f0f;
    text-decoration: none;
    font-size: 14px;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer-copy {
    font-size: 13px;
    color: #444;
}
.buecher-liste {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.buch {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.buchcover {
    width: 180px;
}

.mini {
    margin-top: 10px;
    width: 30px;
}

.danke { margin: 30px auto; /* zentriert den ganzen Block */ 
	font-size: 14px; 
	text-align: center; /* zentriert den Text + das Bild */ 
	line-height: 1.5; 
	max-width: 600px; /* optional, damit es schön aussieht */ }

.umflossen-rechts {
    float: right;              /* rechtsbündig + Text fließt links vorbei */
    margin: 0 0 20px 20px;     /* Abstand links + unten */
    height: auto;              /* verhindert Verzerrung */
    display: block;            /* saubere Darstellung */
}

.impressum {
    margin: 30px auto; /* zentriert den ganzen Block */
    font-size: 14px;
    text-align: left; /* zentriert den Text + das Bild */
    line-height: 1.5;
    max-width: 600px; /* optional, damit es schön aussieht */
}

.kontakt_danke { margin: 30px auto; /* zentriert den ganzen Block */ 
	font-size: 14px; 
	text-align: center; /* zentriert den Text + das Bild */ 
	line-height: 1.5; 
	max-width: 600px; /* optional, damit es schön aussieht */ }

.Bild_zntrieren
img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.artikel-liste {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.artikelzeile {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.artikelzeile label {
    flex: 1;
}

.artikelzeile input.artikel {
    width: 60px; /* etwa 1/3 kürzer als Standard */
    padding: 4px;
}
.cover-box {
    float: right;             /* sorgt für echte Rechtsausrichtung */
    width: 200px;             /* exakt wie das Buchbild */
    text-align: right;        /* Inhalt rechtsbündig */
    margin-left: 20px;        /* Abstand zum Text links */
    margin-bottom: 20px;      /* Abstand nach unten */
}

.textblock-unter-cover {
    width: 200px;             /* exakt wie das Bild */
    border: 1px solid #771208;
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
    text-align: right;
    box-sizing: border-box;   /* verhindert, dass padding die Breite vergrößert */
}
/* Preislink unter ISBN */
.underline-anim {
    position: relative;
    color: #000;                 /* schwarz */
    text-decoration: none;       /* kein echter Unterstrich */
    padding-bottom: 2px;         /* Platz für die Linie */
}

.underline-anim::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #000;      /* schwarze Linie */
    transition: width 0.3s ease;
}

.underline-anim:hover::after {
    width: 100%;                 /* animiert von rechts nach links */
}

