/* ============================================================
   Weesterlön Verlag — Main Stylesheet
   Replicates the Laravel site exactly (header, hero,
   sliding decorative elements, AOS reveals, footer).
   ============================================================ */

* { box-sizing: border-box; }

:root {
    --primary-color: #0075b0;
    --primary-dark: #025f8e;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --bg-light: #f5f5f7;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0, 1);
}

@font-face {
    font-family: 'Moisette-Light';
    src: url('../fonts/Moisette-Light.woff') format('woff'),
         url('../fonts/Moisette-Light.otf')  format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    text-rendering: optimizeLegibility;
}
@font-face {
    font-family: 'Moisette-Regular';
    src: url('../fonts/Moisette-Regular.woff') format('woff'),
         url('../fonts/Moisette-Regular.otf')  format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    text-rendering: optimizeLegibility;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-primary);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2 {
    font-family: 'Moisette-Regular', sans-serif !important;
    font-weight: 400 !important;
}

.Moisette-Regular { font-family: 'Moisette-Regular', sans-serif; }
.Moisette-Light   { font-family: 'Moisette-Light',   sans-serif; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ============= HEADER ============= */
.penguin-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    min-height: 133px;
}
.penguin-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 80px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}
.penguin-logo {
    left: 2rem;
    top: 15px;
    height: 100px;
    width: auto;
    z-index: 2000;
    position: absolute;
}
.penguin-nav-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex: 0 0 auto;
    position: absolute;
    right: 2rem;
    top: 80%;
    transform: translateY(-50%);
}
.penguin-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #374151;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .05em;
    transition: all .3s ease;
    padding: .5rem;
}
.penguin-nav-item:hover { color: #2563eb; }
.penguin-nav-item span {
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .1em;
}
.penguin-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all .3s ease;
    cursor: pointer;
    border: none;
    background: 0 0;
    color: #374151;
}
.penguin-nav-icon:hover { background-color: #f3f4f6; color: #2563eb; }
.penguin-nav-icon svg { width: 24px; height: 24px; stroke-width: 2; }

.penguin-secondary-nav { background: #fff; padding: 0; }
.penguin-nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    width: 100%;
    z-index: 200;
}
.penguin-nav-link {
    display: block;
    padding: 1rem 0;
    text-decoration: none;
    color: #374151;
    font-size: 1rem;
    font-weight: 500;
    transition: all .3s ease;
}
.penguin-nav-link:hover, .penguin-nav-link.active { color: #2563eb; }

/* ============= SEARCH BAR ============= */
.penguin-search-bar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 43%;
    display: flex;
    justify-content: center;
    z-index: 9999;
}
.search-container { position: relative; width: 100%; }
.penguin-search-input-container {
    position: relative;
    background: #f8f9fa;
    border-radius: 50px;
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    transition: all .3s ease;
    border: 1px solid transparent;
    width: 100%;
}
.penguin-search-input-container:focus-within {
    background: #fff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.penguin-search-icon {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: .75rem;
    color: #6b7280;
    cursor: pointer;
    flex-shrink: 0;
}
.penguin-search-icon svg { width: 20px; height: 20px; stroke-width: 2; }
.penguin-search-input {
    border: none;
    background: none;
    outline: 0;
    flex: 1;
    font-size: 1rem;
    color: #374151;
    padding-right: .5rem;
    min-width: 0;
}
.penguin-search-input::placeholder { color: #9ca3af; }
.clear-button {
    background: rgba(156,163,175,.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #6b7280;
    width: 24px; height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    flex-shrink: 0;
}
.clear-button:hover { background: rgba(156,163,175,.2); color: #374151; }
.clear-button svg { width: 14px; height: 14px; }
.clear-button.hidden { display: none !important; }

/* Search Results Dropdown */
.search-results {
    position: absolute;
    top: calc(100% + .5rem);
    left: -4rem;
    right: -4rem;
    background: #fff;
    z-index: 99999;
    max-height: 60vh;
    overflow-y: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    animation: slideUpFromBottom .4s cubic-bezier(.16,1,.3,1);
}
.search-results.hidden { display: none !important; }
@keyframes slideUpFromBottom {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.search-categories {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.search-categories.single-col { grid-template-columns: 1fr; }
.search-category h3 {
    font-size: .9rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 1rem 0;
    padding: 0 0 .5rem 0;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}
.search-category-items { display: flex; flex-direction: column; gap: .25rem; }
.search-item {
    display: block;
    padding: .6rem .5rem;
    text-decoration: none;
    color: #374151;
    transition: all .2s cubic-bezier(.16,1,.3,1);
    font-size: .95rem;
    border-radius: 6px;
}
.search-item:hover { background: rgba(0,0,0,.05); color: #2563eb; text-decoration: none; }
.search-item-title { font-weight: 500; color: #1f2937; font-size: .95rem; line-height: 1.4; }
.search-item-subtitle { font-size: .82rem; color: #6b7280; margin-top: .2rem; }
.search-empty {
    padding: 3rem 2rem;
    text-align: center;
    color: #9ca3af;
    font-style: italic;
}

/* Mobile Nav */
.penguin-mobile-nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #fff;
    z-index: 2000;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
}
.penguin-mobile-nav.active { transform: translateX(0); }
.penguin-mobile-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    height: 80px;
}
.penguin-mobile-close {
    position: absolute;
    top: 15px; right: 15px;
    background: 0 0;
    border: none;
    cursor: pointer;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .75rem;
    border-radius: 50%;
    transition: all .3s ease;
    width: 50px; height: 50px;
    z-index: 10;
}
.penguin-mobile-close:hover { background-color: #f3f4f6; color: #2563eb; }
.penguin-mobile-section { border-bottom: 1px solid #e5e7eb; }
.penguin-mobile-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    text-decoration: none;
    color: inherit;
    font-size: 1.1rem;
    font-weight: 500;
    border: none;
    background: 0 0;
    width: 100%;
    cursor: pointer;
    transition: all .3s ease;
}
.penguin-mobile-item:hover { background-color: rgba(0,0,0,.05); }

@media (max-width: 1024px) {
    .penguin-header { min-height: 70px; }
    .penguin-nav { padding: 0 1rem; height: 80px; }
    .penguin-logo { height: 70px; top: 2px; }
    .penguin-nav-icons { gap: 1rem; padding-top: 7px; top: 60%; }
    .penguin-nav-icon { width: 45px; height: 45px; }
    .penguin-nav-icon svg { width: 26px; height: 26px; }
    .penguin-nav-item span { display: none; }
    .penguin-nav-item { padding: .25rem; }
}

.hidden { display: none !important; }
.mobile-only { display: none; }
@media (max-width: 1024px) {
    .mobile-only { display: block; }
    .desktop-only { display: none; }
}

/* ============= ANIMATIONS ============= */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slowZoom { 0% { transform: scale(1.05); } 100% { transform: scale(1.1); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: .9; } }
@keyframes titleFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes scrollWheel { 0% { transform: translateX(-50%) translateY(0); opacity: 1; } 100% { transform: translateX(-50%) translateY(16px); opacity: 0; } }
@keyframes bounceUp { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes checkBounce { 0% { transform: scale(0); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }
@keyframes rotate { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }
@keyframes gradientShift { 0%, 100% { filter: hue-rotate(0deg); } 50% { filter: hue-rotate(10deg); } }
@keyframes bounce { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-10px) scale(1.03); } }

/* ============= LANDING / HOME ============= */
.landing-container { width: 100%; overflow-x: hidden; }
.landing-hero {
    position: relative;
    height: 95vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-bg-wrapper, .hero-overlay-pattern {
    position: absolute;
    width: 100%;
    top: 0; left: 0;
}
.hero-bg-wrapper { height: 100%; z-index: 0; }
.hero-overlay-pattern {
    height: 100%;
    background: radial-gradient(ellipse at top, transparent 0, rgba(0,0,0,.1) 100%);
    z-index: 3;
}
.hero-bg-image {
    width: 100%; height: 100%;
    object-fit: cover;
    animation: 30s ease-in-out infinite alternate slowZoom;
    filter: brightness(.9);
}
.hero-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
    width: 100%;
    padding: 0 20px;
    animation: 1s cubic-bezier(.4,0,.2,1) fadeInUp;
    text-align: center;
}
.hero-title {
    font-size: 72px;
    font-weight: 300;
    color: #fff;
    margin: 0 0 24px;
    letter-spacing: -.03em;
    line-height: 1.05;
    text-shadow: 0 4px 30px rgba(0,0,0,.3);
    animation: 6s ease-in-out infinite titleFloat;
}
.landing-hero .hero-title {
    font-family: 'Moisette-Light', Georgia, serif;
    font-weight: 300;
}
.hero-subtitle {
    font-size: 28px;
    margin: 0 0 40px;
    letter-spacing: .02em;
    color: rgba(255,255,255,.95);
    font-weight: 400;
    animation: 1s cubic-bezier(.4,0,.2,1) .2s both fadeInUp;
}
.hero-text {
    max-width: 600px;
    margin: 0 auto;
    animation: 1s cubic-bezier(.4,0,.2,1) .4s both fadeInUp;
}
.hero-text p {
    font-size: 20px;
    line-height: 1.5;
    margin: 0;
    color: rgba(255,255,255,.95);
    font-weight: 400;
}

/* ============= SECTIONS ============= */
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title {
    font-size: 50px;
    color: var(--text-primary);
    margin: 0 0 20px;
    letter-spacing: -.03em;
    line-height: 1.1;
}
.title-accent {
    background: linear-gradient(135deg, var(--primary-color) 0, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: 8s ease-in-out infinite gradientShift;
    font-weight: 400 !important;
}

/* ============= BOOK INTRO ============= */
.book-intro-section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}
.book-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.book-image-container { position: relative; }
.book-cover {
    width: 100%;
    max-width: 400px;
    height: auto;
    transition: transform .8s cubic-bezier(.19, 1, .22, 1);
    will-change: transform;
}
.book-cover:hover { transform: scale(1.02) rotateY(5deg); }
.book-title {
    font-size: 48px;
    color: var(--text-primary);
    margin: 0 0 16px;
    letter-spacing: -.03em;
    line-height: 1.1;
}
.book-release-date {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 0 32px;
    letter-spacing: .02em;
}
.book-description p {
    font-size: 19px;
    line-height: 1.6;
    color: #333;
    margin: 0 0 24px;
}
.book-description p:last-child { margin-bottom: 0; }

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary-color);
    font-size: 17px;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 980px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--primary-color);
    margin-top: 16px;
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-color);
    color: #fff;
}

/* Amazon Buy Button */
.amazon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(180deg, #f7dfa5 0, #f0c14b 100%);
    border: 1px solid #a88734;
    color: #111;
    font-size: 17px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: all .25s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
    cursor: pointer;
}
.amazon-btn:hover {
    background: linear-gradient(180deg, #f5d78e 0, #eeb933 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
    color: #111;
}
.amazon-btn svg, .amazon-btn .amazon-icon { width: 22px; height: 22px; }

/* ============= ABOUT PREVIEW (HOME) ============= */
.about-preview-section { padding: 120px 0; background: var(--white); position: relative; min-height: 400px; overflow: hidden; }
.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.preview-text {
    font-size: 19px;
    line-height: 1.6;
    color: #333;
    margin: 0 0 24px;
}
.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
}
.preview-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.19, 1, .22, 1);
}
.image-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.1) 100%);
    opacity: 0;
    transition: opacity .4s;
}
.about-preview-image:hover .image-overlay { opacity: 1; }
.about-preview-image:hover .preview-img { transform: scale(1.02); }

