/* ============================================
   MICHELFELDER – Modern Website
   Farbschema: Blau & Grau (passend zum Buchcover)
   ============================================ */

:root {
    --color-primary: #1A5BA3;
    --color-primary-dark: #0D3D6E;
    --color-primary-light: #2D72C0;
    --color-accent: #c9a961;
    --color-accent-light: #f0e6cc;
    --color-bg: #f8f9fc;
    --color-bg-light: #eef1f7;
    --color-bg-dark: #1a2535;
    --color-text: #2c3e50;
    --color-text-light: #546a7b;
    --color-text-muted: #8899a6;
    --color-white: #ffffff;
    --color-border: #d4dbe5;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --nav-height: 72px;
    --container-width: 1120px;
    --container-narrow: 780px;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 2px 20px rgba(26, 91, 163, 0.08);
    --shadow-hover: 0 12px 40px rgba(26, 91, 163, 0.15);
    --shadow-card: 0 4px 24px rgba(26, 91, 163, 0.1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--color-text); background: var(--color-bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-light); }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-primary-dark); line-height: 1.3; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 500; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; margin-top: 1.5rem; }
.lead { font-size: 1.15rem; color: var(--color-text-light); line-height: 1.8; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 2rem; }

/* ---- Navbar ---- */
.navbar { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height); background: rgba(255,255,255,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--color-border); z-index: 1000; transition: background var(--transition), box-shadow var(--transition); }
.navbar.scrolled { background: rgba(255,255,255,0.97); box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-container { max-width: var(--container-width); margin: 0 auto; padding: 0 2rem; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-logo { display: flex; flex-direction: column; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 28px; width: auto; }
.logo-sub { font-size: 0.65rem; color: var(--color-text-muted); letter-spacing: 0.02em; text-transform: uppercase; margin-top: 2px; }
.nav-menu { display: flex; gap: 0.2rem; align-items: center; }
.nav-link { padding: 0.5rem 0.8rem; font-size: 0.85rem; font-weight: 450; color: var(--color-text); border-radius: var(--radius-sm); transition: all var(--transition); white-space: nowrap; }
.nav-link:hover { color: var(--color-primary); background: var(--color-bg-light); }
.nav-link.active { color: var(--color-primary); background: rgba(26,91,163,0.08); }

/* ---- Language Switcher with Flags ---- */
.lang-switcher { display: flex; gap: 2px; background: var(--color-bg-light); border-radius: 20px; padding: 3px; flex-shrink: 0; }
.lang-btn { display: flex; align-items: center; gap: 4px; padding: 5px 12px; font-size: 0.72rem; font-weight: 600; color: var(--color-text-muted); border-radius: 16px; transition: all var(--transition); text-decoration: none; letter-spacing: 0.03em; }
.lang-btn:hover { color: var(--color-primary); }
.lang-btn.active { background: var(--color-white); color: var(--color-primary); box-shadow: 0 1px 6px rgba(0,0,0,0.12); }
.lang-flag { border-radius: 2px; box-shadow: 0 0 1px rgba(0,0,0,0.25); flex-shrink: 0; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--color-text); border-radius: 2px; transition: all var(--transition); }

/* ---- Hero ---- */
.hero { position: relative; min-height: 85vh; display: flex; align-items: center; justify-content: center; text-align: center; background: linear-gradient(135deg, rgba(13,61,110,0.88), rgba(26,91,163,0.78)), url('../images/hero_healing.jpg') center/cover no-repeat; margin-top: var(--nav-height); overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 60%, rgba(13,61,110,0.3)); }
.hero-content { position: relative; z-index: 2; padding: 4rem 2rem; max-width: 800px; }
.hero-title { color: var(--color-white); margin-bottom: 1rem; text-shadow: 0 2px 16px rgba(0,0,0,0.3); }
.hero-subtitle { color: rgba(255,255,255,0.92); font-size: 1.2rem; margin-bottom: 2rem; line-height: 1.7; }
.hero-particles { position: absolute; inset: 0; pointer-events: none; z-index: 1; }

/* ---- Page Heroes ---- */
.page-hero { position: relative; min-height: 40vh; display: flex; align-items: center; justify-content: center; text-align: center; margin-top: var(--nav-height); overflow: hidden; background-size: cover; background-position: center; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,61,110,0.82), rgba(26,91,163,0.72)); }
.page-hero-content { position: relative; z-index: 2; padding: 3rem 2rem; }
.page-hero-content h1 { color: var(--color-white); text-shadow: 0 2px 16px rgba(0,0,0,0.2); }
.page-hero-content p { color: rgba(255,255,255,0.88); font-size: 1.15rem; margin-top: 0.75rem; }

