/* Basis-Reset, optional */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Körper zentrieren */
body {
    display:flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: sans-serif;
    /*background: url('img/webBg.jpg') center center no-repeat;*/
    background:#cddeeb;
    background-size: cover;
    max-width: 100%;
    flex-wrap: wrap;
    width: 100%;
}
section {
    margin: 50px auto;
    display: block;
    width: 100%;
}
section.box {
    max-width: 1040px;
}

h2 {
    font-size: 38px;
    margin-bottom: 50px;
    color: #e17232;
    text-align: center;
    text-shadow: 3px 3px 6px #ffffff;
}
.danke h2 {
    color: #E17232;
}
form h2 {
    text-shadow:unset;
}
h4 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 34px;
    color: #e17232;
    text-shadow: 3px 3px 6px #ffffff;
}

.buch {
    background: #636f5b; padding: 20px 5%; border-radius: 15px;
}

.buch h4 {
    color: #cddeeb;
    text-shadow: 3px 3px 6px #333;
}
div#wrapper {
    display: block;
    width: 100%;
    color: #fff;
    padding: 20px;
}
#wrapper p {
    margin-bottom:10px;
    color: #000;
    text-align:center;
}
#wrapper .buch p{
    color:#fff;
}
b {
    color: #DC7944;
    display: block;
    font-size: 22px;
    text-align: right;
    margin-top: 5px;
}
.badge {
    position: absolute;
    right: -80px;
    top: -40px;
    border-radius: 25px;
    width: 200px;
    background: #3C3C37;
    padding: 20px;
    font-size: 14px;
    text-align: left;
    line-height: 20px;
}
u {
    text-decoration: none;
    border-bottom: 1px solid #DC7944;
}
form h2 {
    text-align: center;
    color: #DC7944;
    font-size: 60px;
    font-family: serif;
    text-transform: uppercase;
    margin-bottom:0;
}
form h3 {
    text-align: center;
    color: #DC7944;
    font-size: 18px;
    font-family: cursive;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: -2px;
    margin-top: -5px;
}
form::after {
    content: '';
    background: url('/img/alex_webformular2.png') 100% 100% no-repeat;
    background-size: contain;
    right: -4vw;
    position: absolute;
    bottom: -1vw;
    z-index: 1;
    width: 30%;
    height: 45%;
}
/* Jede Seite */
.page {
    background: white;
    padding: 20px;
    width: 100%;
    height: 100%;
    /* Optional ein wenig Buch-Optik */
    box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
}
.gridBox {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}
.gridElement {
    background: #ffffffc2;
    width: 50%;
    display: flex;
    flex-direction: column;
    color: #000;
    padding: 20px;
    border-radius: 50px;
    gap: 10px;
    align-items: center;
}
.gridElement  img {
    height: 150px;
    object-fit: contain;
    border-radius: 30px;
    overflow: hidden;
    width: fit-content;
}
.gridElement b {
    text-align:center;
}
.gridElement p {
    padding: 0 20px 0;
    line-height: 24px;
    font-size: 16px;
    text-align: center;
}
    /* Beispiel-Stile fürs Formular */
form {
    display: flex;
    flex-direction: column;
    /* width: 800px; */
    max-width: 80%;
    margin: 0 auto;
    background: #d1bd9f;
    /* border-radius: 15px; */
    position: relative;
    padding: 50px 50px 80px 50px;
    /* box-shadow: 10px 10px 20px 8px #4f5547; */
    margin-top: 50px;
    border: 1px solid #000;
}
.price {
    margin-top: 20px;
    text-align: center;
    color: #dc7944;
    font-weight: 700;
    font-size: 50px;
}
label {
    margin-top: 10px;
    color: #331C12;
    font-weight: 700;
}

input, select {
    padding: 5px;
    margin-top: 5px;
    font-size: 1rem;
}

button {
    margin-top: 15px;
    padding: 8px 12px;
    background: #C54F33;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background: #599dcd;
}
@media only screen and (max-width: 600px) {
    b {
        text-align: center;
    }
    .badge {
        right: 5%;
        top: -40px;
        width: 90%;
        text-align: center;
        padding: 10px;
    }

    #flipbook {
        height: 250px !important;
        max-width: 100%;
    }
    .gridBox {
        flex-direction: column;
    }
    .gridElement {
        width: 100%;
    }
    form {
        padding: 50px 30px 20px 30px;
        max-width: 90%;
    }
    label {
        margin-top: 0;
    }
}
#flipbook {
    width: 1000px;
    height: 600px;
    max-width: 100%;
}

#flipbook .hard {
    background: #CCDEEB !important;
    color: #fff;
    font-weight: bold;
    border: none;
}

#flipbook .hard small{
    font-style: italic;
    font-weight: lighter;
    opacity: 0.7;
    font-size: 14px;
}

#flipbook .page {
    background: #c7ddea;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(0, 0, 0, 0.11);
    padding:0;
}

.page img{
    width: 100%;
    object-fit: cover;
    margin: auto;
}

#flipbook .page small{
    font-size: 14px;
    margin-bottom: 10px;
}
.reviews-container {
    max-width: 1040px;
    margin: 0 auto;
    background-color: #636f5b;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 20px;
}
span.review-info {
    color: #c54f33;
    text-align: left;
    margin: 0 auto;
    font-style: italic;
    font-size: 14px;
    margin-top: 15px;
}
.reviews-title {
    font-size: 24px;
    font-weight: 500;
    color: #202124;
    margin-right: 15px;
}

.overall-rating {
    display: flex;
    align-items: center;
}

.rating-number {
    font-size: 28px;
    font-weight: 500;
    color: #202124;
    margin-right: 8px;
}

.stars {
    color: #fbbc04;
    font-size: 18px;
    letter-spacing: -2px;
}

.reviews-count {
    color: #70757a;
    font-size: 14px;
    margin-left: 10px;
}

.reviews-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.review-card {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.reviewer-info {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #dadce0;
    margin-right: 12px;
    overflow: hidden;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-name {
    font-weight: 500;
    color: #202124;
    font-size: 16px;
}

.review-date {
    color: #70757a;
    font-size: 14px;
    margin-top: 2px;
}

.review-rating {
    margin: 10px 0;
}

.review-text {
    color: #202124;
    font-size: 14px;
    line-height: 1.5;
    /*flex: 1;*/
}

@media (max-width: 768px) {
    .reviews-grid {
        flex-direction: column;
    }

    .review-card {
        width: 100%;
    }

    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .overall-rating {
        margin-top: 10px;
    }
}