/* ============= SLIDING ELEMENTS (BEACH/COASTAL DECOR) ============= */
.sliding-elements, .sliding-element {
    position: absolute;
    pointer-events: none;
}
.sliding-elements {
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: 1;
}
.sliding-element {
    z-index: 3;
    will-change: transform, opacity;
}
.sliding-element-left { top: 28%; left: 10px; width: 280px !important; }
.sliding-element-right { bottom: 15%; right: -30px; width: 200px !important; }
@media (max-width: 1225px) {
    .sliding-element-left { top: 42%; left: 0; width: 200px !important; }
    .sliding-element-right { bottom: 10%; right: -30px; width: 140px !important; }
}
@media (max-width: 1025px) {
    .sliding-element-left { width: 170px !important; left: -35px; top: 25%; }
    .sliding-element-right { width: 100px !important; right: -25px; top: 42%; }
}
@media (max-width: 478px) {
    .sliding-element-left { width: 130px !important; left: -25px; top: 25%; }
    .sliding-element-right { width: 80px !important; right: -25px; top: 37%; }
}
@media (max-width: 320px) { .sliding-element { display: none; } }
.section-with-elements { position: relative; min-height: 400px; overflow: hidden; }

/* ============= ABOUT PAGE ============= */
.about-container { width: 100%; overflow-x: hidden; }

/* ── About hero ──────────────────────────────────────────────────────────── */
/*
 * overflow:hidden is fine here — the quote box is now a SIBLING element
 * below the hero and uses negative margin-top to overlap it.
 */
.about-hero {
    position: relative;
    height: 580px;
    overflow: hidden;
}
.about-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
/*
 * Override the global .hero-bg-image rule (which applies filter:brightness(.9)
 * and a slow-zoom animation).  The about photo should be unfiltered and still.
 */
.about-hero-bg .hero-bg-image {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center center; /* balanced crop — shows sky AND dunes */
    filter: none;
    animation: none;
    transform: none;
}
/*
 * Overlay: minimal dark tint at the very top so the white title stays readable,
 * fades to a white haze at the bottom (matches the airy Laravel look and helps
 * the quote box blend from image into white content).
 */
.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.18) 0%,
        rgba(0,0,0,.0)  40%
    );
    z-index: 1;
    pointer-events: none;
}
/* Title near the TOP of the sky */
.about-title-wrap {
    position: absolute;
    bottom: 88px;
    left: 0; right: 0;
    z-index: 10;
    text-align: center;
    padding: 0 24px;
}
.about-hero-title {
    font-size: 52px;
    color: #fff;
    margin: 0;
    line-height: 1.15;
    text-shadow: 0 2px 18px rgba(0,0,0,.48), 0 1px 3px rgba(0,0,0,.22);
    letter-spacing: -.01em;
}

/* ── Quote box ───────────────────────────────────────────────────────────── */
/*
 * Sits OUTSIDE the hero section in the DOM.
 * margin-top:-70px pulls it 70 px up over the bottom of the hero image,
 * creating the "bridge" overlap.  position:relative + z-index keeps it
 * above everything without needing the hero's overflow to be visible.
 */
.about-quote-wrap {
    position: relative;
    z-index: 20;
    margin-top: -70px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}
