@font-face { font-family: 'Orbitron'; src: url('/data/orbitron-v35-latin-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Orbitron'; src: url('/data/orbitron-v35-latin-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('/data/playfair-display-v40-latin-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('/data/playfair-display-v40-latin-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --primary-color: #0b0b1e;
  --secondary-color: #7b42f5;
  --accent-color: #61dafb;
  --glow-color: #8a2be2;
  --text-color: #f0f0f0;
  --card-bg: rgba(26, 26, 58, 0.85);
  --modal-border: #000000ff;
  --modal-header: #000000ff;
}

@keyframes pulse-glow {
  from { text-shadow: 0 0 6px rgba(97, 218, 251, 0.7), 0 0 10px rgba(138, 43, 226, 0.5); }
  to { text-shadow: 0 0 12px rgba(97, 218, 251, 1), 0 0 18px rgba(138, 43, 226, 0.7); }
}
@keyframes blink-effect {
  0%, 100% { background-color: transparent; box-shadow: 0 0 12px rgba(97, 218, 251, 0.5), inset 0 0 5px rgba(97, 218, 251, 0.3); color: var(--accent-color); }
  50% { background-color: rgba(97, 218, 251, 0.25); box-shadow: 0 0 25px rgba(97, 218, 251, 1), inset 0 0 10px rgba(97, 218, 251, 0.7); color: #fff; }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pan-banner {
  0% { object-position: 0% center; }
  100% { object-position: 100% center; }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Playfair Display', serif; background-color: #000000; color: var(--text-color); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1300px; margin: 40px auto; padding: 20px; text-align: center; }

.site-header { text-align: center; }
.header-image { max-width: 200px; display: block; margin: 0 auto; max-width: 100%; height: auto; }
.mobile-preorder-banner { display: none; background-color: var(--accent-color); color: var(--primary-color); padding: 10px; font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 1.1em; border-radius: 5px; margin-bottom: 30px; box-shadow: 0 0 15px var(--accent-color); }
header h1 { font-family: 'Orbitron', sans-serif; font-size: 2.8em; margin-bottom: 10px; color: var(--accent-color); text-shadow: 0 0 8px rgba(97, 218, 251, 0.8), 0 0 16px rgba(138, 43, 226, 0.6); }
.author-subtitle { font-family: 'Orbitron', sans-serif; font-size: 1.2em; font-weight: 400; color: var(--text-color); opacity: 0.8; margin-top: -5px; margin-bottom: 20px; text-shadow: 0 0 4px rgba(240, 240, 240, 0.5); }

.hero-banner-container { width: 100%; height: 480px; overflow: hidden; position: relative; display: block; z-index: 1; }
.hero-banner-container img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-banner-container::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 150px; background: linear-gradient(to bottom, transparent 0%, #000000 100%); pointer-events: none; }
.banner-overlay-cta { position: absolute; bottom: 0px; left: 50%; transform: translateX(-50%); width: 100%; z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.banner-overlay-cta .cta-button { text-decoration: none; display: inline-block; transform: none; }
.banner-price { color: #ffffff; font-family: 'Orbitron', sans-serif; font-size: 1.2rem; font-weight: bold; margin: 0; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9); background-color: rgba(0, 0, 0, 0.4); padding: 5px 15px; border-radius: 4px; backdrop-filter: blur(2px); }

#start-section { display: none; }
.card-container { display: flex; justify-content: center; align-items: flex-start; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }
.card { background-color: var(--card-bg); border: 1px solid rgba(97, 218, 251, 0.5); border-radius: 10px; padding: 20px; width: 90%; max-width: 800px; min-width: 300px; box-shadow: 0 0 10px rgba(97, 218, 251, 0.2), 0 0 20px rgba(138, 43, 226, 0.3), inset 0 0 5px rgba(97, 218, 251, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; margin: 40px auto; }
#cover-card { width: 45%; margin: 0; }
#cover-card img { max-width: 70%; height: auto; border-radius: 5px; border: 1px solid rgba(97, 218, 251, 0.3); }
#cover-card .availability-info { font-family: 'Orbitron', sans-serif; font-size: 1.1em; margin-top: 20px; margin-bottom: 15px; color: var(--accent-color); text-shadow: 0 0 5px rgba(97, 218, 251, 0.5); text-align: center; }

.gateway-container { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; max-width: 1400px; margin: 40px auto; padding: 0 20px; min-height: 60vh; }
.gateway-card { background-color: var(--card-bg); border: 1px solid rgba(97, 218, 251, 0.3); border-radius: 10px; padding: 15px; flex: 1 1 300px; max-width: 380px; display: flex; flex-direction: column; align-items: center; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 0 15px rgba(0,0,0,0.5); }
.gateway-card img { width: 100%; height: auto; border-radius: 5px; margin-bottom: 15px; }
.gateway-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(97, 218, 251, 0.2); z-index: 10; }
.gateway-card.main-choice { transform: scale(1.05); border-color: var(--accent-color); box-shadow: 0 0 25px rgba(138, 43, 226, 0.4); }
.gateway-card.main-choice:hover { transform: scale(1.1); }
.gateway-card .availability-info { font-family: 'Orbitron', sans-serif; font-size: 1.1em; margin-bottom: 15px; color: #fff; text-align: center; }
.gateway-card .cta-button { width: 100%; text-align: center; text-decoration: none; display: inline-block; }
.gateway-intro { width: 100%; text-align: center; margin-bottom: 40px; padding: 0 20px; animation: fadeIn 1.5s ease-in; }
.gateway-intro h2 { font-family: 'Orbitron', sans-serif; color: var(--accent-color); font-size: 1.8rem; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 0 10px rgba(97, 218, 251, 0.5); }
.gateway-intro p { font-family: 'Playfair Display', serif; font-size: 1.15rem; line-height: 1.6; color: #e0e0e0; max-width: 800px; margin: 0 auto; }

#countdown-display-area { opacity: 0; display: none; width: 100%; max-width: 1300px; margin: 0 auto 40px auto; }
.side-cards-wrapper { display: flex; justify-content: center; align-items: flex-start; gap: 30px; width: 100%; max-width: 1300px; margin: 0 auto 40px auto; }
.countdown-flex-container { flex-grow: 1; flex-shrink: 1; min-width: 0; display: flex; justify-content: center; align-items: flex-start; gap: 20px; }
#countdown-section.card { width: 100%; max-width: 800px; min-width: 300px; flex-grow: 1; flex-shrink: 1; margin: 0; background-image: url('/../../data/mira-card.webp'); background-size: cover; background-position: center; padding: 0; }
.card-inner-bg { background-color: rgba(20, 20, 45, 0.94); border-radius: 10px; padding: 25px; }
#countdown-section .foreword-content h3 { font-family: 'Orbitron', sans-serif; color: var(--accent-color); margin-bottom: 15px; text-align: left; text-shadow: 0 0 5px rgba(97, 218, 251, 0.5); }
.mira-mobile-image { display: none; width: 100%; max-width: 250px; height: auto; margin: 15px auto 20px auto; border-radius: 5px; border: 1px solid rgba(97, 218, 251, 0.3); }
#countdown-section .foreword-content p { font-family: 'Orbitron', sans-serif; text-align: left; margin-bottom: 10px; font-size: 0.85em; line-height: 1.8; font-weight: 400; }
#countdown-section h2 { font-family: 'Orbitron', sans-serif; margin-top: 20px; margin-bottom: 30px; color: var(--accent-color); text-shadow: 0 0 8px rgba(97, 218, 251, 0.6); }
#countdown-section .ebook-info { font-family: 'Orbitron', sans-serif; font-size: 0.9em; font-style: italic; opacity: 0.8; margin-top: -25px; margin-bottom: 30px; text-align: center; }
#countdown-timer { display: flex; justify-content: center; gap: 20px; margin-bottom: 40px; }
.time-block { background: rgba(0, 0, 0, 0.5); padding: 15px 25px; border-radius: 8px; border: 1px solid var(--secondary-color); min-width: 85px; box-shadow: 0 0 8px rgba(123, 66, 245, 0.4); }
.time-block span { display: block; }
.time-block span:first-child { font-family: 'Orbitron', sans-serif; font-size: 2.5em; color: var(--accent-color); text-shadow: 0 0 10px rgba(97, 218, 251, 0.9); }
.time-block .label { font-size: 0.8em; text-transform: uppercase; opacity: 0.7; }

.mira-character-wrapper { position: relative; display: block; max-width: 300px; margin-top: 20px; flex-shrink: 0; }
.mira-character-image { display: block; max-width: 100%; height: auto; border-radius: 5px; object-fit: contain; }
.desktop-availability-banner { position: absolute; top: 200px; left: 50%; transform: translateX(-50%); z-index: 2; font-family: 'Orbitron', sans-serif; color: var(--accent-color); font-size: 1.3em; font-weight: 700; background-color: rgba(0, 0, 0, 0.6); padding: 5px 15px; border-radius: 5px; border: 1px solid var(--accent-color); animation: pulse-glow 2s infinite alternate ease-in-out; }

.new-button-bar { text-align: center; margin-bottom: 30px; margin-top: 10px; }
.new-button-bar .cta-button { transform: rotate(-3deg); margin: 5px 10px; transition: transform 0.3s ease, box-shadow 0.3s ease; font-size: 1.0em; padding: 10px 20px; }
.new-button-bar .cta-button:hover { transform: rotate(0deg) scale(1.05); }
.button-group { display: flex; justify-content: center; align-items: center; gap: 15px; flex-wrap: wrap; }
.cta-button { display: inline-block; font-family: 'Orbitron', sans-serif; background-color: transparent; color: var(--accent-color); border: 2px solid var(--accent-color); padding: 12px 20px; border-radius: 5px; font-size: 1.1em; cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; text-shadow: 0 0 8px rgba(97, 218, 251, 0.7); box-shadow: 0 0 12px rgba(97, 218, 251, 0.5), inset 0 0 5px rgba(97, 218, 251, 0.3); }
.cta-button:hover { background-color: rgba(97, 218, 251, 0.15); color: #fff; box-shadow: 0 0 20px rgba(97, 218, 251, 0.8), inset 0 0 8px rgba(97, 218, 251, 0.5); }
#preorder-btn { animation: blink-effect 2.5s infinite ease-in-out; }
.share-button { color: var(--secondary-color); border-color: var(--secondary-color); text-shadow: 0 0 8px rgba(123, 66, 245, 0.7); box-shadow: 0 0 12px rgba(123, 66, 245, 0.5), inset 0 0 5px rgba(123, 66, 245, 0.3); }
.share-button:hover { background-color: rgba(123, 66, 245, 0.15); color: #fff; box-shadow: 0 0 20px rgba(123, 66, 245, 0.8), inset 0 0 8px rgba(123, 66, 245, 0.5); }
.footer-button { background: transparent; border: 1px solid var(--accent-color); color: var(--accent-color); padding: 6px 12px; border-radius: 4px; cursor: pointer; transition: all 0.3s ease; font-family: 'Orbitron', sans-serif; font-size: 0.9em; margin: 5px; text-decoration: none; display: inline-block; }
.footer-button:hover { background: rgba(97, 218, 251, 0.15); box-shadow: 0 0 10px rgba(97, 218, 251, 0.5); }
.faq-link-button { background: transparent; border: 1px solid var(--accent-color); color: var(--accent-color); padding: 6px 12px; border-radius: 4px; cursor: pointer; transition: all 0.3s ease; font-family: 'Orbitron', sans-serif; font-size: 0.9em; margin: 0 5px; text-decoration: none; display: inline-block; }
.faq-link-button:hover { background: rgba(97, 218, 251, 0.15); box-shadow: 0 0 10px rgba(97, 218, 251, 0.5); text-decoration: none; color: var(--accent-color); }

.social-icons { margin-top: 30px; display: flex; justify-content: center; gap: 25px; }
.social-icons a { color: var(--text-color); opacity: 0.6; transition: opacity 0.3s ease, color 0.3s ease, transform 0.3s ease; }
.social-icons a:hover { opacity: 1; color: var(--accent-color); transform: scale(1.15); }
.social-icons svg { width: 35px; height: 35px; }
#feed-modal .social-icons svg { width: 50px; height: 50px; }
#feed-modal .social-icons a { color: var(--text-color); opacity: 0.8; }
#feed-modal .social-icons a:hover { opacity: 1; color: #FFFFFF; }

.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(11, 11, 30, 0.9); display: flex; justify-content: center; align-items: center; z-index: 1000; opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.modal:not(.hidden) { opacity: 1; pointer-events: auto; }
.modal-content { background-color: #f4f0e8; color: #2b2b2b; padding: 40px; border-radius: 3px; width: 90%; max-width: 800px; height: 80%; max-height: 80vh; overflow-y: auto; position: relative; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); border: 8px solid var(--modal-border); }
.modal-content.dark-modal { background-color: var(--card-bg); color: var(--text-color); border: 2px solid var(--accent-color); box-shadow: 0 0 25px rgba(97, 218, 251, 0.4); }
.close-button { position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 2.2em; color: #aaa; cursor: pointer; line-height: 1; transition: color 0.2s ease; z-index: 10; }
.close-button:hover { color: var(--modal-header); }
.dark-modal .close-button { color: #aaa; }
.dark-modal .close-button:hover { color: var(--accent-color); }

#virtual-book-modal .book-content h2 { font-family: 'Playfair Display', serif; color: var(--modal-header); text-align: center; margin-bottom: 30px; border-bottom: 1px solid rgba(61, 27, 74, 0.3); padding-bottom: 10px; font-weight: 600; }
.book-content p { margin-bottom: 1.2em; text-align: justify; font-size: 1.05em; line-height: 1.7; }
.dark-modal h2, .dark-modal h3 { font-family: 'Orbitron', sans-serif; color: var(--accent-color); text-align: left; margin-bottom: 10px; margin-top: 15px; border-bottom: 1px solid rgba(97, 218, 251, 0.3); padding-bottom: 5px; }
.dark-modal #impressum-modal .book-content h3:first-of-type,
.dark-modal #datenschutz-modal .book-content h3:first-of-type,
.dark-modal #agb-modal .book-content h3:first-of-type,
#faq-modal .book-content h3:first-of-type { font-size: 1.5em; text-align: center; border-bottom: none; padding-bottom: 0; margin-bottom: 25px; margin-top: 0; border-top: none; padding-top: 0; }
.dark-modal .book-content p { font-family: 'Playfair Display', serif; text-align: left; font-size: 1em; line-height: 1.6; }
.dark-modal p strong { color: var(--accent-color); font-family: 'Orbitron', sans-serif; font-weight: 400; }
.dark-modal ul { list-style-position: inside; margin-left: 10px; margin-bottom: 1.2em; text-align: left; }
.dark-modal li { margin-bottom: 0.5em; }
.dark-modal a { color: var(--accent-color); text-decoration: none; transition: text-shadow 0.3s ease; cursor: pointer; }
.dark-modal a:hover { text-shadow: 0 0 8px rgba(97, 218, 251, 0.7); text-decoration: underline; }
.preorder-checkboxes label a { text-decoration: underline; }
#faq-modal .book-content p strong { display: inline-block; margin-right: 5px; }
#faq-modal .book-content p em { font-style: italic; opacity: 0.9; }

.author-section { display: flex; align-items: flex-start; gap: 25px; margin-top: 15px; }
.author-text { flex: 2; text-align: left; }
.author-text p { text-align: left; }
.author-image { flex: 1; text-align: center; }
.author-image img { max-width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--accent-color); box-shadow: 0 0 10px rgba(97, 218, 251, 0.3); }
.preorder-checkboxes { margin-top: 25px; margin-bottom: 25px; text-align: left; font-size: 0.9em; }
.preorder-checkboxes label { margin-left: 8px; cursor: pointer; display: inline; }
.preorder-checkboxes input[type="checkbox"] { cursor: pointer; vertical-align: middle; }
#stripe-button-wrapper { transition: opacity 0.3s ease; display: flex; justify-content: center; margin-top: 20px; }
#stripe-button-wrapper.disabled { opacity: 0.5; pointer-events: none; cursor: not-allowed; }
.instagram-embed-wrapper { display: flex; flex-direction: column; align-items: center; gap: 15px; margin-top: 15px; }

.side-cards-container { display: flex; flex-direction: column; gap: 20px; width: 180px; flex-shrink: 0; margin-top: 20px; }
.side-card { background-color: var(--card-bg); border: 1px solid var(--secondary-color); border-radius: 8px; padding: 15px; text-align: center; cursor: pointer; transform: rotate(-4deg); transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 0 8px rgba(123, 66, 245, 0.3); }
.side-card:hover { transform: rotate(0deg) scale(1.05); box-shadow: 0 0 15px var(--secondary-color); }
.side-card img { max-width: 100%; height: auto; border-radius: 4px; margin-bottom: 10px; border: 1px solid rgba(97, 218, 251, 0.2); }
.side-card h4 { font-family: 'Orbitron', sans-serif; color: var(--accent-color); font-size: 0.9em; margin: 0; font-weight: 400; text-align: center; }

.gallery-container { position: relative; max-width: 100%; margin: 20px auto; }
.gallery-container img { display: block; max-width: 100%; max-height: 60vh; margin: 0 auto; border-radius: 5px; border: 1px solid var(--accent-color); }
.gallery-nav { display: flex; justify-content: space-between; position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); padding: 0 10px; }
.gallery-nav button { background-color: rgba(11, 11, 30, 0.7); color: var(--accent-color); border: 1px solid var(--accent-color); border-radius: 50%; width: 40px; height: 40px; font-size: 1.5em; cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease; opacity: 0.7; }
.gallery-nav button:hover { background-color: rgba(97, 218, 251, 0.3); color: #fff; opacity: 1; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; padding: 10px 0; width: 100%; }
.gallery-item { position: relative; overflow: hidden; border-radius: 8px; border: 1px solid var(--secondary-color); cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; aspect-ratio: 1 / 1; }
.gallery-item:hover { transform: scale(1.03); box-shadow: 0 0 15px var(--accent-color); border-color: var(--accent-color); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.95); backdrop-filter: blur(5px); z-index: 2000; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.lightbox:not(.hidden) { opacity: 1; pointer-events: auto; }
.lightbox-content { text-align: center; max-width: 90%; max-height: 90%; }
.lightbox-content img { max-width: 100%; max-height: 80vh; border: 2px solid var(--accent-color); border-radius: 5px; box-shadow: 0 0 30px rgba(97, 218, 251, 0.3); }
.lightbox-caption { margin-top: 15px; font-family: 'Orbitron', sans-serif; color: var(--accent-color); font-size: 1.2em; text-shadow: 0 0 10px rgba(97, 218, 251, 0.8); }
#close-lightbox { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 3em; background: none; border: none; cursor: pointer; transition: color 0.3s ease; }
#close-lightbox:hover { color: var(--accent-color); }

.hamburger-btn { position: fixed; top: 20px; left: 20px; z-index: 1200; display: none; background-color: var(--card-bg); border: 1px solid var(--accent-color); border-radius: 5px; padding: 8px; cursor: pointer; }
.hamburger-btn span { display: block; width: 25px; height: 3px; background-color: var(--accent-color); margin: 5px 0; transition: all 0.3s ease; }
.mobile-sidebar { position: fixed; top: 0; left: -280px; width: 250px; height: 100%; background-color: var(--primary-color); border-right: 2px solid var(--accent-color); padding: 60px 20px 20px 20px; box-shadow: 5px 0 15px rgba(97, 218, 251, 0.2); transition: left 0.3s ease-in-out; z-index: 1100; overflow-y: auto; }
.mobile-sidebar.open { left: 0; }
.mobile-sidebar h3 { font-family: 'Orbitron', sans-serif; color: var(--accent-color); text-align: center; margin-bottom: 20px; border-bottom: 1px solid var(--accent-color); padding-bottom: 10px; }
.close-sidebar-btn { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 2em; color: var(--accent-color); cursor: pointer; }
.sidebar-card { background-color: var(--card-bg); border: 1px solid var(--secondary-color); border-radius: 8px; padding: 15px; text-align: center; cursor: pointer; margin-bottom: 15px; transition: background-color 0.3s ease; }
.sidebar-card:hover { background-color: rgba(123, 66, 245, 0.2); }
.sidebar-card img { max-width: 80%; height: auto; border-radius: 4px; margin-bottom: 10px; }
.sidebar-card h4 { font-family: 'Orbitron', sans-serif; color: var(--accent-color); font-size: 1em; margin: 0; text-align: center; }
.sidebar-actions { margin-top: 25px; display: flex; flex-direction: column; gap: 12px; }
.sidebar-actions .cta-button { width: 100%; text-align: center; }
.mobile-info-trigger { display: none; width: 100%; margin-bottom: 15px; background-color: transparent; border: 1px solid var(--accent-color); color: var(--accent-color); font-size: 0.9rem; padding: 12px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-family: 'Orbitron', sans-serif; color: var(--accent-color); font-size: 0.9em; opacity: 0.9; text-align: left;}
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"], .form-group textarea { width: 100%; padding: 12px; background-color: rgba(11, 11, 30, 0.7); border: 1px solid var(--secondary-color); border-radius: 5px; color: var(--text-color); font-family: 'Orbitron', sans-serif; font-size: 1em; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 10px rgba(97, 218, 251, 0.5); }
.form-radio-group { margin-bottom: 25px; text-align: center; }
.form-radio-group label { font-family: 'Orbitron', sans-serif; color: var(--text-color); margin: 0 15px 0 5px; cursor: pointer; opacity: 0.8; transition: opacity 0.3s ease; }
.form-radio-group input[type="radio"] { cursor: pointer; accent-color: var(--accent-color); }
.form-radio-group label:hover { opacity: 1; }
.hidden-field { display: none; opacity: 0; transition: opacity 0.5s ease; }
.honeypot-field { opacity: 0; position: absolute; top: 0; left: 0; height: 0; width: 0; z-index: -1; pointer-events: none; }
.status-success { color: #33ff99; font-family: 'Orbitron', sans-serif; font-weight: bold; text-align: center; margin-bottom: 20px; }
.status-error { color: #ff4d4d; font-family: 'Orbitron', sans-serif; font-weight: bold; text-align: center; margin-bottom: 20px; }

.standalone-card { padding: 30px !important; margin: 40px auto !important; max-width: 800px; }
.standalone-card .book-content p { text-align: left !important; word-break: break-word; -webkit-hyphens: auto; hyphens: auto; margin-bottom: 1.2em; font-size: 1.05em; line-height: 1.7; }
.standalone-card .book-content h3:first-of-type { text-align: center; border-bottom: 1px solid rgba(97, 218, 251, 0.3); padding-bottom: 15px; margin-bottom: 30px; }
.standalone-card .book-content h4 { margin-top: 1.5em; margin-bottom: 0.5em; }
.standalone-card .book-content h2, .standalone-card .book-content h3, .standalone-card .book-content h4 { word-wrap: break-word !important; overflow-wrap: break-word !important; -webkit-hyphens: auto; hyphens: auto; }
a.btn-back { display: inline-block !important; white-space: nowrap !important; padding: 12px 15px !important; font-size: min(4.5vw, 1em) !important; max-width: 100% !important; box-sizing: border-box !important; }

footer { margin-top: 60px; padding: 30px 20px; border-top: 1px solid rgba(123, 66, 245, 0.3); font-size: 0.9em; opacity: 0.7; color: #bbb; font-family: 'Orbitron', sans-serif; text-align: center; }
footer p { margin-bottom: 15px; }

.hidden { display: none !important; opacity: 0 !important; pointer-events: none !important; }

@media (max-width: 900px) {
  .countdown-flex-container { display: block; position: static; overflow: visible; }
  #countdown-section.card { width: 90%; margin: 0 auto; background-image: url('/../../data/splitter.webp'); background-size: cover; background-position: center; background-repeat: no-repeat; }
  .mira-character-wrapper { display: none; }
  .mira-mobile-image { display: block; }
  .mobile-preorder-banner { display: block; }
  .side-cards-wrapper { flex-direction: column; gap: 0; }
  .side-cards-container { display: none; }
  .hamburger-btn { display: block; }
  .mobile-info-trigger { display: block; }
}

@media (max-width: 768px) {
  header h1 { font-size: 2.0em; }
  .author-subtitle { font-size: 1.0em; }
  .mobile-preorder-banner { font-size: 1em; }
  .card-container { flex-direction: column; align-items: center; }
  .card { width: 90%; min-width: unset; margin-top: 20px; margin-bottom: 20px;}
  #cover-card { width: 90%; }
  #countdown-section.card { width: 90%; }
  #countdown-timer { flex-wrap: wrap; gap: 15px; }
  .time-block { padding: 10px 15px; min-width: 70px; }
  .time-block span:first-child { font-size: 2em; }
  .modal-content { width: 95%; height: 85%; padding: 25px; border-width: 6px; }
  #virtual-book-modal .book-content h2 { font-size: 1.3em; }
  .dark-modal .book-content p, .book-content p { font-size: 1em; }
  .preorder-checkboxes { font-size: 0.8em; }
  .author-section { flex-direction: column; align-items: center; }
  .author-text { flex: 1; width: 100%; }
  .author-image { flex: 1; width: 70%; margin-top: 20px; }
  .new-button-bar .cta-button { font-size: 0.9em; padding: 8px 15px; margin: 3px 5px;}
  .cta-button { padding: 10px 18px; font-size: 1.0em; }
  .footer-button { padding: 5px 10px; font-size: 0.85em; margin: 3px; }
  .standalone-card { padding: 20px 15px !important; width: 95% !important; border-radius: 8px !important; }
  .standalone-card .book-content p { font-size: 1em !important; }
  .standalone-card .btn-back { font-size: 0.85em !important; padding: 10px 15px !important; white-space: nowrap !important; width: auto !important; display: inline-block !important; max-width: 100% !important; }
  .hero-banner-container { height: 380px !important; }
  .hero-banner-container::after { height: 100px; }
  .hero-banner-container img { animation: pan-banner 20s ease-in-out infinite alternate; }
}

@media (max-width: 600px) {
  .banner-overlay-cta { bottom: 10px; gap: 8px; width: 95%; }
  .banner-overlay-cta .cta-button { padding: 8px 12px; font-size: 0.85em; line-height: 1.2; width: 100%; max-width: 340px; }
  .banner-price { font-size: 0.9rem; padding: 4px 10px; margin-bottom: 2px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
/* Container mittig ausrichten und weiter nach unten schieben */
.image-overlap-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px; /* Deutlich tiefer gesetzt (vorher 30px) */
    padding-top: 30px;
    padding-bottom: 40px;
}

/* Grundeinstellungen für die größeren Bilder */
.overlap-img {
    width: 200px;  /* Deutlich größer (vorher 100px) */
    height: 190px; /* Hochformat, passend zu deinem Mockup */
    object-fit: cover;
    border: 3px solid #ffffff; 
    border-radius: 8px; 
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5); /* Etwas stärkerer Schatten wegen der Größe */
    transition: transform 0.3s ease, z-index 0.3s ease;
    cursor: pointer;
}

/* Linkes Bild: Nach links geneigt */
.img-left {
    transform: rotate(-12deg);
    z-index: 1;
}

/* Mittleres Bild: Fast gerade, liegt oben auf */
.img-center {
    transform: rotate(2deg) translateY(10px); /* Leicht versetzt wie im Bild */
    margin-left: -45px; /* Stärkere Überlappung passend zur neuen Größe */
    margin-right: -45px; 
    z-index: 2; /* Liegt ÜBER dem linken und rechten Bild */
}

/* Rechtes Bild: Nach rechts geneigt (angepasst an deinen Screenshot) */
.img-right {
    transform: rotate(14deg);
    z-index: 1;
}

/* Hover-Effekt: Bild vergrößern und nach vorne holen */
.overlap-img:hover {
    transform: scale(1.1) rotate(0deg); /* Nicht ganz so stark zoomen wie vorher, da sie schon groß sind */
    z-index: 10; 
}
/* --- Mobile Anpassung für Bildschirme bis 600px Breite --- */
@media (max-width: 600px) {
    /* Container etwas näher an den Text rücken */
    .image-overlap-container {
        margin-top: 40px; 
        padding-bottom: 20px;
    }

    /* Bilder insgesamt kleiner machen */
    .overlap-img {
        width: 90px;   /* Deutlich schmaler für Handys */
        height: 125px; /* Höhe proportional angepasst */
        border-width: 2px; /* Rahmen minimal dünner machen */
    }

    /* Überlappung an die kleineren Bilder anpassen */
    .img-center {
        margin-left: -30px; /* Weniger stark ineinandergeschoben */
        margin-right: -30px;
        transform: rotate(2deg) translateY(5px); /* Weniger stark nach unten versetzt */
    }
}