
/* =========================================
   BEA KORS – STYLES2.CSS
   ========================================= */


/* =========================================
   GEMEINSAMES SEITENLAYOUT
   ========================================= */

.home,
.buecher,
.montessori,
.ueber-mich {
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: left;
}


/* =========================================
   TEXTABSCHNITTE
   ========================================= */

.home .text,
.buecher .text,
.montessori .text,
.ueber-mich .text {
    display: flow-root;
    margin-bottom: 40px;
}


/* =========================================
   ÜBERSCHRIFTEN
   ========================================= */

.home h1,
.home h2,
.home h3,
.buecher h1,
.buecher h2,
.buecher h3,
.montessori h1,
.montessori h2,
.montessori h3,
.ueber-mich h1,
.ueber-mich h2,
.ueber-mich h3 {
    margin-top: 20px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.buecher h1 {
    font-size: 32px;
}


/* =========================================
   FLIESSTEXT
   ========================================= */

.home p,
.buecher p,
.montessori p,
.ueber-mich p {
    line-height: 1.7;
    margin-top: 0;
    margin-bottom: 15px;
}


/* =========================================
   AUFZÄHLUNGEN
   ========================================= */

.home ul,
.buecher ul,
.montessori ul,
.ueber-mich ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

.home li,
.buecher li,
.montessori li,
.ueber-mich li {
    line-height: 1.7;
    margin-bottom: 10px;
}


/* =========================================
   BILDER – ALLGEMEIN
   ========================================= */

.home img,
.buecher img,
.montessori img,
.ueber-mich img {
    max-width: 100%;
    height: auto;
}


/* =========================================
   MONTESSORI-SEITE
   ========================================= */

.montessori-bild {
    float: left;
    width: 20%;
    height: auto;
    margin-right: 25px;
    margin-bottom: 15px;
}


/* =========================================
   BÜCHERSEITE – BUCHKÄSTEN
   ========================================= */

/*
   Zwei Buchkästen nebeneinander.
   Dazwischen 60px Abstand.
   Zwischen den Reihen 30px Abstand.
*/

.buecher .buecher-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        60px
        minmax(0, 1fr);

    column-gap: 0;
    row-gap: 30px;

    margin-top: 30px;
    margin-bottom: 40px;
    width: 100%;
}


/* =========================================
   EINZELNE BUCHKÄSTEN
   ========================================= */

.buecher .buch-box {
    display: flex;
    flex-direction: column;

    min-width: 0;
    padding: 25px;

    border: 1px solid #dddddd;
    border-radius: 8px;

    background-color: #fafafa;
    box-sizing: border-box;
}


/* =========================================
   ABSTAND ZWISCHEN DEN BUCHKÄSTEN
   ========================================= */

.buecher .buecher-abstand {
    width: 60px;
}


/* =========================================
   BUCHCOVER
   ========================================= */

.buecher .buch-cover {
    display: block;

    width: 55%;
    max-width: 200px;
    height: auto;

    margin: 0 auto 20px;
}


/* =========================================
   BUCHTITEL
   ========================================= */

.buecher .buch-box h2 {
    font-size: 20px;
    line-height: 1.3;

    margin-top: 0;
    margin-bottom: 15px;
}


/* =========================================
   BUCHBESCHREIBUNG
   ========================================= */

.buecher .buch-box p {
    line-height: 1.7;
    margin-top: 0;
    margin-bottom: 20px;
}


/* =========================================
   ROTER BUCHBUTTON
   ========================================= */

.buecher .buch-button {
    display: inline-block;
    align-self: flex-start;

    margin-top: auto;
    padding: 12px 20px;

    background-color: #b92f35;
    color: #ffffff;

    font-weight: bold;
    text-decoration: none;

    border-radius: 8px;

    transition: background-color 0.2s;
}


/* Button beim Darüberfahren */

.buecher .buch-button:hover {
    background-color: #982329;
    color: #ffffff;
}

/* Zwei Kaufbuttons nebeneinander */

.buecher .buch-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

/* Beide Buttons gleich gestalten */

.buecher .buch-buttons .buch-button {
    margin-top: 0;
	 font-size: 13px;
    padding: 10px 12px;
    white-space: nowrap;
}


/* Tastaturbedienung */

.buecher .buch-button:focus-visible {
    outline: 3px solid #982329;
    outline-offset: 3px;
}


/* =========================================
   BÜCHER UND HOME – KARTEN
   ========================================= */

.buecher .karte,
.home .karte {
    padding: 20px;
    margin-bottom: 25px;

    border: 1px solid #dddddd;
    border-radius: 8px;

    box-sizing: border-box;
}


/* Kartenüberschriften */

.buecher .karte h3,
.home .karte h3 {
    margin-top: 0;
    margin-bottom: 15px;
}


/* Kartenabsätze */

.buecher .karte p,
.home .karte p {
    margin-bottom: 15px;
}


/* =========================================
   ÜBER MICH – VITA
   ========================================= */

/* Grußformel */

.ueber-mich .gruss {
    margin-top: 30px;
    margin-bottom: 5px;
}


/* Unterschrift */

.ueber-mich .unterschrift {
    margin-top: 0;
    font-weight: bold;
}

/* Impressumseite */

.impressum {
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: left;
}

/* Ansicht auf Smartphones */

@media (max-width: 768px) {
    .impressum {
        padding: 0 15px;
    }
}


/* =========================================
   TABLET UND SMARTPHONE
   ========================================= */

@media (max-width: 768px) {

    .home,
    .buecher,
    .montessori,
    .ueber-mich {
        padding: 0 15px;
        margin-top: 20px;
    }

    /* Montessori-Bilder */

    .montessori-bild {
        float: none;
        display: block;

        width: 60%;
        margin: 0 auto 20px;
    }

    /* Textabschnitte */

    .home .text,
    .buecher .text,
    .montessori .text,
    .ueber-mich .text {
        margin-bottom: 30px;
    }
}


/* =========================================
   BÜCHER AUF HANDYS
   ========================================= */

@media (max-width: 700px) {

    /* Alle Buchkästen untereinander */

    .buecher .buecher-grid {
        grid-template-columns: minmax(0, 1fr);

        column-gap: 0;
        row-gap: 30px;
    }

    /* Mittlere Abstandsspalte ausblenden */

    .buecher .buecher-abstand {
        display: none;
    }

    /* Buchkästen */

    .buecher .buch-box {
        padding: 20px;
    }

    /* Buchcover */

    .buecher .buch-cover {
        width: 55%;
        max-width: 180px;
    }
}