.about-quote-wrap .hero-quote {
    background: rgba(255,255,255,.97);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,.11), 0 2px 6px rgba(0,0,0,.06);
    padding: 40px 48px;
    max-width: 800px;
    width: 100%;
    margin: 0;
    border: none;
    animation: aboutFadeUp .85s cubic-bezier(.4,0,.2,1) .1s both;
}
@keyframes aboutFadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
.quote-text   { font-size: 21px; font-style: italic; margin: 0 0 16px; font-weight: 400; line-height: 1.65; color: #333; }
.quote-author { display: block; font-size: 15px; color: #86868b; font-style: normal; margin: 0; }

/* ── Story section ──────────────────────────────────────────────────────── */
/*
 * padding-top:100px — quote wrap handles the visual gap from the hero.
 * The floating illustrations sit in z-index 2–4; the centered text
 * container sits in z-index 5, always in front.
 */
.story-section { padding: 100px 0 80px; background: #fff; position: relative; overflow: hidden; }
.lead-text { font-size: 24px; line-height: 1.6; color: #1d1d1f; margin: 0 auto 60px; font-weight: 400; max-width: 800px; text-align: center; }
.story-divider { text-align: center; margin: 60px 0; }
.divider-icon { width: 60px; height: 12px; opacity: .6; }
.story-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}
.column { text-align: center; }
.column-title { font-size: 28px; font-weight: 600; color: #1d1d1f; margin: 0 0 20px; }
.column p { font-size: 18px; line-height: 1.6; color: #333; margin: 0; }
.vision-text { max-width: 800px; margin: 0 auto; text-align: center; }
.vision-text p { font-size: 20px; line-height: 1.6; color: #333; margin: 0; }

/* Floating illustrations — absolutely positioned inside .story-section */
.sliding-element-left     { top: 24%; left: 10px;  width: 280px !important; z-index: 4; }
.sliding-element-left-bg  { top: 40%; left: -10px; width: 300px !important; opacity: .79 !important; z-index: 2; }
.sliding-element-right-upper { top: 14%; right: 10%; width: 170px !important; z-index: 4; }
.sliding-element-right-side  { top: 30%; right: 3%;  width: 140px !important; z-index: 3; }

/* Responsive */
@media (max-width: 1225px) {
    .sliding-element-left        { top: 40%; left: 0;    width: 200px !important; }
    .sliding-element-left-bg     { top: 50%; left: -10px; width: 250px !important; }
    .sliding-element-right-upper { width: 125px !important; right: 45px; top: 14%; }
    .sliding-element-right-side  { width: 95px !important;  right: -10px; top: 30%; }
}
@media (max-width: 1025px) {
    .about-hero           { height: 520px; }
    .sliding-element-left { top: 35%; left: -30px; width: 150px !important; }
    .sliding-element-left-bg { top: 42%; width: 150px !important; }
    .sliding-element-right-upper { width: 125px !important; right: 45px; top: 14%; }
    .sliding-element-right-side  { width: 95px !important; right: -10px; top: 20%; }
    .story-section        { padding: 80px 0 60px; }
}
@media (max-width: 768px) {
    .about-hero           { height: 460px; }
    .about-title-wrap     { bottom: 78px; }
    .about-hero-title     { font-size: 34px; }
    .about-quote-wrap     { margin-top: -60px; padding: 0 16px; }
    .hero-quote           { padding: 28px 24px; }
    .quote-text           { font-size: 18px; }
    .story-section        { padding: 70px 0 60px; }
    .story-columns        { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 480px) {
    .about-hero           { height: 400px; }
    .about-title-wrap     { bottom: 68px; }
    .about-hero-title     { font-size: 26px; }
    .about-quote-wrap     { margin-top: -50px; padding: 0 12px; }
    .hero-quote           { padding: 22px 18px; }
    .quote-text           { font-size: 16px; }
    .story-section        { padding: 60px 0 60px; }
    .sliding-element-left { top: 34%; left: -30px; width: 130px !important; }
    .sliding-element-left-bg { top: 40%; width: 130px !important; }
    .sliding-element-right-upper { width: 110px !important; right: 20px; top: 10%; }
    .sliding-element-right-side  { width: 80px !important; right: -10px; top: 17%; }
}
@media (max-width: 320px) { .sliding-element { display: none; } }

/* ============= TEAM ============= */
.team-section { padding: 120px 0; background: #f5f5f7; }
.section-subtitle { font-size: 21px; color: #86868b; text-align: center; margin: 0 0 80px; font-weight: 400; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.team-member {
    position: relative;
    background: 0 0;
    transition: transform .4s cubic-bezier(.4, 0, 0, 1);
    animation: .8s cubic-bezier(.4,0,.2,1) both fadeInUp;
}
.team-member:hover { transform: translateY(-5px); }
.member-image-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 24px;
}
.member-image {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.19, 1, .22, 1), opacity .4s;
    opacity: .95;
}
.team-member:hover .member-image { transform: scale(1.03); opacity: 1; }
.member-content { padding: 0; text-align: center; }
.member-name { font-size: 22px; font-weight: 600; color: #1d1d1f; margin: 0 0 6px; letter-spacing: -.01em; }
.member-role { font-size: 17px; color: #86868b; margin: 0 0 16px; }
.member-description { font-size: 15px; line-height: 1.5; color: #515154; margin: 0 auto 20px; max-width: 320px; }
.member-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #06c;
    font-size: 15px;
    transition: .3s cubic-bezier(.4, 0, 0, 1);
    text-decoration: none;
    position: relative;
}
.member-link:hover { gap: 10px; }
.link-icon {
    width: 14px; height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ============= CONTACT ============= */
.kontakt-container { width: 100%; overflow-x: hidden; }
.kontakt-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    overflow: hidden;
}
.contact-section { padding: 100px 0; background: #fff; }
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
}
.contact-card, .contact-form-card {
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0,0,0,.04);
    background: #f5f5f7;
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.contact-form-card { background: #fff; }
.contact-card:hover, .contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0,0,0,.06);
}
.contact-header, .form-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}
.contact-icon, .form-icon { width: 32px; height: 32px; color: #0075b0; }
.contact-title, .form-title { font-size: 24px; font-weight: 600; color: #1d1d1f; margin: 0; }
.contact-details { display: flex; flex-direction: column; gap: 30px; }
.item-title { font-size: 18px; font-weight: 600; color: #1d1d1f; margin: 0 0 14px; }
.item-content { font-size: 17px; line-height: 1.5; color: #515154; }
.company-name { font-weight: 500; margin: 0 0 8px; }
.address { margin: 0 0 4px; }
.contact-link-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.item-icon { width: 20px; height: 20px; color: #0075b0; }
.contact-link {
    color: #0075b0;
    text-decoration: none;
    position: relative;
}
.contact-link:hover { text-decoration: underline; }
.contact-person { font-weight: 500; margin: 0 0 4px; }
.contact-role { margin: 0; color: #86868b; }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 15px; font-weight: 500; color: #1d1d1f; }
.form-input, .form-textarea {
    padding: 12px 16px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font-size: 16px;
    color: #1d1d1f;
    font-family: inherit;
    transition: .3s cubic-bezier(.4, 0, .2, 1);
}
.form-input:focus, .form-textarea:focus {
    outline: 0;
    border-color: #0075b0;
    box-shadow: 0 0 0 3px rgba(0,117,176,.1);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-privacy {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}
.form-checkbox { margin-top: 4px; }
.checkbox-label { font-size: 14px; color: #86868b; }
.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0075b0;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 28px;
    border: none;
    border-radius: 980px;
    cursor: pointer;
    align-self: flex-start;
    margin-top: 10px;
    transition: .3s cubic-bezier(.4, 0, .2, 1);
}
.form-submit:hover {
    background: #025f8e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
}
.form-success {
    background: #dff7e8;
    color: #14532d;
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 16px;
}
.form-error {
    background: #fee2e2;
    color: #7f1d1d;
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 16px;
}

/* ============= BOOKS LISTING ============= */
.books-listing-section {
    padding: 80px 0 120px;
    background: #fff;
}
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}
.book-card {
    text-align: center;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
    text-decoration: none;
    color: inherit;
}
.book-card:hover { transform: translateY(-8px); }
.book-card-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    margin-bottom: 20px;
    transition: transform .8s cubic-bezier(.19, 1, .22, 1);
}
.book-card:hover .book-card-image { transform: scale(1.02); }
.book-card-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px;
}
.book-card-author { font-size: 15px; color: var(--text-secondary); margin: 0; }

/* ============= SINGLE BOOK ============= */
.book-detail-section {
    padding: 60px 0 120px;
    background: #fff;
}
.book-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}
.book-detail-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 160px;
}
.book-detail-main-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
.book-detail-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.book-detail-thumb {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
    border: 2px solid transparent;
}
.book-detail-thumb:hover, .book-detail-thumb.active {
    transform: translateY(-2px);
    border-color: var(--primary-color);
}
.book-detail-info h1 {
    font-size: 44px;
    margin: 0 0 8px;
    line-height: 1.1;
    letter-spacing: -.02em;
}
.book-detail-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    margin: 0 0 24px;
}
.book-detail-author-line { font-size: 17px; color: var(--primary-color); font-weight: 600; margin: 0 0 32px; }
.book-detail-description {
    font-size: 17px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 32px;
}
.book-detail-meta {
    border-top: 1px solid #e5e7eb;
    padding-top: 24px;
    margin-top: 24px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}
.book-detail-meta strong { color: var(--text-primary); }
.book-detail-actions { margin: 24px 0 36px; }

/* ============= EVENTS ============= */
.events-section { padding: 80px 0 120px; background: #fff; }
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}
.event-card {
    background: #f5f5f7;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,.04);
    transition: transform .35s ease, box-shadow .35s ease;
}
.event-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.event-date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.event-title { font-size: 24px; font-weight: 600; margin: 0 0 12px; }
.event-location { font-size: 15px; color: var(--text-secondary); margin: 0 0 16px; }
.event-description { font-size: 16px; line-height: 1.6; color: #333; }

/* ============= GALLERY PAGE ============= */
.gallery-container {
    width: 100%; overflow-x: hidden;
    position: relative; /* containing block for hero-content-wrapper */
}

/* Hero */
.gallery-container .gallery-hero {
    position: relative; height: 70vh; min-height: 500px;
    display: flex; align-items: center; justify-content: flex-start;
    overflow: hidden;
}
.gallery-container .hero-bg-wrapper,
.gallery-container .hero-overlay {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
}
.gallery-container .hero-bg-wrapper { z-index: 0; }
.gallery-container .hero-bg-image {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: none !important; animation: none !important; transform: none !important;
}
.gallery-container .hero-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.1) 100%);
    z-index: 1; pointer-events: none;
}

/* Title + quote wrapper — sits over the hero bottom */
.gallery-hero-content-wrapper {
    position: relative;
    z-index: 100;
    margin-top: -180px;
    display: flex; justify-content: center;
    padding: 0 20px;
    pointer-events: none;
}
.gallery-hero-content {
    position: relative; z-index: 2;
    max-width: 1200px; width: 100%;
    padding: 0 40px;
    pointer-events: auto;
}
.gallery-hero-title {
    font-size: 64px; font-weight: 700; color: #fff;
    margin: 0 0 32px; letter-spacing: -.03em; line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,.5);
    animation: fadeInUp 1s cubic-bezier(.4,0,.2,1);
}
@media (min-width: 769px) {
    .gallery-padding-left { padding-left: 20%; }
}

/* Quote box */
.gallery-container .hero-quote {
    position: relative;
    padding: 40px;
    background: rgba(255,255,255,.97);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.2);
    margin: 0;
}
.gallery-container .quote-text {
    font-size: 22px; font-style: italic; line-height: 1.6;
    color: #333; font-weight: 400; margin: 0 !important;
}

/* Intro section */
.gallery-intro-section {
    background: #fff; position: relative; overflow: hidden;
}
.gallery-intro-section .sliding-elements {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none; overflow: hidden; z-index: 1;
}
.gallery-intro-section .sliding-element { position: absolute; pointer-events: none; will-change: transform, opacity; }
.gallery-intro-section .sliding-element-left     { bottom: 14%; left: 10%;  width: 130px !important; z-index: 4; }
.gallery-intro-section .sliding-element-left-bg  { bottom: 10%; left: -10px; width: 200px !important; z-index: 2; }
.gallery-intro-section .sliding-element-right-upper { top: 22%; right: 3%; width: 150px !important; z-index: 4; }
.gallery-intro-section .section-container { position: relative; z-index: 5; }
.gallery-intro-text {
    font-size: 24px; line-height: 1.5; color: #1d1d1f;
    margin: 0 auto; font-weight: 400; text-align: center; max-width: 800px;
}

/* Photo gallery section */
.gallery-photo-section { padding: 80px 0 120px; background: #f5f5f7; }
.mobile-hint { margin-bottom: 32px; display: none; }
.mobile-hint p {
    background: linear-gradient(135deg, #0075b0, #025f8e);
    color: #fff; padding: 12px 24px; border-radius: 25px;
    display: inline-block; font-size: 16px; font-weight: 500; margin: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    animation: gentleBounce 2s ease-in-out infinite;
}

/* Flip cards */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px; margin-top: 40px;
}
.card-toggle { display: none; }
.gallery-card {
    perspective: 1200px; height: 580px;
    animation: fadeInUp .6s both; opacity: 0;
}
.card-wrapper {
    display: block; width: 100%; height: 100%;
    cursor: pointer; transition: transform .3s;
}
.card-inner {
    position: relative; width: 100%; height: 100%;
    transition: transform .8s cubic-bezier(.23, 1, .32, 1);
    transform-origin: center center;
    transform-style: preserve-3d; border-radius: 16px;
}
.card-front, .card-back {
    position: absolute; width: 100%; height: 100%;
    -webkit-backface-visibility: hidden; backface-visibility: hidden;
    overflow: hidden; border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
    transition: box-shadow .3s;
}
.card-front { background: #fff; z-index: 2; transform: rotateY(0); }
.card-back {
    background: linear-gradient(135deg, #0075b0 0%, #025f8e 100%);
    color: #fff; transform: rotateY(180deg);
    display: flex; align-items: center; justify-content: center;
    padding: 32px; z-index: 1; text-align: center;
}
.gallery-image {
    width: 100%; height: 100%; object-fit: cover;
    object-position: center; display: block;
    backface-visibility: hidden;
    transition: transform .4s, filter .3s;
}
.card-overlay {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,.15);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .4s; z-index: 3;
}
.flip-hint {
    background: rgba(255,255,255,.95); padding: 16px; border-radius: 50%;
    animation: pulse 2s infinite; backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.flip-icon { width: 28px; height: 28px; color: #0075b0; }
.card-content { text-align: center; }
.card-title { font-size: 28px; font-weight: 600; margin: 0 0 20px; line-height: 1.2; }
.card-description { font-size: 16px; line-height: 1.6; margin: 0; opacity: .9; }
.empty-gallery { padding: 80px 20px; background: #fff; border-radius: 16px; text-align: center; }
.empty-icon { font-size: 64px; margin-bottom: 24px; opacity: .5; }
.empty-gallery h3 { font-size: 32px; font-weight: 600; color: #1d1d1f; margin: 0 0 16px; }
.empty-gallery p  { font-size: 18px; color: #86868b; margin: 0; }

/* Hover (desktop) */
@media (min-width: 769px) {
    .card-wrapper:hover { transform: translateY(-8px); }
    .card-wrapper:hover .card-inner { transform: rotateY(180deg); }
    .card-wrapper:hover .card-front,
    .card-wrapper:hover .card-back  { box-shadow: 0 20px 60px rgba(0,0,0,.15); }
    .card-wrapper:hover .gallery-image { transform: scale(1.02); filter: brightness(1.05); }
    .card-wrapper:hover .card-overlay  { opacity: 1; }
}

/* Mobile tap-to-flip */
@media (max-width: 768px) {
    .mobile-hint { display: block; }
    .gallery-container .hero-quote { padding: 10px !important; }
    .gallery-container .quote-text { font-size: 15px !important; }
    .card-toggle:checked + .card-wrapper .card-inner {
        transform: rotateY(180deg);
        animation: autoFlipBack 6s ease-in-out forwards;
    }
    .card-toggle:checked + .card-wrapper .card-front,
    .card-toggle:checked + .card-wrapper .card-back { box-shadow: 0 20px 60px rgba(0,0,0,.15); }
}

/* Focus accessibility */
.card-wrapper:focus-within { outline: 3px solid #0075b0; outline-offset: 4px; }
.card-wrapper:focus-within .card-inner { transform: rotateY(180deg); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .card-inner, .flip-hint, .gallery-card, .gallery-image, .mobile-hint p {
        animation: none !important; transition: none !important;
    }
    .card-wrapper:hover .card-inner,
    .card-toggle:checked + .card-wrapper .card-inner { transform: none !important; }
    .card-back { position: relative; transform: none; margin-top: 16px; padding: 24px; border-radius: 16px; }
    .gallery-card { height: auto; }
}

/* Gallery responsive */
@media (max-width: 1225px) {
    .gallery-intro-section .sliding-element-left    { bottom: 14%; left: 10%; width: 150px !important; z-index: -1; }
    .gallery-intro-section .sliding-element-left-bg { bottom: 10%; left: -10px; width: 200px !important; }
    .gallery-intro-section .sliding-element-right-upper { width: 125px !important; right: 25px; top: 35%; }
}
@media (max-width: 1200px) {
    .gallery-grid { grid-template-columns: repeat(2,1fr); gap: 28px; }
    .gallery-card { height: 380px; }
    .gallery-hero-content { padding: 0 20px; }
}
@media (max-width: 1025px) {
    .gallery-intro-section .sliding-element-left    { bottom: 14%; left: 5%; width: 100px !important; z-index: -1; }
    .gallery-intro-section .sliding-element-left-bg { bottom: 10%; left: -10px; width: 120px !important; }
    .gallery-intro-section .sliding-element-right-upper { width: 95px !important; right: 35px; top: 29%; }
    .gallery-hero-title { font-size: 48px; }
    .gallery-hero-content { padding: 0 20px; }
}
@media (max-width: 768px) {
    .gallery-hero-title { font-size: 48px; }
    .gallery-hero-content { padding: 0 20px; }
    .gallery-intro-text { font-size: 20px; }
    .gallery-grid { grid-template-columns: 1fr; gap: 24px; }
    .gallery-card { height: 320px; }
    .card-back { padding: 24px; }
    .card-title { font-size: 22px; margin-bottom: 16px; }
    .card-description { font-size: 15px; }
}
@media (max-width: 480px) {
    .gallery-hero-title { font-size: 36px; }
    .gallery-hero-content-wrapper { margin-top: -120px; }
    .gallery-intro-text { font-size: 18px; }
    .gallery-photo-section { padding: 60px 0 80px; }
    .gallery-card { height: 300px; }
    .card-title { font-size: 20px; margin-bottom: 12px; }
    .card-description { font-size: 14px; }
    .gallery-intro-section .sliding-element-left,
    .gallery-intro-section .sliding-element-left-bg,
    .gallery-intro-section .sliding-element-right-upper { width: 80px !important; }
}
@media (max-width: 320px) {
    .gallery-intro-section .sliding-element { display: none; }
}

@keyframes gentleBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-3px); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: .9; }
    50%       { transform: scale(1.1); opacity: 1; }
}
@keyframes autoFlipBack {
    0%, 85% { transform: rotateY(180deg); }
    100%    { transform: rotateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============= NEWSLETTER PAGE ============= */
.newsletter-container { width: 100%; overflow-x: hidden; }

/* Hero */
.newsletter-hero {
    position: relative;
    min-height: 500px;
    background: #f5f5f7;
    overflow: hidden;
}
.newsletter-hero .hero-bg-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.newsletter-hero .hero-bg-image { width: 100%; height: 100%; object-fit: cover; opacity: .9; transform: scale(1.05); }

/* Overlapping title + quote */
.nl-hero-content-wrapper {
    position: relative;
    z-index: 100;
    margin-top: -180px;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}
.nl-hero-content { max-width: 800px; width: 100%; text-align: center; }
.nl-hero-title {
    font-size: 56px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,.5);
    margin: 0 0 40px;
    letter-spacing: -.022em;
    line-height: 1.07;
}
.nl-hero-content .hero-quote {
    padding: 40px;
    background: rgba(255,255,255,.85);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
}
.nl-hero-content .quote-text {
    font-size: 22px;
    line-height: 1.45;
    font-style: italic;
    color: #1d1d1f;
    margin: 0;
}

/* Main section */
.newsletter-section {
    padding: 180px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

/* Sliding elements scoped to newsletter section */
.newsletter-section .sliding-element-left     { bottom: 1%;  left: 10px; width: 300px !important; z-index: 4; }
.newsletter-section .sliding-element-left-bg  { bottom: -1%; left: -10px; width: 400px !important; opacity: .79 !important; z-index: 2; }
.newsletter-section .sliding-element-right-upper { top: 14%; right: 10%; width: 170px !important; z-index: 4; }
.newsletter-section .sliding-element-right-side  { top: 30%; right: 3%;  width: 140px !important; z-index: 3; }

.newsletter-content { text-align: center; }
.lead-text {
    font-size: 24px;
    line-height: 1.42;
    max-width: 800px;
    margin: 0 auto 60px;
    letter-spacing: .005em;
    font-weight: 400;
    color: #1d1d1f;
}
.story-divider { margin: 40px 0; }
.divider-icon { width: 60px; height: 12px; opacity: .6; }

/* Form card */
.newsletter-form-wrapper {
    max-width: 620px;
    margin: 0 auto;
    padding: 50px;
    background: #fbfbfd;
    border-radius: 20px;
    box-shadow: 0 12px 50px rgba(0,0,0,.04);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0,0,0,.05);
    text-align: center;
}
.form-title {
    font-size: 32px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 30px;
    letter-spacing: -.021em;
}
#newsletter-form { margin-top: 30px; text-align: left; }
.name-fields-row { display: flex; gap: 16px; }
.form-group { margin-bottom: 25px; }
.form-group.half-width { flex: 1; min-width: 0; }
.form-group label { display: block; font-size: 17px; font-weight: 500; color: #1d1d1f; margin-bottom: 10px; letter-spacing: -.01em; }
.form-control {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 14px;
    font-size: 17px;
    color: #1d1d1f;
    background: rgba(0,0,0,.02);
    transition: .3s;
    box-sizing: border-box;
}
.form-control:focus { outline: 0; border-color: #06c; box-shadow: 0 0 0 4px rgba(0,102,204,.1); background: #fff; }
.checkbox-container { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 30px; }
.checkbox-label { font-size: 15px; color: #515154; line-height: 1.4; letter-spacing: -.01em; }
.checkbox-label a { color: #06c; text-decoration: none; }
.checkbox-label a:hover { text-decoration: underline; }
.btn-submit {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: #06c;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    padding: 16px 20px;
    border: none;
    border-radius: 980px;
    cursor: pointer;
    transition: .3s cubic-bezier(.4,0,0,1);
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    width: 100%;
    position: relative;
    overflow: hidden;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.1); background: #05b; }
.button-icon { width: 16px; height: 16px; flex-shrink: 0; transition: transform .3s; }
.btn-submit:hover .button-icon { transform: translateX(3px); }

/* Benefits */
.benefits { margin-top: 40px; text-align: left; }
.benefit { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.benefit:last-child { margin-bottom: 0; }
.benefit-icon { width: 20px; height: 20px; color: #06c; flex-shrink: 0; margin-top: 3px; }
.benefit p { font-size: 17px; line-height: 1.47; color: #424245; margin: 0; letter-spacing: -.01em; }

/* Form messages */
.form-success, .form-error {
    margin-top: 25px;
    padding: 16px;
    border-radius: 14px;
    font-size: 15px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 12px;
}
.form-success { background: rgba(52,199,89,.1); color: #28a745; border: 1px solid rgba(52,199,89,.2); }
.form-error   { background: rgba(255,59,48,.1);  color: #ff3b30; border: 1px solid rgba(255,59,48,.2); }
.status-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* Info section */
.nl-info-section { padding: 100px 0; background: #f5f5f7; }
.nl-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.nl-info-item {
    padding: 40px 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,.04);
    border: 1px solid rgba(0,0,0,.05);
    transition: transform .4s cubic-bezier(.4,0,0,1);
}
.nl-info-item:hover { transform: translateY(-5px); }
.nl-info-icon { width: 48px; height: 48px; color: #06c; margin-bottom: 20px; }
.nl-info-title { font-size: 22px; font-weight: 600; color: #1d1d1f; margin: 0 0 15px; letter-spacing: -.01em; }
.nl-info-text  { font-size: 17px; line-height: 1.47; color: #424245; margin: 0; letter-spacing: -.01em; }

/* CTA section */
.nl-cta-section {
    padding: 140px 0;
    background: linear-gradient(135deg, #06c 0, #04a 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.nl-cta-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -30%;
    width: 150%; height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,.07) 0, transparent 50%);
    transform: rotate(30deg);
}
.nl-cta-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.nl-cta-title { font-size: 56px; font-weight: 600; color: #fff; margin: 0 0 24px; letter-spacing: -.022em; line-height: 1.07; }
.nl-cta-text  { font-size: 21px; line-height: 1.42; color: rgba(255,255,255,.9); margin: 0 0 48px; }
.nl-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #06c;
    padding: 14px 32px;
    border-radius: 980px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: .3s;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    position: relative;
    overflow: hidden;
}
.nl-cta-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); text-decoration: none; color: #06c; }
.nl-cta-button:hover .button-icon { transform: translateX(3px); }

/* Newsletter responsive */
@media (max-width: 1024px) {
    .newsletter-section { padding: 280px 0 180px; }
    .newsletter-section .sliding-element-left     { width: 200px !important; }
    .newsletter-section .sliding-element-left-bg  { width: 300px !important; }
    .newsletter-section .sliding-element-right-upper { width: 95px !important; right: 35px; top: 22%; }
    .newsletter-section .sliding-element-right-side  { width: 75px !important; right: -10px; top: 29%; }
}
@media (max-width: 768px) {
    .newsletter-section { padding: 100px 0 180px; }
    .nl-hero-title, .nl-cta-title { font-size: 40px; }
    .nl-cta-text, .nl-hero-content .quote-text { font-size: 19px; }
    .lead-text { font-size: 21px; }
    .newsletter-form-wrapper { padding: 30px 25px; }
    .form-title { font-size: 28px; }
    .nl-info-grid { grid-template-columns: 1fr; gap: 30px; }
    .newsletter-hero { min-height: 350px; }
    .nl-cta-section { padding: 80px 0; }
    .name-fields-row { flex-direction: column; gap: 0; }
    .nl-hero-content-wrapper { margin-top: -120px; }
}
@media (max-width: 480px) {
    .nl-hero-title, .nl-cta-title { font-size: 32px; }
    .newsletter-form-wrapper { padding: 25px 20px; }
    .form-title { font-size: 24px; }
    .nl-cta-button { padding: 11px 20px; font-size: 16px; }
}

/* ============= GENERIC PAGE ============= */
.generic-page-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    overflow: hidden;
}
.generic-page-hero .hero-bg-wrapper { width: 100%; height: 100%; }
.generic-page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px 120px;
    font-size: 17px;
    line-height: 1.7;
    color: #333;
}
.generic-page-content h1 { font-size: 40px; margin: 0 0 24px; }
.generic-page-content h2 { font-size: 28px; margin: 40px 0 16px; }
.generic-page-content h3 { font-size: 22px; margin: 32px 0 12px; }
.generic-page-content p { margin: 0 0 18px; }
.generic-page-content a { color: var(--primary-color); text-decoration: underline; }

/* ============= BOOKS SHOP PAGE ============= */

/* Shop Header */
.shop-header {
    background: #fff;
    padding: 48px 0 0;
    text-align: center;
    border-bottom: 1px solid #d2d2d7;
}
.shop-container { max-width: 100%; margin: 0 auto; padding: 0 40px; }
.shop-title {
    font-size: 48px;
    font-weight: 400;
    letter-spacing: -.003em;
    color: #1d1d1f;
    margin-bottom: 40px;
    line-height: 1.08;
}

/* Filter Bar */
.filter-bar {
    background: #fff;
    padding: 16px 0;
    border-bottom: 1px solid #d2d2d7;
}
.filter-bar-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.filter-button {
    display: flex; align-items: center; gap: 6px;
    background: none; border: none;
    font-size: 17px; color: #007aff; cursor: pointer; padding: 4px 0;
}
.filter-button svg { width: 17px; height: 17px; stroke: #007aff; }
.sort-section { display: flex; align-items: center; gap: 8px; }
.sort-label { font-size: 17px; color: #86868b; font-weight: 400; }
.sort-dropdown { position: relative; }
.sort-button {
    display: flex; align-items: center; gap: 4px;
    background: none; border: none;
    font-size: 17px; color: #007aff; cursor: pointer; padding: 4px 0;
}
.sort-button svg { width: 14px; height: 14px; stroke: #007aff; }
.sort-menu {
    position: absolute; top: 100%; right: 0;
    background: #fff; border: 1px solid #d2d2d7;
    border-radius: 10px; padding: 6px 0;
    min-width: 200px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    display: none; z-index: 200;
}
.sort-menu.active { display: block; }
.sort-option {
    display: block; width: 100%;
    padding: 8px 16px; text-align: left;
    background: none; border: none;
    font-size: 17px; color: #1d1d1f; cursor: pointer;
}
.sort-option:hover { background: #f5f5f7; }
.sort-option.active { color: #007aff; }

/* Backdrop */
.filter-backdrop {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.3);
    z-index: 900;
    opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.filter-backdrop.active { opacity: 1; visibility: visible; }

/* Main Layout */
.shop-content {
    display: flex;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    gap: 40px;
    background: #f5f5f7;
    min-height: 60vh;
}

/* Filter Sidebar */
.filter-sidebar {
    width: 300px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,.15);
    margin: 30px 0;
    height: fit-content;
    overflow: hidden;
    transition: all .3s ease;
}
.filter-sidebar.hidden { width: 0; padding: 0; margin: 0; opacity: 0; overflow: hidden; }
.mobile-filter-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f2f2f7;
}
.mobile-filter-title { font-size: 20px; font-weight: 600; margin: 0; }
.filter-main-menu { padding: 20px 24px; }

/* Accordion groups */
.filter-group { border-bottom: 1px solid #f5f5f7; }
.filter-group:last-child { border-bottom: none; }
.filter-title {
    font-size: 18px; font-weight: 600; color: #1d1d1f;
    padding: 24px 0; cursor: pointer;
    background: none; border: none;
    width: 100%; text-align: left;
    display: flex; align-items: center; justify-content: space-between;
    letter-spacing: -.01em;
}
.filter-title:hover { color: #007aff; }
.filter-arrow { width: 20px; height: 20px; stroke: #8e8e93; transition: transform .2s; flex-shrink: 0; }
.filter-group.active .filter-arrow { transform: rotate(90deg); }
.filter-submenu { display: none; padding: 0 0 20px; }
.filter-group.active .filter-submenu { display: block; }

/* Filter rows */
.filter-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0;
    font-size: 15px; color: #3a3a3c; cursor: pointer;
    background: none;
    border-bottom: 1px solid #f5f5f7;
}
.filter-link:last-child { border-bottom: none; }
.filter-link:hover { color: #007aff; }
.filter-label { flex: 1; }
.filter-right { display: flex; align-items: center; gap: 10px; }
.filter-count { font-size: 14px; color: #8e8e93; font-weight: 500; min-width: 16px; text-align: right; }
.filter-checkbox { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.filter-checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkmark {
    position: absolute; inset: 0;
    border: 1.5px solid #d1d5db; border-radius: 6px;
    background: #fff; transition: all .2s;
    display: flex; align-items: center; justify-content: center;
}
.filter-checkbox input:checked ~ .checkmark { background: #007aff; border-color: #007aff; }
.filter-checkbox input:checked ~ .checkmark::after {
    content: '';
    width: 5px; height: 9px;
    border: 2px solid #fff; border-top: none; border-left: none;
    transform: rotate(45deg); margin-top: -2px;
}

/* Price Slider */
.price-range-container { padding: 4px 0 8px; }
.price-slider { position: relative; height: 20px; margin: 20px 0; }
.price-slider-track { height: 4px; background: #e1e5e9; border-radius: 2px; position: relative; top: 8px; }
.price-slider-fill { height: 4px; background: #007aff; border-radius: 2px; position: absolute; top: 8px; left: 0; width: 100%; }
.price-slider input[type="range"] {
    position: absolute; top: 0; width: 100%; height: 20px;
    -webkit-appearance: none; background: transparent; margin: 0;
}
.price-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 20px; height: 20px;
    border-radius: 50%; background: #007aff; cursor: pointer;
    border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.price-inputs { display: flex; gap: 10px; margin-top: 16px; }
.price-input-group { flex: 1; }
.price-input {
    width: 100%; padding: 8px 12px;
    border: 1px solid #d1d5db; border-radius: 8px;
    font-size: 15px; background: #fff; text-align: center;
}
.price-input:focus { outline: none; border-color: #007aff; }

/* Sidebar action buttons */
.filter-actions {
    display: flex; gap: 12px;
    padding: 16px 20px; border-top: 1px solid #f2f2f7;
}
.filter-clear-btn {
    flex: 1; padding: 12px 16px;
    border: 1px solid #d1d5db; background: #fff;
    color: #374151; border-radius: 8px;
    font-size: 15px; font-weight: 500; cursor: pointer;
}
.filter-show-btn {
    flex: 2; padding: 12px 16px;
    border: none; background: #007aff; color: #fff;
    border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer;
}
.filter-show-btn:hover { background: #0056d6; }

/* Books listing (no sidebar) */
.books-listing-wrap {
    background: #f5f5f7;
    padding: 48px 40px 80px;
}
.books-listing-container {
    max-width: 1080px;
    margin: 0 auto;
}

/* Products Section */
.products-section { flex: 1; padding: 32px 0 80px; }
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.shop-content.sidebar-hidden .products-grid { grid-template-columns: repeat(5, 1fr); }

/* Product Card */
.product-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.1);
    transition: transform .2s ease, box-shadow .2s ease;
    overflow: hidden;
}
.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,.15);
}

/* Image container */
.product-image-container {
    position: relative;
    width: 100%; height: 250px;
    margin-bottom: 20px;
    display: flex; align-items: center; justify-content: center;
    background: transparent;
}
.product-image-container a {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    text-decoration: none;
}
.product-image {
    max-width: 100%; max-height: 100%;
    width: auto; height: auto;
    object-fit: contain;
}

/* Card content */
.product-content { text-align: center; padding: 0 4px 5px; }
.product-release-date { font-size: 12px; color: #86868b; margin-bottom: 8px; }
.product-link { text-decoration: none; color: inherit; display: block; }
.product-link:hover { text-decoration: none; color: inherit; }
.product-title {
    font-size: 16px; font-weight: 600; color: #1d1d1f;
    margin: 0 0 8px; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.product-author { font-size: 14px; color: #666; margin: 0 0 8px; font-weight: 400; }
.product-price { font-size: 18px; font-weight: 700; color: #0066CC; margin: 0 0 4px; }
.product-heart-action { display: flex; justify-content: center; margin-top: 14px; }

/* Heart / Wishlist button */
.wishlist-heart {
    width: 40px; height: 40px;
    background: #f5f5f5; border: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all .2s ease;
}
.wishlist-heart:hover { background: #e0e0e0; transform: scale(1.05); }
.wishlist-heart.active { background: #ff6b6b; color: #fff; }
.wishlist-heart.active:hover { background: #ff5252; }
.heart-icon { width: 20px; height: 20px; stroke-width: 2; }
.wishlist-heart.active .heart-icon { fill: currentColor; }

/* Empty state */
.no-products { text-align: center; padding: 100px 20px; grid-column: 1 / -1; }
.no-products h2 { font-size: 24px; color: #86868b; font-weight: 400; }

/* Responsive */
@media (max-width: 1068px) {
    .shop-title { font-size: 40px; }
    .books-listing-wrap { padding: 32px 20px 60px; }
    .products-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (max-width: 768px) {
    .shop-title { font-size: 32px; margin-bottom: 32px; }
    .books-listing-wrap { padding: 24px 16px 48px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .product-image-container { height: 180px; }
}
@media (max-width: 480px) {
    .shop-title { font-size: 28px; }
    .books-listing-wrap { padding: 16px 16px 40px; }
    .products-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ============= FOOTER ============= */
.footer-pattern-horizontal {
    width: 100%;
    height: 150px;
    background-image: url('../images/elemente/1-Footer-resized2.png');
    background-repeat: repeat-x;
    background-position: center bottom;
    background-size: auto 150px;
    margin-bottom: -11px;
}

/* Cream background wrapper */
.footer-bg-wrapper {
    background-color: #FAF2E0;
}

/* Logo row — horizontal line with logo centered and gap on each side */
.header-separator {
    display: flex;
    align-items: center;
    padding: 0 60px;
}
.header-separator::before,
.header-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #c8b89a;
}
.logo-container {
    margin: 0 28px;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-img2 {
    height: 90px;
    width: auto;
}

/* Footer container */
.footer-container {
    padding: 0 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Payment methods */
.footer-payment-methods {
    padding: 16px 0 20px;
    text-align: center;
}
.payment-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 22px;
}
.payment-logo-wrapper {
    display: flex;
    align-items: center;
    height: 56px;
}
.payment-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

/* Links + copyright */
.footer-bottom {
    padding: 20px 0 36px;
    text-align: center;
    border-top: 1px solid #d9c9ad;
}
.footer-bottom-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 12px;
}
.footer-bottom-link {
    color: #515154;
    font-size: 14px;
    text-decoration: none;
    transition: color .2s ease;
}
.footer-bottom-link:hover { color: var(--primary-color); }
.footer-copyright {
    font-size: 13px;
    color: #4a7fa5;
}

/* ============= SCROLL TO TOP ============= */
.scroll-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background: #374151;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.scroll-to-top:hover {
    background: #2563eb;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, .3);
}
.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-to-top svg {
    width: 24px;
    height: 24px;
    color: white;
    animation: bounceUp 2s ease-in-out infinite;
}
@media (max-width: 768px) {
    .scroll-to-top { bottom: 20px; right: 20px; width: 45px; height: 45px; }
    .scroll-to-top svg { width: 20px; height: 20px; }
}

/* ============= RESPONSIVE ============= */
@media (max-width: 1024px) {
    .about-preview-grid { grid-template-columns: 1fr; gap: 60px; }
    .preview-img { height: 400px; }
    .book-intro-grid { grid-template-columns: 1fr; gap: 60px; }
    .book-cover { max-width: 350px; margin: 0 auto; }
    .book-detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .book-detail-images { position: static; }
}

@media (max-width: 768px) {
    .landing-hero { min-height: 100vh; }
    .hero-title { font-size: 48px; }
    .hero-subtitle { font-size: 22px; }
    .hero-text p { font-size: 18px; }
    .section-title { font-size: 40px; }
    .book-intro-section { padding: 80px 0; }
    .book-title { font-size: 36px; }
    .book-cover { max-width: 280px; }
    .story-columns, .team-grid { grid-template-columns: 1fr; }
    .quote-text { font-size: 19px; }
    .lead-text { font-size: 21px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-card, .contact-form-card { padding: 30px; }
    .book-detail-info h1 { font-size: 32px; }
    .newsletter-card { padding: 40px 24px; }
    .newsletter-card h1 { font-size: 30px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 20px; }
    .section-title { font-size: 32px; }
    .book-title { font-size: 28px; }
    .book-cover { max-width: 240px; }
    .quote-text { font-size: 17px; }
    .hero-quote { padding: 30px 20px; }
    .column-title { font-size: 24px; }
    .member-name { font-size: 20px; }
    .cta-button { padding: 11px 20px; font-size: 16px; }
}

/* ============================================================
   HOME — NEUANKÜNDIGUNG SECTION
   ============================================================ */
.home-announcement {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 50%, #f5f0ff 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.home-announcement::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,117,176,.08) 0%, transparent 70%);
    pointer-events: none;
}
.ann-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 64px;
    align-items: center;
}
.ann-cover-col { display: flex; justify-content: center; }
.ann-cover {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    transition: transform .4s ease;
}
.ann-cover:hover { transform: translateY(-6px) rotate(1deg); }
.ann-content-col { display: flex; flex-direction: column; gap: 16px; }
.ann-badge {
    display: inline-block;
    background: linear-gradient(90deg, #0075b0, #025f8e);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    width: fit-content;
}
.ann-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -.02em;
}
.ann-author {
    font-size: 1.15rem;
    color: #555;
    margin: 0;
}
.ann-release {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}
.ann-release-icon { width: 18px; height: 18px; flex-shrink: 0; }
.ann-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #444;
    margin: 0;
}
.ann-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 999px;
    text-decoration: none;
    width: fit-content;
    margin-top: 8px;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 4px 16px rgba(0,117,176,.25);
}
.ann-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,117,176,.35);
    color: #fff;
}
.ann-cta .button-icon { width: 18px; height: 18px; }
@media (max-width: 900px) {
    .ann-grid { grid-template-columns: 1fr; gap: 40px; }
    .ann-cover { max-width: 240px; }
    .ann-title { font-size: 2.2rem; }
}
@media (max-width: 600px) {
    .home-announcement { padding: 72px 0; }
    .ann-title { font-size: 1.8rem; }
}

/* ============================================================
   AUTHOR CARD  (on single book page)
   ============================================================ */
.author-section {
    margin-top: 48px;
    border-top: 1px solid #e5e7eb;
    padding-top: 32px;
}
.author-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: #f9fafb;
    border-radius: 12px;
    padding: 24px;
}
.author-image { flex-shrink: 0; }
.author-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e5e7eb;
}
.author-avatar-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0075b0, #025f8e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
}
.author-info { flex: 1; }
.author-name { font-size: 18px; font-weight: 700; color: #1d1d1f; margin: 0 0 4px; }
.author-short-desc { font-size: 14px; color: #6b7280; margin: 0 0 8px; font-style: italic; }
.author-bio { font-size: 14px; color: #4b5563; line-height: 1.6; margin: 0 0 12px; }
.author-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}
.author-link:hover { text-decoration: underline; }

/* ============================================================
   AUTHOR PROFILE PAGE  (single-wl_author.php)
   ============================================================ */
.wl-author-page { padding: 60px 0 100px; }

.wl-author-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 64px;
}

.wl-author-photo-col {
    background: linear-gradient(135deg, #e8f4fc 0%, #d0e8f8 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}
.wl-author-image {
    width: 220px;
    height: 220px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.wl-author-photo-placeholder {
    width: 220px;
    height: 220px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0075b0, #025f8e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    font-weight: 700;
    color: #fff;
}

.wl-author-details {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.wl-author-name { font-size: 2.6rem; font-weight: 700; color: #1d1d1f; margin: 0 0 8px; }
.wl-author-role { font-size: 1.05rem; color: #0075b0; font-weight: 600; margin: 0 0 6px; }
.wl-author-book-count { font-size: 0.95rem; color: #6b7280; margin: 0 0 24px; }
.wl-author-bio { font-size: 1.05rem; line-height: 1.7; color: #374151; }

.wl-author-books { border-top: 1px solid #e5e7eb; padding-top: 48px; }
.wl-author-books-title { font-size: 2rem; font-weight: 700; color: #1d1d1f; margin: 0 0 32px; }

.wl-author-books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}
.wl-author-book-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wl-author-book-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.10); }
.wl-author-book-image { height: 280px; display: flex; align-items: center; justify-content: center; background: #f9fafb; overflow: hidden; }
.wl-author-book-image img { width: 100%; height: 100%; object-fit: cover; }
.wl-author-book-placeholder { font-size: 60px; }
.wl-author-book-info { padding: 20px; }
.wl-author-book-title { font-size: 1.05rem; font-weight: 700; color: #1d1d1f; margin: 0 0 4px; }
.wl-author-book-subtitle { font-size: 0.9rem; color: #6b7280; margin: 0 0 8px; }
.wl-author-book-price { font-size: 1rem; font-weight: 700; color: #0075b0; margin: 0; }

@media (max-width: 900px) {
    .wl-author-header { grid-template-columns: 1fr; gap: 32px; }
    .wl-author-photo-col { padding: 24px; }
    .wl-author-image, .wl-author-photo-placeholder { width: 160px; height: 160px; }
    .wl-author-name { font-size: 2rem; }
    .wl-author-details { padding: 28px; }
}
@media (max-width: 600px) {
    .wl-author-page { padding: 32px 0 64px; }
    .author-card { flex-direction: column; align-items: center; text-align: center; }
    .wl-author-books-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
    .wl-author-books-grid { grid-template-columns: 1fr; }
}
