/* brainstrand – Buchseite & Bestellung */

/* ---------- Hero ---------- */
.book-hero { position: relative; isolation: isolate; color: #fff; background: radial-gradient(110% 90% at 85% 10%, #3a2a6b 0%, #1a2f5c 38%, var(--navy-deep) 72%); padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(3rem, 7vw, 5rem); overflow: hidden; }
.book-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--strand); }
.book-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; background:
	repeating-linear-gradient(115deg, transparent 0 38px, rgba(255,255,255,.35) 38px 39px),
	repeating-linear-gradient(25deg, transparent 0 52px, rgba(255,255,255,.25) 52px 53px);
	mask-image: radial-gradient(80% 80% at 80% 40%, #000, transparent 75%); -webkit-mask-image: radial-gradient(80% 80% at 80% 40%, #000, transparent 75%); }
.book-hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.book-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4.1rem); margin-bottom: .25em; text-wrap: balance; }
.eyebrow--light { color: rgba(255,255,255,.75); }
.book-hero__sub { font: 400 clamp(1.1rem, 2vw, 1.35rem)/1.45 var(--serif); color: rgba(255,255,255,.9); margin: 0 0 .8rem; max-width: 36rem; font-style: italic; }
.book-hero__author { color: rgba(255,255,255,.75); margin: 0 0 1.8rem; font-weight: 500; }

.book-offer { display: flex; align-items: center; gap: 1.1rem; padding: 1rem 1.25rem; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); max-width: 34rem; }
.book-offer__price { font: 700 clamp(2rem, 4vw, 2.6rem)/1 var(--serif); white-space: nowrap; }
.book-offer__info { display: flex; flex-direction: column; gap: .2rem; font-size: .93rem; line-height: 1.35; }
.book-offer__info span { color: rgba(255,255,255,.75); }


.book-hero__actions { display: flex; align-items: center; gap: 1rem 1.4rem; flex-wrap: wrap; margin: 1.8rem 0 0; }
.book-hero__actions span { font-size: .88rem; color: rgba(255,255,255,.7); }
.btn--light { background: #fff; color: var(--navy-deep); border-color: #fff; }
.btn--light:hover { background: #f2f1ec; color: var(--navy-deep); }

/* Cover */
.book-hero__cover { display: flex; justify-content: center; perspective: 1600px; }
.book-cover { display: block; width: min(360px, 72vw); height: auto; border-radius: 3px 8px 8px 3px; transform: rotateY(-14deg) rotateX(3deg); transition: transform .6s ease; box-shadow: inset 4px 0 8px rgba(0,0,0,.3), -26px 38px 56px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); }
.book-cover:hover { transform: rotateY(-4deg) rotateX(1deg); }
@media (prefers-reduced-motion: reduce) { .book-cover { transition: none; } }

@media (max-width: 860px) {
	.book-hero__inner { grid-template-columns: 1fr; }
	.book-hero__cover { order: -1; }
	.book-cover { width: min(240px, 60vw); }
	.book-offer { flex-direction: column; align-items: flex-start; }
}

/* ---------- Inhalt & Eckdaten ---------- */
.book-about__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.book-about__text .book-lead, .book-about__text > p:first-of-type { font: 400 clamp(1.15rem, 2vw, 1.35rem)/1.55 var(--serif); color: var(--navy-deep); }
.book-facts { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.2); padding: 1.6rem 1.7rem; box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 1rem); }
.book-facts h2 { font-size: 1.25rem; margin-bottom: .7rem; }
.book-facts h2 + p { color: var(--muted); }
.book-facts ul { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.book-facts li { padding: .55rem 0 .55rem 1.6rem; border-bottom: 1px dashed var(--line); position: relative; }
.book-facts li:last-child { border-bottom: 0; }
.book-facts li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: .7rem; height: .7rem; border-radius: 50%; background: conic-gradient(var(--orange), var(--green), var(--blue), var(--purple), var(--magenta), var(--orange)); }
@media (max-width: 860px) { .book-about__grid { grid-template-columns: 1fr; } .book-facts { position: static; } }