.page-hero-galvano { background: url('../images/hero_healing.jpg') center/cover no-repeat; }
.page-hero-buch { background: url('../images/hero_buch.jpg') center/cover no-repeat; }
.page-hero-beratung { background: url('../images/hero_beratung.jpg') center/cover no-repeat; }
.page-hero-kontakt { background: url('../images/hero_kontakt.jpg') center/cover no-repeat; }
.page-hero-legal { background: url('../images/hero_buch.jpg') center/cover no-repeat; min-height: 28vh; }

/* ---- Sections ---- */
.section { padding: 5rem 0; }
.section-light { background: var(--color-bg-light); }
.section-dark { background: var(--color-bg-dark); color: var(--color-white); }
.section-dark h2 { color: var(--color-white); }
.section-accent { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); color: var(--color-white); }
.section-accent h2 { color: var(--color-white); }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-tradition { background: linear-gradient(135deg, rgba(238,241,247,0.94), rgba(248,249,252,0.9)), url('../images/tradition_herbs.jpg') center/cover no-repeat; }
.section-buy { background: linear-gradient(135deg, rgba(26,91,163,0.04), rgba(201,169,97,0.06)), var(--color-bg); }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2rem; font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; border-radius: 50px; border: none; cursor: pointer; transition: all var(--transition); text-decoration: none; }
.btn-primary { background: var(--color-white); color: var(--color-primary); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.btn-primary:hover { background: var(--color-accent-light); color: var(--color-primary-dark); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.btn-download { background: var(--color-primary); color: var(--color-white); padding: 0.75rem 1.5rem; }
.btn-download:hover { background: var(--color-primary-light); color: var(--color-white); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.btn-disabled { opacity: 0.4; pointer-events: none; }
.btn-full { width: 100%; justify-content: center; padding: 1rem; font-size: 1rem; }
.btn-buy { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 2.5rem; background: var(--color-primary); color: var(--color-white); font-family: var(--font-body); font-size: 1rem; font-weight: 500; border-radius: 50px; border: none; cursor: pointer; transition: all var(--transition); text-decoration: none; }
.btn-buy:hover { background: var(--color-primary-light); color: var(--color-white); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(26,91,163,0.3); }

/* ---- Content Layouts ---- */
.intro-block { text-align: center; max-width: 700px; margin: 0 auto; }
.intro-block h2 { margin-bottom: 1.5rem; }
.content-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.content-split.reverse { direction: rtl; }
.content-split.reverse > * { direction: ltr; }
.content-text p { margin-bottom: 1rem; }
.content-media { display: flex; justify-content: center; }
.img-rounded { border-radius: var(--radius); box-shadow: var(--shadow-card); }
.img-tilt { transition: transform 0.6s cubic-bezier(0.4,0,0.2,1), box-shadow 0.6s ease; }
.img-tilt:hover { transform: perspective(800px) rotateY(-5deg) rotateX(3deg) scale(1.04); box-shadow: var(--shadow-hover); }
.book-cover { max-width: 280px; }

/* ---- Floating Monstera ---- */
.monstera-float { position: relative; }
.monstera-float .monstera-img { float: right; width: 220px; margin: 0 0 1.5rem 2rem; border-radius: var(--radius); box-shadow: var(--shadow-card); shape-outside: margin-box; transition: transform 0.6s ease; }
.monstera-float .monstera-img:hover { transform: rotate(-3deg) scale(1.05); }
.monstera-float::after { content: ''; display: table; clear: both; }

/* ---- History Grid ---- */
.history-grid { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 2rem; align-items: center; }
.history-card { text-align: center; }
.history-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 3/4; }
.history-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.6s ease; }
.history-card:hover .history-img img { transform: scale(1.08); }
.caption { font-size: 0.82rem; color: var(--color-text-muted); margin-top: 0.75rem; font-style: italic; }
.history-text { padding: 1rem 0; }

/* ---- Cards / Tour Grid ---- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.tour-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.tour-card { background: var(--color-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); transition: all 0.4s cubic-bezier(0.4,0,0.2,1); text-decoration: none; color: var(--color-text); display: flex; flex-direction: column; }
.tour-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-hover); color: var(--color-text); }
.tour-card-img { height: 220px; overflow: hidden; background: var(--color-bg-light); display: flex; align-items: center; justify-content: center; }
.tour-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.tour-card:hover .tour-card-img img { transform: scale(1.08); }
.tour-card-icon { padding: 2rem; color: var(--color-primary); }
.tour-card-icon svg { width: 64px; height: 64px; }
.tour-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.tour-card-body h3 { font-size: 1.2rem; margin-bottom: 0.5rem; margin-top: 0; }
.tour-card-body p { font-size: 0.9rem; color: var(--color-text-light); flex: 1; }
.tour-link { color: var(--color-primary); font-weight: 500; font-size: 0.88rem; margin-top: 1rem; transition: all var(--transition); }
.tour-card:hover .tour-link { color: var(--color-primary-light); letter-spacing: 0.02em; }
.tour-card-sm .tour-card-img { height: 180px; }
.tour-card-img--contain { background: var(--color-white); padding: 1rem; }
.tour-card-img--contain img { object-fit: contain !important; }

/* ---- Pillars Grid ---- */
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.pillar-card { background: var(--color-white); border-radius: var(--radius); padding: 2.5rem 2rem; box-shadow: var(--shadow-card); text-align: center; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); border: 1px solid transparent; }
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(26,91,163,0.1); }
.pillar-icon { color: var(--color-primary); margin-bottom: 1.5rem; }
.pillar-icon svg { width: 56px; height: 56px; }
.pillar-card h3 { margin-top: 0; margin-bottom: 1rem; }
.pillar-card p { color: var(--color-text-light); font-size: 0.95rem; line-height: 1.8; }

