/* Bibelzeug.de – Stylesheet
   Farben aus dem Logo: Navy #07284C, Gold #DD9B12 – dazu warmes Papier & Sand. */

@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-700.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/worksans-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/worksans-700.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("../fonts/instrument-italic.woff") format("woff"); font-style: italic; font-display: swap; }

:root {
  --navy: #07284C;
  --navy-2: #0D3765;
  --gold: #DD9B12;
  --gold-ink: #8A5F00;      /* Gold für Text auf hellem Grund (Kontrast) */
  --paper: #FBF8F3;
  --sand: #F1E9DC;
  --sand-2: #E6DAC6;
  --ink: #15202E;
  --muted: #5A6472;
  --line: #E2D8C7;
  --white: #fff;
  --ok: #2F6B3F;
  --danger: #A3341F;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(7, 40, 76, .06), 0 8px 24px rgba(7, 40, 76, .08);
  --maxw: 1180px;
  --head: "Bricolage", ui-sans-serif, system-ui, sans-serif;
  --body: "Work Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-2); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; color: var(--navy); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.muted { color: var(--muted); }

/* Buttons */
.btn { --bg: var(--navy); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--bg); background: var(--bg); color: var(--fg); font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { --bg: var(--navy-2); color: var(--fg); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(7,40,76,.22); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--ghost { --bg: transparent; --fg: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { --bg: var(--navy); --fg: #fff; }
.btn--gold { --bg: var(--gold); --fg: var(--navy); }
.btn--gold:hover { --bg: #EBAA22; --fg: var(--navy); }
.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }

/* Topbar & Header */
.topbar { background: var(--navy); color: #fff; font-size: .86rem; text-align: center; padding: 8px 16px; }
.topbar strong { color: var(--gold); font-weight: 700; }
.header { position: sticky; top: 0; z-index: 40; background: rgba(251, 248, 243, .92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-color: var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: block; width: 172px; flex: none; }
.logo svg { width: 100%; height: auto; display: block; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 400; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--gold); color: var(--navy); }
.cartbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; }
.cartbtn:hover { border-color: var(--navy); }
.cartbtn svg { width: 22px; height: 22px; }
.cartbtn__n { position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--navy); font: 700 .75rem/21px var(--body); text-align: center; }
.cartbtn__n[hidden] { display: none; }
.menubtn { display: none; }
@media (max-width: 860px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .menubtn { display: inline-flex; margin-left: auto; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; }
  .menubtn svg { width: 22px; height: 22px; }
  .header__in { gap: 12px; }
  .logo { width: 150px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero::before { content: ""; position: absolute; right: -16vw; top: 2vw; width: 62vw; height: 62vw; max-width: 880px; max-height: 880px; border-radius: 50%; background: var(--sand); z-index: -1; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .serif { display: block; color: var(--gold-ink); font-size: .92em; margin-top: .05em; }
.hero__lead { font-size: 1.18rem; color: #36404D; max-width: 34ch; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-size: .95rem; color: var(--muted); }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.hero__media { position: relative; justify-self: end; width: min(100%, 470px); }
.hero__photo { border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(7,40,76,.45); aspect-ratio: 4/5; background: var(--sand-2); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge { position: absolute; left: -34px; bottom: 34px; display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 16px; padding: 12px 16px 12px 12px; box-shadow: var(--shadow); max-width: 250px; }
.hero__badge img { width: 58px; height: 58px; }
.hero__badge b { display: block; font: 700 1rem/1.2 var(--head); color: var(--navy); }
.hero__badge span { font-size: .85rem; color: var(--muted); }
.hero__note { position: absolute; right: 16px; top: 16px; background: rgba(7,40,76,.82); color: #fff; font-size: .78rem; padding: 6px 12px; border-radius: 999px; }
@media (max-width: 860px) {
  .hero { padding: 28px 0 48px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__media { justify-self: center; }
  .hero__badge { left: 12px; bottom: 16px; }
}

/* Vorteile */
.usp { border-block: 1px solid var(--line); background: var(--white); }
.usp__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.usp__item { display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px; }
.usp__item + .usp__item { border-left: 1px solid var(--line); }
.usp__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--sand); color: var(--navy); display: grid; place-items: center; }
.usp__icon svg { width: 24px; height: 24px; }
.usp__item b { display: block; font: 700 1rem/1.25 var(--head); color: var(--navy); margin-bottom: 2px; }
.usp__item span { font-size: .9rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 960px) { .usp__grid { grid-template-columns: 1fr 1fr; } .usp__item:nth-child(3) { border-left: 0; } .usp__item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .usp__grid { grid-template-columns: 1fr; } .usp__item + .usp__item { border-left: 0; border-top: 1px solid var(--line); } .usp__item { padding: 18px 4px; } }

/* Sektionen */
.section { padding: 88px 0; }
.section--sand { background: var(--sand); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section__head p { max-width: 46ch; color: var(--muted); margin: 0; }
@media (max-width: 640px) { .section { padding: 60px 0; } .section__head { margin-bottom: 28px; } }

/* Produktkarten */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 420px) { .grid { gap: 12px; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__media { position: relative; display: block; aspect-ratio: 1; background: var(--sand); overflow: hidden; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease, transform .5s ease; }
.card__media .is-pack { object-fit: contain; padding: 6%; }
.card__media .is-photo { opacity: 0; }
@media (hover: hover) { .card:hover .card__media .is-photo { opacity: 1; } .card:hover .card__media .is-pack { transform: scale(1.03); } }
.card__body { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 20px; flex: 1; }
.card__title { font: 700 1.15rem/1.2 var(--head); color: var(--navy); text-decoration: none; }
.card__title::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__verse { font-size: .88rem; color: var(--gold-ink); font-weight: 700; letter-spacing: .02em; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.price { font: 700 1.25rem/1 var(--head); color: var(--ink); }
.price small { display: block; font: 400 .74rem/1.4 var(--body); color: var(--muted); margin-top: 4px; }
.card .btn { position: relative; z-index: 2; }
.tag { position: absolute; left: 12px; top: 12px; z-index: 2; background: var(--navy); color: #fff; font: 700 .74rem/1 var(--body); letter-spacing: .04em; padding: 7px 10px; border-radius: 999px; }
.tag--gold { background: var(--gold); color: var(--navy); }
.tag--out { background: #6B7280; }
.card--feature { grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); border-color: var(--navy); color: #fff; }
.card--feature .card__media { aspect-ratio: auto; min-height: 340px; background: #0B3360; }
.card--feature .card__body { padding: 44px; justify-content: center; gap: 10px; }
.card--feature .card__title { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.card--feature .card__verse { color: var(--gold); }
.card--feature p { color: #D6DEE8; max-width: 40ch; }
.card--feature .price { color: #fff; }
.card--feature .price small { color: #AFC0D3; }
.card--feature .saving { display: inline-block; background: rgba(221,155,18,.16); color: var(--gold); border-radius: 999px; padding: 6px 12px; font-size: .88rem; font-weight: 700; width: fit-content; }
@media (max-width: 960px) { .card--feature { grid-column: span 2; } }
@media (max-width: 700px) { .card--feature { grid-template-columns: 1fr; } .card--feature .card__media { min-height: 0; aspect-ratio: 1; } .card--feature .card__body { padding: 26px 22px; } }
@media (max-width: 520px) {
  .card__body { padding: 14px 14px 16px; }
  .card__title { font-size: 1rem; }
  .card__foot { flex-direction: column; align-items: stretch; }
  .card__foot .btn { width: 100%; min-height: 44px; padding: 0 10px; font-size: .9rem; }
  .price { font-size: 1.1rem; }
}

/* Echte Fotos */
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.reel figure { margin: 0; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--sand-2); aspect-ratio: 4/5; position: relative; }
.reel img { width: 100%; height: 100%; object-fit: cover; }
.reel figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.92); color: var(--navy); font-size: .8rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.stamp { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: .9rem; color: var(--navy); font-weight: 700; }
.stamp svg { width: 18px; height: 18px; color: var(--gold-ink); }

/* Vers-Band */
.verseband { background: var(--navy); color: #fff; text-align: center; padding: 96px 0; position: relative; overflow: hidden; }
.verseband::before, .verseband::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(221,155,18,.25); }
.verseband::before { width: 520px; height: 520px; left: -200px; top: -180px; }
.verseband::after { width: 380px; height: 380px; right: -140px; bottom: -200px; }
.verseband blockquote { margin: 0 auto; max-width: 22ch; font: italic 400 clamp(2rem, 4.6vw, 3.6rem)/1.15 var(--serif); }
.verseband cite { display: block; margin-top: 22px; font: 700 .85rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-style: normal; }

/* Über uns */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about__img { border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; background: var(--sand-2); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__txt p { font-size: 1.08rem; color: #36404D; }
.about__sig { font: italic 400 1.7rem/1 var(--serif); color: var(--navy); margin-top: 8px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } .about__img { max-width: 420px; } }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--navy); font: 700 1.1rem/1 var(--head); margin-bottom: 14px; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 22px 0; font: 700 1.1rem/1.35 var(--head); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font: 400 1.3rem/1 var(--body); color: var(--navy); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: #36404D; max-width: 68ch; }

/* Produktseite */
.crumbs { font-size: .88rem; color: var(--muted); padding: 22px 0 0; }
.crumbs a { color: var(--muted); }
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; padding: 26px 0 80px; align-items: start; }
.gallery__main { border-radius: var(--radius); background: var(--sand); aspect-ratio: 1; overflow: hidden; display: grid; place-items: center; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main img.is-pack { object-fit: contain; padding: 7%; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--sand); cursor: pointer; aspect-ratio: 1; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--navy); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs img.is-pack { object-fit: contain; padding: 8%; }
.pdp__info { position: sticky; top: 96px; }
.pdp__info h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.pdp__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 6px 0 4px; }
.pdp__price .price { font-size: 1.9rem; }
.pdp__legal { font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.pdp__verse { border-left: 3px solid var(--gold); padding: 6px 0 6px 18px; margin: 22px 0; }
.pdp__verse q { font: italic 400 1.35rem/1.35 var(--serif); color: var(--navy); quotes: "„" "“"; }
.pdp__verse span { display: block; margin-top: 6px; font-size: .85rem; font-weight: 700; color: var(--gold-ink); letter-spacing: .04em; }
.buybox { display: flex; gap: 12px; margin: 24px 0 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--white); height: 50px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 1.3rem; color: var(--navy); cursor: pointer; border-radius: 999px; }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty output, .qty input { width: 34px; text-align: center; font-weight: 700; border: 0; background: none; font: 700 1rem/1 var(--body); }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--ok); font-weight: 700; }
.stock::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.stock--low { color: var(--gold-ink); }
.stock--out { color: var(--danger); }
.specs { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--line); }
.specs li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.specs li span:first-child { color: var(--muted); }
.specs li span:last-child { font-weight: 700; text-align: right; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 28px; padding-bottom: 56px; } .pdp__info { position: static; } }

/* Warenkorb-Schublade */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__bg { position: absolute; inset: 0; background: rgba(10, 20, 35, .45); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer__bg { opacity: 1; }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); box-shadow: -20px 0 50px rgba(0,0,0,.15); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.4rem; margin: 0; }
.iconbtn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.iconbtn svg { width: 20px; height: 20px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer__foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: var(--white); }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 72px; height: 72px; border-radius: 12px; background: var(--sand); object-fit: contain; padding: 4px; }
.line__name { font: 700 1rem/1.25 var(--head); color: var(--navy); text-decoration: none; }
.line__meta { font-size: .85rem; color: var(--muted); }
.line .qty { height: 38px; margin-top: 8px; }
.line .qty button { width: 34px; font-size: 1.1rem; }
.line__price { font-weight: 700; text-align: right; }
.line__rm { display: block; margin-top: 8px; background: none; border: 0; color: var(--muted); font-size: .82rem; text-decoration: underline; cursor: pointer; padding: 0; }
.sum { display: flex; justify-content: space-between; margin: 6px 0; }
.sum--total { font: 700 1.2rem/1.3 var(--head); color: var(--navy); margin-top: 12px; }
.empty { text-align: center; padding: 48px 8px; color: var(--muted); }
.empty svg { width: 54px; height: 54px; color: var(--sand-2); margin: 0 auto 12px; }

/* Kasse */
.checkout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; padding: 32px 0 80px; align-items: start; }
.box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.box h2 { font-size: 1.35rem; }
.ship { display: grid; gap: 10px; }
.ship label { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 16px; cursor: pointer; background: var(--paper); }
.ship label:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: var(--white); }
.ship input { accent-color: var(--navy); width: 20px; height: 20px; }
.ship .ship__p { margin-left: auto; font-weight: 700; }
.ship small { display: block; color: var(--muted); }
.legalnote { font-size: .88rem; color: var(--muted); margin: 16px 0; }
.legalnote a { color: var(--ink); }
.orderbtn { font-size: 1.08rem; min-height: 56px; }
.paylogos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.paylogos span { font-size: .75rem; border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; color: var(--muted); background: var(--paper); }
.alert { border-radius: 12px; padding: 14px 16px; background: #FCEFE9; color: var(--danger); font-size: .95rem; margin-top: 14px; }
.alert[hidden] { display: none; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; gap: 24px; } }

/* Rechtstexte */
.legal { max-width: 760px; padding: 40px 0 90px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal p, .legal li { color: #2E3846; }
.legal .box { margin: 1.5em 0; }

/* Footer */
.footer { background: #061F3B; color: #C6D2E0; padding: 64px 0 28px; font-size: .95rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .logo { width: 180px; margin-bottom: 16px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; font-size: .85rem; color: #93A6BC; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* Toast */
.toast { visibility: hidden; position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); width: max-content; background: var(--navy); color: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow); z-index: 90; display: flex; gap: 14px; align-items: center; transition: transform .3s cubic-bezier(.2,.8,.2,1); max-width: calc(100% - 32px); }
.toast.is-on { visibility: visible; transform: translate(-50%, 0); }
.toast button { background: var(--gold); color: var(--navy); border: 0; border-radius: 999px; padding: 8px 14px; font-weight: 700; cursor: pointer; white-space: nowrap; }

/* Danke / 404 */
.center { text-align: center; padding: 90px 0 110px; }
.center .bigicon { width: 84px; height: 84px; border-radius: 50%; background: var(--sand); color: var(--ok); display: grid; place-items: center; margin: 0 auto 26px; }
.center .bigicon svg { width: 40px; height: 40px; }
.center p { max-width: 52ch; margin-left: auto; margin-right: auto; color: #36404D; }

/* Einblend-Animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 520px) {
  .toast { left: 16px; right: 16px; width: auto; max-width: none; transform: translateY(160%); justify-content: space-between; }
  .toast.is-on { transform: none; }
  .card__foot .btn { white-space: nowrap; font-size: .85rem; padding: 0 8px; }
}
.ship__p, .line__price, .price, .sum span:last-child { white-space: nowrap; }
.co-items { list-style: none; padding: 0; margin: 0 0 14px; border-bottom: 1px solid var(--line); }
.co-items li { display: flex; justify-content: space-between; gap: 12px; padding: 0 0 10px; font-size: .92rem; }
.co-items li small { display: block; color: var(--muted); font-size: .8rem; }

/* Kontaktformular */
.contact { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .95rem; color: var(--navy); }
.field input, .field textarea { width: 100%; font: 400 1rem/1.5 var(--body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(221,155,18,.35); background: var(--white); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.contact .btn { justify-self: start; }
@media (max-width: 1100px) { .nav { gap: 20px; } }

/* Bilder füllen ihren quadratischen Rahmen immer exakt (kein Versatz nach unten) */
.gallery__main { position: relative; display: block; }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; }
.gallery__thumbs button { position: relative; display: block; }
.gallery__thumbs img { position: absolute; inset: 0; width: 100%; height: 100%; }
