/* MerciNote – Gestaltung
   Warmes Papier, Notenbraun, Kupfer als Akzent. Serifenschrift für Titel, Systemschrift für Text. */

:root {
  --paper: #f6efe4;
  --paper-2: #efe3cf;
  --card: #fffaf2;
  --ink: #2a1d14;
  --ink-2: #57432f;
  --muted: #86705c;
  --brown: #6b4226;
  --brown-d: #4a2c18;
  --copper: #b5652b;
  --gold: #d6a243;
  --line: #e4d5bd;
  --ok: #2f6b3c;
  --ok-bg: #e5f0e3;
  --warn: #8a5a00;
  --warn-bg: #fbefd2;
  --err: #a1311d;
  --err-bg: #f8e1da;
  --info: #3b5670;
  --info-bg: #e4ecf3;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 14px;
  --shadow: 0 1px 2px rgba(74, 44, 24, .06), 0 8px 24px rgba(74, 44, 24, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.6 var(--sans);
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; }
a { color: var(--brown); text-underline-offset: 2px; }
a:hover { color: var(--copper); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; color: var(--brown-d); margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
h3 { font-size: 1.15rem; margin-top: 1.4em; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .92em; background: var(--paper-2); padding: .1em .35em; border-radius: 4px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.wrap.wide { width: min(1280px, 100% - 2.5rem); }
.wrap.narrow { width: min(560px, 100% - 2.5rem); }
main.wrap { padding: 2rem 0 4rem; }
.landing { padding: 0; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.mt { margin-top: .75rem; }
.inline { display: inline; margin: 0; }
[hidden] { display: none !important; }

/* ---------- Kopf und Fuss ---------- */
.top { background: var(--brown-d); color: #f8eedf; position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 0 rgba(0,0,0,.2); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #f8eedf; text-decoration: none; font-family: var(--serif); font-size: 1.3rem; letter-spacing: .01em; }
.brand b { color: var(--gold); font-weight: 700; }
.brand:hover { color: #fff; }
.brand-mark {
  width: 34px; height: 18px; border-radius: 3px; position: relative;
  background: linear-gradient(135deg, #c98a4f, #8a5532 60%, #6b4226);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 3px 3px 0 -1px #a56b3f, 3px 3px 0 0 rgba(0,0,0,.25);
}
.brand-mark::after { content: ""; position: absolute; right: 5px; top: 4px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid rgba(255,240,220,.8); }
.nav { display: flex; align-items: center; gap: .25rem 1.1rem; flex-wrap: wrap; justify-content: flex-end; }
.nav a, .nav .linkish { color: #f1e2cc; text-decoration: none; font-size: .95rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav .linkish:hover { color: #fff; }
.nav a[aria-current="page"] { border-bottom-color: var(--gold); color: #fff; }
.linkish { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; color: var(--brown); text-decoration: underline; text-underline-offset: 2px; }
.nav .linkish { text-decoration: none; }
.testbar { background: var(--warn-bg); color: var(--warn); text-align: center; font-size: .85rem; font-weight: 600; padding: .35rem 1rem; border-bottom: 1px solid #ecd9a8; }

.foot { background: var(--paper-2); border-top: 1px solid var(--line); color: var(--ink-2); font-size: .9rem; }
.foot-in { padding: 2rem 0 2.5rem; display: grid; gap: .6rem; }
.foot-brand { font-family: var(--serif); font-size: 1.15rem; margin: 0; color: var(--brown-d); }
.foot-brand b { color: var(--copper); }
.foot-brand span { font-family: var(--sans); font-size: .9rem; color: var(--muted); }
.foot nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.foot .fine { color: var(--muted); font-size: .82rem; margin: 0; }

/* ---------- Bedienelemente ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font: 600 1rem/1.2 var(--sans); padding: .75rem 1.25rem; border-radius: 10px; cursor: pointer;
  background: var(--brown); color: #fff; border: 1px solid var(--brown); text-decoration: none;
  transition: background .15s, transform .05s, box-shadow .15s;
}
.btn:hover { background: var(--brown-d); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-big { font-size: 1.08rem; padding: .95rem 1.6rem; border-radius: 12px; box-shadow: 0 6px 18px rgba(107, 66, 38, .25); }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--brown); border-color: #cdb595; }
.btn-ghost:hover { background: var(--paper-2); color: var(--brown-d); }
.btn-danger { background: var(--err); border-color: var(--err); }
.btn-danger:hover { background: #7f2414; }
.btn-sm { font-size: .85rem; padding: .35rem .7rem; border-radius: 8px; }
.inline-actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin: 1rem 0; }
.inline-actions form { margin: 0; }

.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .3rem; color: var(--ink-2); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=search], input:not([type]), select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #d6c3a5; border-radius: 10px;
  padding: .65rem .8rem; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(181, 101, 43, .18); }
input[readonly] { background: var(--paper); color: var(--ink-2); }
.field.invalid input, .field.invalid select { border-color: var(--err); box-shadow: 0 0 0 3px rgba(161, 49, 29, .12); }
.hint { display: block; color: var(--muted); font-size: .84rem; margin-top: .3rem; }
.check { display: block; position: relative; padding-left: 1.75rem; margin: .6rem 0 1rem; font-size: .93rem; cursor: pointer; }
.check input { position: absolute; left: 0; top: .2rem; width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--brown); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.row2 .zip { max-width: 9rem; }
.row2:has(.zip) { grid-template-columns: 8rem 1fr; }
.field.code input { font-size: 1.5rem; letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.2rem .4rem; margin: 0 0 1.2rem; }
legend { font-weight: 700; color: var(--brown-d); padding: 0 .4rem; }

.alert { border-radius: 10px; padding: .8rem 1rem; margin: 0 0 1.2rem; font-size: .95rem; border: 1px solid transparent; }
.alert-ok { background: var(--ok-bg); color: var(--ok); border-color: #c9e0c4; }
.alert-info { background: var(--info-bg); color: var(--info); border-color: #cddbe8; }
.alert-warn { background: var(--warn-bg); color: var(--warn); border-color: #ecd9a8; }
.alert-error { background: var(--err-bg); color: var(--err); border-color: #efc5b9; }
.alert a { color: inherit; font-weight: 600; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--shadow); margin-bottom: 1.5rem; }
.card > h2:first-child, .card > h1:first-child, .card > h3:first-child { margin-top: 0; }
.card.auth { max-width: 460px; margin-inline: auto; }
.narrow-card { max-width: 560px; margin-inline: auto; }
.hint-box { background: var(--paper); border: 1px dashed #d3bd9c; border-radius: 10px; padding: .8rem 1rem; margin-top: 1.2rem; font-size: .93rem; }
.page-h, .page-head h1 { margin-bottom: .25rem; }
.page-head { margin-bottom: 1rem; }
.page-head p { margin: 0; }

.badge { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .02em; padding: .18rem .55rem; border-radius: 999px; white-space: nowrap; border: 1px solid transparent; }
.st-pending { background: var(--warn-bg); color: var(--warn); border-color: #ecd9a8; }
.st-paid { background: var(--ok-bg); color: var(--ok); border-color: #c9e0c4; }
.st-shipped { background: #e1eef0; color: #1f5f66; border-color: #c4dde0; }
.st-cancelled, .st-failed { background: #eee8e2; color: #6f6157; border-color: #ddd3c9; }
.st-refunded { background: #ece6f1; color: #5b4670; border-color: #dbd0e5; }

.tabs { display: flex; gap: .3rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; overflow-x: auto; }
.tabs a { padding: .6rem 1rem; text-decoration: none; color: var(--ink-2); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; font-weight: 600; }
.tabs a[aria-current="page"] { color: var(--brown-d); border-bottom-color: var(--copper); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; align-items: start; }
.grid2 > .card { margin: 0; }
.danger-zone { border-color: #efc5b9; }
details.sub { border-top: 1px solid var(--line); padding: .7rem 0 .2rem; margin-top: .8rem; }
details.sub summary { cursor: pointer; font-weight: 600; color: var(--brown); }
details.sub[open] summary { margin-bottom: .8rem; }

/* ---------- Startseite ---------- */
.hero {
  position: relative; overflow: hidden; color: #f8eedf;
  background:
    radial-gradient(ellipse at 85% 30%, rgba(214, 162, 67, .22), transparent 55%),
    repeating-radial-gradient(circle at 90% 50%, rgba(255,255,255,.035) 0 1px, transparent 1px 9px),
    linear-gradient(160deg, #5b3a24 0%, #3f2616 70%, #331e11 100%);
}
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center; padding: 4.5rem 0 5rem; }
.hero h1 { color: #fff7ea; font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 1; margin-bottom: .45em; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--gold); margin-bottom: .8rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.hero .lead { color: #ead9c1; max-width: 34rem; }
.hero-cta { margin-top: 1.8rem; }
.hero .btn-big { background: var(--gold); border-color: var(--gold); color: #2e1b0e; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.hero .btn-big:hover { background: #e7b65a; color: #2e1b0e; }
.price-line { margin: .9rem 0 0; font-size: 1rem; }
.hero .price-line { color: #f3e4cf; }
.hero .price-line strong { color: #fff; font-size: 1.15rem; }
.pay-line { color: var(--muted); font-size: .88rem; margin-top: .4rem; }
.hero .pay-line { color: #c6ad8f; }
.soldout { font-weight: 700; color: var(--gold); font-size: 1.1rem; }
.hero-art { position: relative; padding: 2rem 1.5rem 3rem 0; }
.hero-art .note { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.3); }
.note-back { position: absolute; top: 0; left: 8%; width: 92% !important; transform: rotate(-7deg); opacity: .96; filter: brightness(.92); }
.note-front { position: relative; transform: rotate(4deg) translateY(2.6rem); }

.uses { padding: 4rem 0 1rem; }
.uses h2, .steps h2, .faq h2 { text-align: center; margin-bottom: 1.6rem; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.use { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--shadow); }
.use-ic { width: 52px; height: 52px; display: block; margin-bottom: .8rem; }
.use h3 { margin-top: 0; }
.use p { color: var(--ink-2); margin: 0; }

.product-band { background: linear-gradient(180deg, transparent, var(--paper-2) 18%, var(--paper-2) 82%, transparent); padding: 3.5rem 0; margin-top: 2rem; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.product-info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.checks { list-style: none; padding: 0; margin: 0 0 1rem; }
.checks li { padding-left: 1.7rem; position: relative; margin-bottom: .35rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 1rem; height: .55rem; border-left: 2.5px solid var(--copper); border-bottom: 2.5px solid var(--copper); transform: rotate(-45deg); }
.buy { margin-top: 1.2rem; }
.buy-row { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; }
.buy-row label { font-weight: 600; color: var(--ink-2); }
.buy-row input { width: 5.5rem; text-align: center; }

.steps { padding: 3rem 0 1rem; }
.steps3 { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.steps3 li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem 1.4rem 1.4rem 4.2rem; position: relative; }
.steps3 li::before { content: counter(s); position: absolute; left: 1.2rem; top: 1.2rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--brown); color: #fff; font: 700 1.1rem/2.2rem var(--serif); text-align: center; }
.steps3 b { display: block; font-family: var(--serif); font-size: 1.12rem; color: var(--brown-d); }
.steps3 span { color: var(--ink-2); font-size: .95rem; }

.faq { padding: 3rem 0 4rem; max-width: 760px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: .7rem; padding: 0 1.2rem; }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 600; color: var(--brown-d); list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: .8rem; font-size: 1.4rem; color: var(--copper); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin-bottom: 1rem; }

/* ---------- Bündel aus dem Notenbild ---------- */
.bundle { position: relative; margin: 0 22px 26px 0; }
.bundle-top { position: relative; display: block; width: 100%; height: auto; border-radius: 4px; z-index: 6; box-shadow: 0 1px 1px rgba(0,0,0,.12); }
.bundle-layer { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 4px; object-fit: fill; box-shadow: 0 1px 0 rgba(0,0,0,.2); }
.bundle-layer.l1 { transform: translate(3px, 3px) rotate(.4deg); filter: brightness(.95); z-index: 5; }
.bundle-layer.l2 { transform: translate(6px, 7px) rotate(-.5deg); filter: brightness(.9); z-index: 4; }
.bundle-layer.l3 { transform: translate(10px, 11px) rotate(.7deg); filter: brightness(.86); z-index: 3; }
.bundle-layer.l4 { transform: translate(14px, 15px) rotate(-.3deg); filter: brightness(.82); z-index: 2; }
.bundle-layer.l5 { transform: translate(18px, 20px) rotate(.5deg); filter: brightness(.78); z-index: 1; }
.bundle-edge { position: absolute; left: 4%; right: -16px; bottom: -24px; height: 30px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(40, 20, 8, .35), transparent 70%); z-index: 0; filter: blur(4px); }
.banderole {
  position: absolute; z-index: 7; top: -4%; bottom: -6%; left: 31%; width: 13%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(90deg, #e9dcc3, #fffaf0 35%, #fbf3e3 65%, #e2d2b5);
  border-left: 1px solid rgba(74,44,24,.18); border-right: 1px solid rgba(74,44,24,.18);
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
}
.banderole span { font: 700 clamp(.95rem, 2.6vw, 1.7rem)/1 var(--serif); color: var(--brown-d); }
.banderole small { font-size: clamp(.5rem, 1.1vw, .72rem); text-transform: uppercase; letter-spacing: .12em; color: var(--copper); font-weight: 700; margin-top: .2rem; }
.bundle-lg { transform: rotate(-3deg); }
.bundle-sm { max-width: 260px; margin: 0 auto 1.6rem; }
.bundle-sm .banderole span { font-size: 1.05rem; }
.bundle-sm .banderole small { font-size: .5rem; }
.thanks-art { max-width: 300px; margin: 0 auto 1rem; }

/* ---------- Bestellung ---------- */
.order { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: start; }
.order .card { margin: 0; }
.order-side { position: sticky; top: 80px; }
.summary h2 { font-size: 1.3rem; }
.stepper { display: flex; align-items: stretch; max-width: 11rem; }
.stepper input { text-align: center; border-radius: 0; font-weight: 700; font-size: 1.1rem; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.step { width: 2.8rem; flex: none; font-size: 1.3rem; background: var(--paper-2); border: 1px solid #d6c3a5; color: var(--brown-d); cursor: pointer; }
.step:first-child { border-radius: 10px 0 0 10px; border-right: 0; }
.step:last-child { border-radius: 0 10px 10px 0; border-left: 0; }
.step:hover { background: var(--line); }
.sum { margin: 1rem 0; border-top: 1px solid var(--line); }
.sum div { display: flex; justify-content: space-between; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.sum dt { color: var(--ink-2); }
.sum dd { margin: 0; font-variant-numeric: tabular-nums; }
.sum .total { font-size: 1.15rem; font-weight: 700; border-bottom: 0; }
.sum .total dd { color: var(--brown-d); }

.order-view { text-align: left; }
.order-view h1 { text-align: center; }
.order-view .lead { text-align: center; }
.order-view > .muted { text-align: center; }
.facts { margin: 1rem 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: .92rem; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.order-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.order-list li a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem .2rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.order-list li a:hover { background: var(--paper); }
.order-list small { display: block; color: var(--muted); }

/* ---------- Konto / 2FA ---------- */
.setup-steps { padding-left: 1.2rem; }
.setup-steps li { margin-bottom: .9rem; }
.qr { width: 216px; height: 216px; margin: .8rem 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; }
.qr img { width: 200px; height: 200px; image-rendering: pixelated; }
.secret { display: inline-block; font-size: 1rem; letter-spacing: .06em; padding: .4rem .6rem; word-break: break-all; }
.codes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; margin: 1rem 0; }
.codes code { display: block; text-align: center; font-size: 1.05rem; padding: .5rem; background: var(--paper); border: 1px solid var(--line); }

/* ---------- Admin ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .25rem; }
a.kpi:hover { border-color: var(--copper); color: var(--ink); }
.kpi-l { font-size: .82rem; color: var(--muted); font-weight: 600; }
.kpi-v { font: 700 1.45rem/1.15 var(--serif); color: var(--brown-d); font-variant-numeric: tabular-nums; }
.kpi-hot { background: var(--warn-bg); border-color: #ecd9a8; }
.kpi-hot .kpi-v { color: var(--warn); }
.admin-grid { margin-bottom: 1.5rem; }
.chart { width: 100%; height: auto; display: block; }
.chart .axis { stroke: var(--line); stroke-width: 1; }
.chart .bar { fill: #c89c6f; }
.chart .bar-now { fill: var(--copper); }
.chart g:hover .bar { fill: var(--brown); }
.chart .lbl { fill: var(--muted); font-size: 12px; text-anchor: middle; font-family: var(--sans); }
.chart .val { fill: var(--ink-2); font-size: 11px; text-anchor: middle; font-family: var(--sans); font-weight: 600; }
.toolbar { display: flex; gap: .8rem 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.toolbar > .muted { margin: 0; }
.chips { display: flex; gap: .4rem; flex-wrap: wrap; flex: 1 1 auto; }
.chips a { text-decoration: none; padding: .35rem .75rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); font-size: .88rem; font-weight: 600; }
.chips a span { color: var(--muted); font-weight: 400; margin-left: .2rem; }
.chips a[aria-current="page"] { background: var(--brown); border-color: var(--brown); color: #fff; }
.chips a[aria-current="page"] span { color: #ecd8bd; }
.search { display: flex; gap: .5rem; margin: 0; }
.search input { width: 15rem; padding: .5rem .7rem; }
.search .btn { padding: .5rem .9rem; }
.table-wrap { overflow-x: auto; padding: 0; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { padding: .7rem .9rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--paper); }
.table tbody tr:hover { background: #fdf5e8; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.card .table th { background: transparent; }
.order-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.order-head h2 { margin: 0; }
.timeline { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.timeline li { padding: .45rem 0 .45rem 1.1rem; border-left: 2px solid var(--line); position: relative; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: .85rem; width: 10px; height: 10px; border-radius: 50%; background: #c89c6f; }
.timeline li.ev-warn::before { background: var(--err); }
.timeline time { color: var(--muted); font-variant-numeric: tabular-nums; margin-right: .3rem; }
address { font-style: normal; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: .8rem 1rem; line-height: 1.5; }
.remark { background: var(--warn-bg); border-radius: 10px; padding: .7rem 1rem; }

/* ---------- Rechtstexte ---------- */
.prose h1 { margin-bottom: .8rem; }
.prose h2 { font-size: 1.25rem; margin-top: 1.8rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }

/* ---------- Kleine Bildschirme ---------- */
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; padding: 3rem 0 3.5rem; gap: 1rem; }
  .hero-art { max-width: 480px; padding: 1rem 1rem 3rem 0; }
  .product { grid-template-columns: 1fr; gap: 2rem; }
  .product .bundle { max-width: 520px; }
  .order { grid-template-columns: 1fr; }
  .order-side { position: static; }
}
@media (max-width: 720px) {
  .cards3, .steps3 { grid-template-columns: 1fr; }
  .row2, .row2:has(.zip) { grid-template-columns: 1fr; }
  .row2 .zip { max-width: none; }
  .facts div { grid-template-columns: 1fr; gap: .1rem; }
  .card { padding: 1.2rem; }
  .search input { width: 100%; }
  .search { flex: 1 1 100%; }
  .top-in { min-height: 54px; }
  .brand { font-size: 1.15rem; }
  .nav { gap: .2rem .8rem; }
  .nav a, .nav .linkish { font-size: .9rem; }
}

@media print {
  .top, .foot, .tabs, .inline-actions, .alert, .testbar { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; border: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

.flash-top { padding-top: 1rem; }
.flash-top .alert { margin-bottom: 1rem; }
@media (max-width: 480px) {
  .top-in { flex-wrap: wrap; gap: .1rem 1rem; padding: .45rem 0; }
  .nav { gap: .1rem .9rem; }
}

/* ---------- Echte Note: Foto im Kopf, Bündel hochkant ---------- */
.hero-photo {
  color: var(--ink);
  background: radial-gradient(ellipse at 72% 50%, #e6e0d7 0%, #e1dad0 45%, #dbd3c7 100%);
}
.hero-photo .hero-in { grid-template-columns: 1fr 1.15fr; gap: 1rem; padding: 1.5rem 0; }
.hero-photo h1 { color: var(--brown-d); }
.hero-photo .kicker { color: var(--copper); }
.hero-photo .lead { color: var(--ink-2); }
.hero-photo .btn-big { background: var(--brown); border-color: var(--brown); color: #fff; box-shadow: 0 8px 22px rgba(74, 44, 24, .28); }
.hero-photo .btn-big:hover { background: var(--brown-d); color: #fff; }
.hero-photo .price-line { color: var(--ink-2); }
.hero-photo .price-line strong { color: var(--brown-d); }
.hero-photo .pay-line { color: var(--muted); }
.hero-photo .soldout { color: var(--copper); }
.hero-photo .hero-art { padding: 0; }
.hero-img {
  display: block; width: 112%; max-width: none; height: auto; margin: -1rem -6% -1.5rem -6%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  mask-composite: intersect;
}

.product-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 100%; padding: 1rem 0; }
.product-back { position: absolute; width: 200px; height: auto; border-radius: 4px; transform: translateX(105px) rotate(9deg); box-shadow: 0 14px 30px rgba(74, 44, 24, .25); filter: brightness(.97); }

.bundle.is-portrait { width: 100%; }
.bundle.is-portrait.bundle-lg { max-width: 240px; transform: translateX(-60px) rotate(-4deg); margin: 0 22px 26px 0; }
.bundle.is-portrait.bundle-sm { max-width: 118px; margin: .3rem auto 1.6rem; }
.thanks-art .bundle.is-portrait { max-width: 130px; }
.banderole-img {
  position: absolute; z-index: 7; left: -2.5%; width: 105%; top: 41%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .28); line-height: 0;
}
.banderole-img img { width: 100%; height: auto; display: block; }
.banderole-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.35), transparent 5%, transparent 95%, rgba(0,0,0,.35));
}

@media (max-width: 900px) {
  .hero-photo .hero-in { grid-template-columns: 1fr; padding: 2.2rem 0 1rem; }
  .hero-img { width: 112%; margin: -1rem -6% -1rem -6%; }
  .product-art { min-height: 380px; }
}
@media (max-width: 480px) {
  .product-back { width: 150px; transform: translateX(80px) rotate(9deg); }
  .bundle.is-portrait.bundle-lg { max-width: 180px; transform: translateX(-45px) rotate(-4deg); }
}

/* ---------- Gerendertes Bündel ---------- */
.bundle-img { display: block; width: 100%; height: auto; }
.bundle-img.bundle-sm { max-width: 230px; margin: 0 auto 1rem; }
.thanks-art .bundle-img { max-width: 260px; margin: 0 auto; }
.product-scene { display: block; width: 100%; max-width: 540px; height: auto; margin: 0 auto; }
@media (max-width: 900px) {
  .product-art { min-height: 0; }
  .product-scene { max-width: 420px; }
}