/* ---- Specs Table ---- */
.specs-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.specs-table th, .specs-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--color-border); }
.specs-table th { font-weight: 600; color: var(--color-primary-dark); width: 40%; }
.controls-list { padding-left: 1.5rem; margin: 1rem 0; }
.controls-list li { padding: 0.3rem 0; color: var(--color-text-light); }

/* ---- Indication List ---- */
.indication-list { list-style: none; margin: 1.5rem 0; }
.indication-list li { padding: 0.5rem 0 0.5rem 1.8rem; position: relative; color: var(--color-text-light); border-bottom: 1px solid rgba(212,219,229,0.5); }
.indication-list li:last-child { border-bottom: none; }
.indication-list li::before { content: ''; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--color-primary); transform: translateY(-50%); opacity: 0.5; }

/* ---- Accordion ---- */
.accordion { border: 1px solid var(--color-border); border-radius: var(--radius); margin-top: 1rem; overflow: hidden; background: var(--color-white); box-shadow: 0 1px 8px rgba(0,0,0,0.04); }
.accordion + .accordion { margin-top: 0.5rem; }
.accordion-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1.1rem 1.5rem; background: none; border: none; font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--color-primary-dark); cursor: pointer; transition: all var(--transition); }
.accordion-trigger:hover { background: var(--color-bg-light); color: var(--color-primary); }
.accordion-trigger svg { transition: transform 0.4s cubic-bezier(0.4,0,0.2,1); flex-shrink: 0; color: var(--color-primary); }
.accordion-trigger.open { background: rgba(26,91,163,0.04); }
.accordion-trigger.open svg { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1); }
.accordion-content.open { max-height: 800px; }
.accordion-content p { padding: 0.5rem 1.5rem 1.5rem; color: var(--color-text-light); line-height: 1.8; }

/* ---- Quotes ---- */
.hero-quote, .quote-block { max-width: 700px; margin: 0 auto; text-align: center; padding: 2rem 0; }
.hero-quote p, .quote-block p { font-family: var(--font-heading); font-size: 1.3rem; font-style: italic; line-height: 1.7; margin-bottom: 1rem; }
.hero-quote cite, .quote-block cite { font-size: 0.85rem; font-style: normal; opacity: 0.7; }
.section-dark .hero-quote p, .section-accent .quote-block p { color: rgba(255,255,255,0.95); }
.section-dark .hero-quote cite, .section-accent .quote-block cite { color: rgba(255,255,255,0.6); }
.inline-quote { border-left: 3px solid var(--color-accent); padding-left: 1.5rem; margin: 1.5rem 0; color: var(--color-text-light); font-style: italic; }
.text-block { max-width: 700px; margin: 0 auto; text-align: center; }
.text-block p { margin-top: 1rem; }
.author-line { font-style: italic; color: var(--color-text-muted); margin-bottom: 1.5rem; font-size: 1.05rem; }