/* ---------- Bestellformular ---------- */
.book-order { background: #f2f1ec; }
.book-form__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.6rem; align-items: start; }
.book-form h3 { font-size: 1.1rem; margin: 1.6rem 0 .9rem; }
.book-form .auth-card > h3:first-of-type, .book-form .form-error-box + h3 { margin-top: 0; }
.qty-field { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.qty-field input { width: 4.2rem; text-align: center; font-size: 1.2rem; font-weight: 700; padding: .55rem .3rem; border: 1.5px solid var(--line); border-radius: 12px; -moz-appearance: textfield; }
.qty-field input::-webkit-outer-spin-button, .qty-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); font-size: 1.3rem; font-weight: 700; cursor: pointer; line-height: 1; }
.qty-btn:hover { background: var(--navy); color: #fff; }
.qty-btn:disabled { opacity: .35; cursor: not-allowed; background: #fff; color: var(--navy); }
.qty-note { font-size: .84rem; color: var(--muted); margin-left: .4rem; }

.book-summary { position: sticky; top: calc(var(--header-h) + 1rem); }
.book-summary h3 { margin-top: 0 !important; }
.book-summary__table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.book-summary__table td, .book-summary__table th { padding: .55rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.book-summary__table td:last-child, .book-summary__table th:last-child { text-align: right; white-space: nowrap; }
.book-summary__table small { color: var(--muted); }
.book-summary__table tfoot th { font: 700 1.25rem/1.2 var(--serif); color: var(--navy-deep); border-bottom: 0; padding-top: .8rem; }
.book-summary__vat { font-size: .8rem; color: var(--muted); margin: .1rem 0 1rem; text-align: right; }
.book-summary__facts { list-style: none; padding: 0; margin: 0 0 1.2rem; font-size: .88rem; color: #4b5563; }
.book-summary__facts li { margin-bottom: .55rem; line-height: 1.45; }
.book-legal { font-size: .8rem; color: var(--muted); line-height: 1.5; margin: 1rem 0; }
@media (max-width: 900px) { .book-form__grid { grid-template-columns: 1fr; } .book-summary { position: static; } }

/* ---------- FAQ ---------- */
.book-faq details { border-bottom: 1px solid var(--line); padding: .3rem 0; }
.book-faq summary { cursor: pointer; list-style: none; padding: .9rem 2rem .9rem 0; font: 600 1.08rem/1.4 var(--serif); color: var(--navy-deep); position: relative; }
.book-faq summary::-webkit-details-marker { display: none; }
.book-faq summary::after { content: "+"; position: absolute; right: .2rem; top: .7rem; font: 400 1.5rem/1 var(--sans); color: var(--purple); transition: transform .2s; }
.book-faq details[open] summary::after { transform: rotate(45deg); }
.book-faq details p { margin: 0 0 1rem; color: #4b5563; }

/* ---------- Bestellansicht ---------- */
.order-steps { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 0 0 1.6rem; flex-wrap: wrap; }
.order-steps li { display: flex; align-items: center; gap: .5rem; padding: .5rem 1rem .5rem .5rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: .9rem; }
.order-steps li span { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: #e9e7e0; color: var(--muted); font-size: .8rem; }
.order-steps li.is-done { color: var(--navy-deep); }
.order-steps li.is-done span { background: var(--green); color: #fff; }
.order-steps li.is-current { border-color: var(--navy); box-shadow: var(--shadow); }
.book-order-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.6rem; align-items: start; }
.book-order-grid > .auth-card:only-child { grid-column: 1 / -1; max-width: 720px; }
@media (max-width: 900px) { .book-order-grid { grid-template-columns: 1fr; } }
.pay-box h2 { margin-bottom: .4rem; }
.pay-box__lead { color: #4b5563; margin-top: 0; }
.pay-box__inner { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start; margin: 1.2rem 0; }
.girocode { width: 190px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.girocode svg { display: block; width: 100%; height: auto; }
.girocode::after { content: "GiroCode"; display: block; text-align: center; font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .5rem; }
.pay-data { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; font-size: .95rem; }
.pay-data dt { color: var(--muted); }
.pay-data dd { margin: 0; font-weight: 600; color: var(--navy-deep); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; word-break: break-word; }
.copy-btn { font-size: .72rem; padding: .2em .6em; border-radius: 999px; border: 1px solid var(--line); background: #f7f6f2; cursor: pointer; color: var(--navy); }
.copy-btn.is-copied { background: var(--green); color: #fff; border-color: var(--green); }
.pay-box__note { font-size: .86rem; background: #fff8ee; border: 1px solid #f1d7b0; border-radius: 10px; padding: .7rem .9rem; color: #5b4a2f; }
.order-lines { list-style: none; padding: 0; margin: 0 0 1rem; }
.order-lines li { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.order-lines li:last-child { font-weight: 700; border-bottom: 0; }
@media (max-width: 560px) { .pay-box__inner { grid-template-columns: 1fr; } .girocode { margin: 0 auto; } }

/* ---------- Werbe-Band (Startseite) ---------- */
.book-band { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1.2rem, 3vw, 2.4rem); align-items: center; color: #fff; background: radial-gradient(120% 120% at 90% 0%, #3a2a6b, var(--navy-deep) 65%); border-radius: calc(var(--radius) * 1.4); padding: clamp(1.6rem, 4vw, 2.6rem); position: relative; overflow: hidden; }
.book-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--strand); }
.book-band h2 { color: #fff; margin-bottom: .2em; }
.book-band p { margin: 0; color: rgba(255,255,255,.8); }
.book-band .eyebrow { color: rgba(255,255,255,.7); }
.book-band__cover { width: 110px; height: auto; border-radius: 2px 6px 6px 2px; box-shadow: -10px 14px 24px rgba(0,0,0,.45); transform: rotate(-4deg); }
@media (max-width: 760px) { .book-band { grid-template-columns: 1fr; text-align: center; } .book-band__cover { margin: 0 auto; } }

/* Bestellbereich in voller Breite (überschreibt die schmale Formularbreite) */
.book-order .section__head { display: block; }
.book-order .section__head h2 { margin-top: .2rem; }
.bs-form.book-form { max-width: none; width: 100%; }
.book-form .auth-card { max-width: none; width: auto; }
