/* =========================================================
   BOOK PREVIEW
   Ein Blick ins Reisetagebuch
   ========================================================= */

.book-preview {
    position: relative;
    overflow: hidden;
    padding: 105px 6vw 75px;
    background: #ded9d0;
    color: #2b2118;
}

.book-preview-inner {
    width: min(1400px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 70px;
    align-items: center;
}

.book-preview-copy {
    position: relative;
    z-index: 2;
}

.book-preview-kicker {
    margin-bottom: 20px;
    color: #91641f;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .16em;
}

.book-preview-kicker::before {
    content: "";
    display: inline-block;
    width: 38px;
    height: 1px;
    margin-right: 13px;
    vertical-align: middle;
    background: #a77a2a;
}

.book-preview-copy h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(45px, 4.3vw, 70px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -1px;
}

.book-preview-copy h2 em {
    color: #9b6c22;
    font-style: normal;
}

.book-preview-ornament {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 250px;
    margin: 28px 0;
    color: #9b6c22;
}

.book-preview-ornament span {
    height: 1px;
    flex: 1;
    background: #b18a4d;
}

.book-preview-ornament b {
    font-weight: 400;
}

.book-preview-copy p {
    max-width: 510px;
    margin: 0 0 17px;
    font-family: Arial, sans-serif;
    font-size: 17px;
    line-height: 1.62;
}

.book-preview-copy .book-preview-intro {
    font-family: Georgia, serif;
    font-size: 20px;
    line-height: 1.5;
}

.book-preview-button {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin-top: 15px;
    padding: 14px 21px;
    border: 1px solid #a67325;
    border-radius: 4px;
    color: #754f17;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .07em;
    transition: .25s ease;
}

.book-preview-button:hover {
    background: #8e641f;
    color: #fff;
}

.book-preview-arrow {
    font-size: 21px;
}

.book-preview-visual {
    position: relative;
    min-height: 610px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-preview-book {
    position: relative;
    width: min(820px, 100%);
    height: 500px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    transform: rotate(-2deg);
    filter: drop-shadow(0 24px 25px rgba(45, 30, 15, .22));
}

.book-page {
    position: relative;
    overflow: hidden;
    background: #f4eddf;
    padding: 42px 45px;
    box-shadow: inset 0 0 20px rgba(90, 60, 25, .08);
}

.book-page-left {
    border-radius: 5px 0 0 5px;
}

.book-page-right {
    border-radius: 0 5px 5px 0;
}

.book-spine {
    position: absolute;
    z-index: 5;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 20px;
    transform: translateX(-50%);
    background: linear-gradient(
        90deg,
        rgba(70,45,20,.18),
        rgba(255,255,255,.16),
        rgba(70,45,20,.14)
    );
}

.book-page-header {
    color: #98702b;
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: .16em;
}

.book-page-content h3 {
    margin: 65px 0 18px;
    color: #2b2118;
    font-family: Georgia, serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.05;
}

.book-page-line {
    width: 65px;
    height: 1px;
    margin-bottom: 25px;
    background: #a77a2a;
}

.book-page-content p {
    max-width: 290px;
    color: #40372e;
    font-family: Georgia, serif;
    font-size: 14px;
    line-height: 1.65;
}

.book-page-number {
    position: absolute;
    bottom: 18px;
    color: #917143;
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: .1em;
}

.book-page-left .book-page-number {
    left: 45px;
}

.book-page-right .book-page-number {
    right: 45px;
}

.book-page-photo {
    height: 285px;
    overflow: hidden;
    margin-bottom: 18px;
}

.book-page-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.book-page-caption span {
    display: block;
    margin-bottom: 5px;
    color: #a27328;
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: .14em;
}

.book-page-caption strong {
    color: #2b2118;
    font-family: Georgia, serif;
    font-size: clamp(18px, 1.7vw, 22px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.05;
    white-space: nowrap;
}

.preview-compass {
    position: absolute;
    top: 5px;
    right: 4%;
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border: 1px solid #9b722e;
    border-radius: 50%;
    color: #9b722e;
    font-size: 30px;
    background: rgba(245,235,216,.55);
}

.preview-postcard {
    position: absolute;
    right: 0;
    bottom: 28px;
    width: 170px;
    padding: 17px 12px;
    box-sizing: border-box;
    background: #f2e7d2;
    box-shadow: 0 12px 20px rgba(45,30,15,.18);
    transform: rotate(6deg);
    text-align: center;
}

.preview-postcard span {
    display: block;
    color: #a27328;
    font-family: Arial, sans-serif;
    font-size: 9px;
    letter-spacing: .18em;
}

.preview-postcard strong {
    display: block;
    margin-top: 8px;
    color: #4b3219;
    font-family: Georgia, serif;
    font-size: clamp(18px, 1.7vw, 22px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.05;
    white-space: nowrap;
}


.book-preview-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 48px;
}

.preview-arrow {
    width: 42px;
    height: 42px;
    border: 1px solid #a77a2a;
    border-radius: 50%;
    background: transparent;
    color: #805719;
    font-size: 19px;
    cursor: pointer;
}

.preview-pages {
    display: flex;
    gap: 16px;
}

.preview-page {
    color: #92754a;
    font-family: Arial, sans-serif;
    font-size: 12px;
}

.preview-page.active {
    color: #9b6c22;
    font-weight: 700;
}

@media (max-width: 1000px) {
    .book-preview-inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .book-preview-copy {
        text-align: center;
    }

    .book-preview-kicker {
        justify-content: center;
    }

    .book-preview-ornament {
        margin-left: auto;
        margin-right: auto;
    }

    .book-preview-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .book-preview-visual {
        min-height: 560px;
    }
}

@media (max-width: 650px) {
    .book-preview {
        padding: 70px 20px 65px;
    }

    .book-preview-copy h2 {
        font-size: 43px;
    }

    .book-preview-book {
        height: 360px;
    }

    .book-page {
        padding: 24px 22px;
    }

    .book-page-content h3 {
        margin-top: 40px;
        font-size: 24px;
    }

    .book-page-content p {
        font-size: 11px;
    }

    .book-page-photo {
        height: 195px;
    }

    .book-page-caption strong {
        font-size: 18px;
    }

    .preview-postcard {
        width: 125px;
        padding: 12px 8px;
        bottom: 15px;
    }

    .preview-postcard strong {
        font-size: 16px;
    }

    .preview-pencil {
        width: 120px;
    }

    .preview-compass {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }
}

/* =========================================================
   V15 – ECHTES SEITENUMBLÄTTERN
   Die bestehende Buchgestaltung bleibt vollständig erhalten.
   Nur die zusätzliche Umblätter-Seite wird animiert.
   ========================================================= */

.book-preview-book {
    perspective: 1800px;
    transform-style: preserve-3d;
    isolation: isolate;
}

.book-preview-book .book-page {
    position: relative;
    z-index: 1;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.book-preview-book .book-spine {
    z-index: 8;
}

.book-page-turn {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    z-index: 12;
    pointer-events: none;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    will-change: transform;
    display: none;
}

.book-page-turn.next {
    display: block;
    right: 0;
    transform-origin: left center;
    transform: rotateY(0deg);
}

.book-page-turn.prev {
    display: block;
    left: 0;
    transform-origin: right center;
    transform: rotateY(0deg);
}

.book-page-turn.is-turning.next {
    animation: bookFlipNext 2.40s cubic-bezier(.22,.61,.36,1) forwards;
}

.book-page-turn.is-turning.prev {
    animation: bookFlipPrev 2.40s cubic-bezier(.22,.61,.36,1) forwards;
}

.book-page-turn-face {
    position: absolute;
    inset: 0;
    overflow: hidden;
    box-sizing: border-box;
    padding: 42px 45px;
    background: #f4eddf;
    box-shadow: inset 0 0 20px rgba(90,60,25,.08);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.book-page-turn-front {
    border-radius: 0 5px 5px 0;
}

.book-page-turn-back {
    transform: rotateY(180deg);
    border-radius: 5px 0 0 5px;
}

.book-page-turn::before {
    content: "";
    position: absolute;
    z-index: 4;
    top: 0;
    bottom: 0;
    width: 100%;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(55,35,15,.22) 0%,
        rgba(55,35,15,.06) 13%,
        transparent 35%,
        transparent 70%,
        rgba(255,255,255,.18) 100%
    );
    opacity: .65;
}

.book-page-turn-header {
    color: #98702b;
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: .16em;
}

.book-page-turn-content h3 {
    margin: 65px 0 18px;
    color: #2b2118;
    font-family: Georgia, serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.05;
}

.book-page-turn-content .book-page-line {
    width: 65px;
    height: 1px;
    margin-bottom: 25px;
    background: #a77a2a;
}

.book-page-turn-content p {
    max-width: 290px;
    margin: 0 0 14px;
    color: #40372e;
    font-family: Georgia, serif;
    font-size: 14px;
    line-height: 1.65;
}

.book-page-turn-photo {
    height: 285px;
    overflow: hidden;
    margin-bottom: 18px;
}

.book-page-turn-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.book-page-turn-caption span {
    display: block;
    margin-bottom: 5px;
    color: #a27328;
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: .14em;
}

.book-page-turn-caption strong {
    color: #2b2118;
    font-family: Georgia, serif;
    font-size: 25px;
    font-weight: 400;
}

.book-page-turn-number {
    position: absolute;
    bottom: 18px;
    left: 45px;
    color: #917143;
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: .1em;
}

.book-page-turn-number--right {
    left: auto;
    right: 45px;
}

@keyframes bookFlipNext {
    0% {
        transform: rotateY(0deg);
        box-shadow: 0 0 0 rgba(45,30,15,0);
    }
    18% {
        box-shadow: -8px 8px 18px rgba(45,30,15,.12);
    }
    50% {
        transform: rotateY(-90deg);
        box-shadow: -22px 10px 30px rgba(45,30,15,.28);
    }
    82% {
        box-shadow: -10px 8px 18px rgba(45,30,15,.14);
    }
    100% {
        transform: rotateY(-180deg);
        box-shadow: 0 0 0 rgba(45,30,15,0);
    }
}

@keyframes bookFlipPrev {
    0% {
        transform: rotateY(0deg);
        box-shadow: 0 0 0 rgba(45,30,15,0);
    }
    18% {
        box-shadow: 8px 8px 18px rgba(45,30,15,.12);
    }
    50% {
        transform: rotateY(90deg);
        box-shadow: 22px 10px 30px rgba(45,30,15,.28);
    }
    82% {
        box-shadow: 10px 8px 18px rgba(45,30,15,.14);
    }
    100% {
        transform: rotateY(180deg);
        box-shadow: 0 0 0 rgba(45,30,15,0);
    }
}

.book-preview-book.is-animating {
    cursor: progress;
}

@media (max-width: 650px) {
    .book-page-turn-face {
        padding: 24px 22px;
    }

    .book-page-turn-content h3 {
        margin-top: 40px;
        font-size: 24px;
    }

    .book-page-turn-content p {
        font-size: 11px;
    }

    .book-page-turn-photo {
        height: 195px;
    }

    .book-page-turn-caption strong {
        font-size: 18px;
    }
}





/* FINAL 2026-08-17 V4: decorative pencil removed */
.preview-pencil { display: none !important; visibility: hidden !important; }