/* ---- Download Form ---- */
.download-form-block { background: var(--color-white); border-radius: var(--radius); padding: 3rem; box-shadow: var(--shadow-card); }
.download-form-block h2 { text-align: center; margin-bottom: 0.5rem; }
.download-form-block .lead { text-align: center; margin-bottom: 2rem; }
.download-form { margin-top: 1.5rem; }
.form-row { display: flex; gap: 1rem; margin-bottom: 1rem; }
.form-group { flex: 1; display: flex; flex-direction: column; }
.form-group.form-full { flex: 1 1 100%; }
.form-group.form-sm { flex: 0 0 120px; }
.form-group label { font-size: 0.82rem; font-weight: 500; color: var(--color-text); margin-bottom: 0.3rem; }
.form-group label .req { color: var(--color-primary); }
.form-group label .opt { color: var(--color-text-muted); font-weight: 400; }
.form-group input, .form-group textarea { padding: 0.7rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.9rem; transition: border-color var(--transition), box-shadow var(--transition); background: var(--color-bg); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(26,91,163,0.12); }
.form-group textarea { resize: vertical; }
.form-privacy { font-size: 0.8rem; color: var(--color-text-muted); text-align: center; margin: 1rem 0; }
.lang-select-group { display: flex; gap: 1rem; margin-top: 0.3rem; }
.lang-radio { display: flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; cursor: pointer; }
.lang-radio.disabled { opacity: 0.4; cursor: not-allowed; }
.badge-sm { font-size: 0.65rem; background: var(--color-bg-light); padding: 2px 6px; border-radius: 8px; color: var(--color-text-muted); }
.form-success { text-align: center; padding: 2rem; color: var(--color-primary); }
.form-success svg { margin: 0 auto 1rem; }
.form-success p { font-size: 1.1rem; font-weight: 500; }
.form-error { text-align: center; padding: 1rem; background: #fef2f2; border-radius: var(--radius-sm); color: #991b1b; margin-bottom: 1rem; }

/* ---- Buy Block ---- */
.buy-block { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; align-items: center; background: var(--color-white); border-radius: var(--radius); padding: 3rem; box-shadow: var(--shadow-card); border: 2px solid var(--color-accent-light); }
.buy-content h2 { color: var(--color-primary-dark); }
.buy-note { color: var(--color-text-muted); font-size: 0.9rem; margin-top: 0.5rem; margin-bottom: 1.5rem; }
.buy-image { display: flex; justify-content: center; }
.buy-image img { max-width: 280px; border-radius: var(--radius); box-shadow: var(--shadow-card); }

/* ---- AI Block ---- */
.ai-block { text-align: center; max-width: 600px; margin: 0 auto; }
.ai-icon { color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; }
.ai-block h2 { color: var(--color-white); }
.ai-block p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }
.badge { display: inline-block; padding: 0.4rem 1.2rem; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); border-radius: 50px; font-size: 0.8rem; color: rgba(255,255,255,0.8); letter-spacing: 0.04em; }

/* ---- Service Blocks ---- */
.service-icon { color: var(--color-primary); margin-bottom: 1.5rem; }
.service-list { list-style: none; margin: 1.5rem 0; }
.service-list li { padding: 0.6rem 0 0.6rem 2rem; position: relative; color: var(--color-text-light); }
.service-list li::before { content: ''; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); opacity: 0.5; transform: translateY(-50%); }

/* ---- CTA Block ---- */
.cta-block { text-align: center; padding: 2rem 0; }
.cta-block h2 { color: var(--color-white); margin-bottom: 0.5rem; }
.cta-block p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }

/* ---- Contact Grid ---- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.contact-card { background: var(--color-white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-card); transition: all 0.4s ease; border: 1px solid transparent; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(26,91,163,0.1); }
.contact-card h2 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.contact-card h3 { font-family: var(--font-body); font-size: 0.85rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 1.2rem; }
.contact-name { font-size: 1.1rem; font-weight: 500; color: var(--color-primary-dark); margin-bottom: 0.5rem; }
.contact-card p { margin-bottom: 0.3rem; color: var(--color-text-light); }
.contact-card a { color: var(--color-primary); }

/* ---- Legal Pages ---- */
.legal-block { background: var(--color-white); border-radius: var(--radius); padding: 3rem; box-shadow: var(--shadow-card); }
.legal-address { padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--color-border); }
.legal-address p { margin-bottom: 0.25rem; }
.legal-detail { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.legal-section { margin-bottom: 2rem; }
.legal-section h2 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; }
.legal-section p { color: var(--color-text-light); margin-top: 0.5rem; line-height: 1.8; }

/* ---- Footer ---- */
.footer { background: var(--color-bg-dark); color: rgba(255,255,255,0.7); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--color-white); letter-spacing: 0.04em; }
.footer-tagline { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin: 0.5rem 0 1rem; }
.footer-address { font-size: 0.88rem; line-height: 1.7; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--color-white); }
.footer-bottom { padding-top: 2rem; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.35); }

/* ---- 3D Book ---- */
.book-3d-wrapper { perspective: 1200px; display: flex; justify-content: center; padding: 2rem 0; }
.book-3d { position: relative; width: 280px; transform-style: preserve-3d; transform: rotateY(-25deg); transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); cursor: pointer; }
.book-3d:hover { transform: rotateY(-8deg) scale(1.04); }
.book-3d img { width: 100%; display: block; border-radius: 2px 8px 8px 2px; box-shadow: 8px 8px 30px rgba(0,0,0,0.35), 0 0 12px rgba(0,0,0,0.1); }
.book-3d::before { content: ''; position: absolute; top: 2%; right: -28px; width: 28px; height: 96%; background: linear-gradient(90deg, #e8e4df, #d1ccc4 30%, #c4bfb7 60%, #b8b2aa); transform: rotateY(90deg); transform-origin: left center; border-radius: 0 3px 3px 0; }
.book-3d::after { content: ''; position: absolute; bottom: -14px; left: 10px; right: 2px; height: 24px; background: rgba(0,0,0,0.18); filter: blur(12px); border-radius: 50%; z-index: -1; }

/* ---- Scroll Progress Bar ---- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light), var(--color-accent)); z-index: 1001; transition: width 0.1s linear; width: 0%; }

/* ---- Glow Divider ---- */
.glow-divider { height: 2px; background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-accent), var(--color-primary), transparent); opacity: 0.3; margin: 0; }

/* ============================================
   ANIMATIONS
   ============================================ */

/* Fade in up (default) */
.fade-in { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.8s ease forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* Scroll reveal: fade up */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Scroll reveal: slide from left */
.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4,0,0.2,1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* Scroll reveal: slide from right */
.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4,0,0.2,1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Scale in */
.reveal-scale { opacity: 0; transform: scale(0.85); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4,0,0.2,1); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Staggered children */
.stagger-children > * { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.visible > * { opacity: 1; transform: translateY(0); }

/* Gradient shift on hero */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.hero-overlay { animation: gradientShift 8s ease infinite; background-size: 200% 200%; }

/* Floating animation for monstera */
@keyframes floatSoft {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}
.monstera-float .monstera-img { animation: floatSoft 6s ease-in-out infinite; }
.monstera-float .monstera-img:hover { animation-play-state: paused; }

/* Pulse glow for buttons */
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 4px 20px rgba(26,91,163,0.15); }
    50% { box-shadow: 0 4px 30px rgba(26,91,163,0.3); }
}
.btn-buy { animation: pulseGlow 3s ease-in-out infinite; }
.btn-buy:hover { animation: none; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .content-split { grid-template-columns: 1fr; gap: 2rem; }
    .content-split.reverse { direction: ltr; }
    .card-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .buy-block { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .buy-image { order: -1; }
    .pillars-grid { grid-template-columns: 1fr; }
    .history-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .history-text { order: -1; }
    .monstera-float .monstera-img { width: 180px; }
}

@media (max-width: 768px) {
    :root { --nav-height: 64px; }
    .nav-toggle { display: flex; }
    .nav-menu { position: fixed; top: var(--nav-height); left: 0; right: 0; background: var(--color-white); flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow); transform: translateY(-100%); opacity: 0; pointer-events: none; transition: all var(--transition); }
    .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    .nav-link { padding: 0.8rem 1rem; width: 100%; }
    .hero { min-height: 70vh; }
    .page-hero { min-height: 30vh; }
    .section { padding: 3rem 0; }
    .container, .container-narrow { padding: 0 1.25rem; }
    .legal-block, .download-form-block { padding: 2rem 1.5rem; }
    .tour-grid { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; }
    .form-group.form-sm { flex: 1; }
    .lang-select-group { flex-direction: column; gap: 0.5rem; }
    .monstera-float .monstera-img { float: none; width: 60%; margin: 0 auto 1.5rem; display: block; }
    .book-3d { width: 200px; }
}

@media (max-width: 480px) {
    .lang-switcher { position: absolute; right: 60px; top: 50%; transform: translateY(-50%); }
    .hero-subtitle { font-size: 1rem; }
}
