/* ==========================================================================
   Landingpage Tortenaufleger – printor
   Mobile First, ohne externe Fonts (schnell + DSGVO-freundlich)
   ========================================================================== */

:root {
  --c-bg: #fbf7f1;
  --c-tint: #f4ebdf;
  --c-surface: #ffffff;
  --c-text: #2d221b;
  --c-muted: #6b5c50;
  --c-line: #e6d9c8;
  --c-accent: #a63d32;        /* warmes Himbeer-/Ziegelrot */
  --c-accent-dark: #7a2e2a;
  --c-accent-soft: #fbe9e5;
  --c-sage: #5f7356;
  --c-warn-bg: #fff4dc;
  --c-warn-line: #e3a72f;
  --c-warn-text: #6b4a05;
  --c-error: #b42318;
  --c-ok: #2f6b3a;

  --font-head: "Palatino Linotype", Palatino, "Book Antiqua", "Iowan Old Style", Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(45, 34, 27, .06), 0 8px 24px rgba(45, 34, 27, .07);
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent-dark); text-underline-offset: 2px; }
a:hover { color: var(--c-accent); }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 800px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--c-accent-dark); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.3rem;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 650; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn--primary { background: var(--c-accent); color: #fff; box-shadow: 0 6px 18px rgba(166, 61, 50, .3); }
.btn--primary:hover { background: var(--c-accent-dark); color: #fff; transform: translateY(-1px); }
.btn--primary:disabled { opacity: .65; cursor: progress; transform: none; }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.btn--outline { color: var(--c-accent-dark); border-color: var(--c-accent); background: transparent; }
.btn--outline:hover { background: var(--c-accent); color: #fff; }
.btn--light { background: #fff; color: var(--c-accent-dark); }
.btn--light:hover { background: var(--c-accent-soft); color: var(--c-accent-dark); }
.btn--small { min-height: 38px; padding: .4rem 1rem; font-size: .95rem; }
.btn--large { min-height: 54px; padding: .85rem 1.8rem; font-size: 1.08rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 241, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 1rem; }
.logo { display: block; line-height: 0; }
.logo img { width: 114px; height: 48px; }
.site-nav { display: flex; align-items: center; gap: 1.2rem; }
.site-nav a:not(.btn) { display: none; color: var(--c-text); text-decoration: none; font-weight: 550; }
.site-nav a:not(.btn):hover { color: var(--c-accent); }
.site-nav .btn { color: #fff; background: var(--c-accent); }
@media (min-width: 760px) { .site-nav a:not(.btn) { display: inline; } }

/* ---------- Hero ---------- */
/* Mobil: Foto oben frei sichtbar, Text darunter. Desktop: Text links über dem Foto. */
.hero { position: relative; isolation: isolate; color: #fff; background: #3b2418; overflow: hidden; }
.hero__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 78% center; }
.hero__content { padding-top: 1.5rem; padding-bottom: 2.5rem; display: flex; flex-direction: column; }
@media (min-width: 900px) {
  .hero__media img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: 65% center; z-index: -2; }
  .hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(40, 22, 14, .88) 0%, rgba(40, 22, 14, .7) 40%, rgba(40, 22, 14, .1) 75%);
  }
  .hero__content { min-height: min(88vh, 760px); justify-content: center; padding-top: 4rem; padding-bottom: 4rem; }
  .hero__content > * { max-width: 600px; }
}
.breadcrumb ol { list-style: none; margin: 0 0 1.2rem; padding: 0; display: flex; gap: .4rem; font-size: .88rem; opacity: .9; }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; }
.breadcrumb a { color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; font-weight: 700; color: #ffd9c7; margin-bottom: .6rem; }
.hero h1 { font-size: clamp(2rem, 5.4vw, 3.4rem); margin-bottom: .5em; text-wrap: balance; }
.hero__lead { font-size: 1.12rem; max-width: 560px; }
.hero__facts { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .35rem; }
.hero__facts li { padding-left: 1.7rem; position: relative; font-weight: 550; }
.hero__facts li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23a63d32' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.4rem; }
.hero__note { font-size: .95rem; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius-sm); padding: .7rem 1rem; max-width: 560px; margin: 0; }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section--tinted { background: var(--c-tint); }
.section__title { font-size: clamp(1.6rem, 3.6vw, 2.3rem); text-wrap: balance; }
.section__intro { color: var(--c-muted); font-size: 1.1rem; max-width: 720px; margin-bottom: 2rem; }
.section h3 { margin-top: 1.6em; }
.section .steps h3, .section .price-card h3, .section .occasions h3, .section .store-card h3, .section .faq h3 { margin-top: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: none; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--c-surface); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.step__num {
  display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--c-accent-soft); color: var(--c-accent-dark); font-weight: 800; margin-bottom: .8rem; font-family: var(--font-head); font-size: 1.15rem;
}
.step p { margin: 0; color: var(--c-muted); }

/* Split */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; } .split--even { grid-template-columns: 1fr 1fr; align-items: start; } }
.split__media { margin: 0; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; width: 100%; }
.split__media figcaption { font-size: .9rem; color: var(--c-muted); margin-top: .6rem; text-align: center; }

/* Prices */
.price-grid { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
@media (min-width: 600px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .price-grid { grid-template-columns: repeat(5, 1fr); } }
.price-card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.5rem;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.price-card__shape { width: 56px; height: 56px; margin-bottom: .8rem; fill: var(--c-accent-soft); stroke: var(--c-accent); stroke-width: 2.5; }
.price-card p { color: var(--c-muted); font-size: .97rem; }
.price-card__price { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--c-text) !important; margin-top: auto; }
.price-extra { background: var(--c-accent-soft); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 0; }

/* Occasions */
.occasions { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 640px) { .occasions { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .occasions { grid-template-columns: repeat(4, 1fr); } }
.occasions li { background: var(--c-surface); border-radius: var(--radius); padding: 1.3rem 1.4rem; border-top: 4px solid var(--c-accent); }
.occasions p { margin: 0; color: var(--c-muted); font-size: .97rem; }

.tick-list { padding-left: 1.2rem; }
.tick-list li { margin-bottom: .4rem; }

/* Store */
.store-card { background: var(--c-surface); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.store-card address { font-style: normal; margin-bottom: 1rem; line-height: 1.55; }
.hours { margin: 0 0 1rem; display: grid; gap: .2rem; }
.hours div { display: flex; justify-content: space-between; max-width: 280px; border-bottom: 1px dashed var(--c-line); padding: .2rem 0; }
.hours dt { font-weight: 650; }
.hours dd { margin: 0; }
.store-card__about { color: var(--c-muted); font-size: .97rem; margin: 0; }

/* FAQ */
.faq { display: grid; gap: .7rem; }
.faq details { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.2rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--c-accent); font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq summary h3 { display: inline; font-size: 1.08rem; margin: 0; }
.faq details p { padding: 0 1.2rem 1.1rem; margin: 0; color: var(--c-muted); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--c-accent-dark), var(--c-accent)); color: #fff; text-align: center; }
.cta-band__inner { max-width: 720px; }
.cta-band h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }

/* Footer */
.site-footer { background: #2d221b; color: #e9dfd4; padding: 2rem 0 6rem; font-size: .93rem; }
@media (min-width: 960px) { .site-footer { padding-bottom: 2rem; } }
.site-footer a { color: #fff; }
.site-footer__inner { display: grid; gap: .8rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.site-footer p { margin: 0; }

/* ==========================================================================
   Bestellformular
   ========================================================================== */
.section--order { background: linear-gradient(180deg, var(--c-bg), var(--c-tint)); scroll-margin-top: 60px; }
#zusammenfassung { scroll-margin-top: 80px; }

.order { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 960px) { .order { grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; } }
.order__main { display: grid; gap: 1.5rem; min-width: 0; }

.order__block {
  margin: 0; min-width: 0; border: 1px solid var(--c-line); border-radius: var(--radius);
  background: var(--c-surface); padding: 1.4rem 1.2rem 1.5rem; box-shadow: var(--shadow);
}
@media (min-width: 600px) { .order__block { padding: 1.8rem 1.8rem 1.9rem; } }
.order__block legend {
  float: left; width: 100%; padding: 0; margin-bottom: 1rem;
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; display: flex; align-items: center; gap: .6rem;
}
.order__block legend + * { clear: both; }
.order__num {
  display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--c-accent); color: #fff; font-size: 1rem; font-family: var(--font-body); font-weight: 750;
}

.hint { font-size: .92rem; color: var(--c-muted); margin: .4rem 0 1rem; }
.optional { font-weight: 400; color: var(--c-muted); font-size: .9em; }

/* Felder */
.field { margin-bottom: 1rem; }
.field label, .field-label { display: block; font-weight: 650; margin-bottom: .35rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row--zip { grid-template-columns: 8rem 1fr; } }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="time"], select, textarea {
  width: 100%; font: inherit; color: var(--c-text); background: #fff;
  border: 1.5px solid #d6c6b2; border-radius: var(--radius-sm); padding: .7rem .85rem; min-height: 48px;
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(166, 61, 50, .18); }
.is-invalid, input.is-invalid, textarea.is-invalid { border-color: var(--c-error) !important; }
.field-error { color: var(--c-error); font-size: .92rem; font-weight: 600; margin: .3rem 0 .8rem; }

/* Mengenzeilen */
.qty-list { display: grid; gap: .6rem; margin-bottom: 1rem; }
.qty-row {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "info price" "stepper stepper";
  gap: .6rem 1rem; align-items: center;
  border: 1.5px solid var(--c-line); border-radius: var(--radius-sm); padding: .85rem 1rem; transition: border-color .15s, background-color .15s;
}
@media (min-width: 560px) { .qty-row { grid-template-columns: 1fr auto auto; grid-template-areas: "info price stepper"; } }
.qty-row.is-active { border-color: var(--c-accent); background: var(--c-accent-soft); }
.qty-row.is-pulse { animation: pulse .6s ease; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(166, 61, 50, .45); } 100% { box-shadow: 0 0 0 12px rgba(166, 61, 50, 0); } }
.qty-row__info { grid-area: info; display: flex; flex-direction: column; }
.qty-row__name { font-weight: 650; cursor: pointer; }
.qty-row__meta { font-size: .88rem; color: var(--c-muted); }
.qty-row__price { grid-area: price; font-weight: 700; white-space: nowrap; }
.stepper { grid-area: stepper; display: inline-flex; align-items: stretch; border: 1.5px solid #d6c6b2; border-radius: 999px; overflow: hidden; background: #fff; justify-self: start; }
@media (min-width: 560px) { .stepper { justify-self: end; } }
.stepper__btn {
  width: 46px; min-height: 44px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--c-accent-dark);
}
.stepper__btn:hover { background: var(--c-accent-soft); }
.stepper__btn:disabled { color: #c9b9a8; cursor: default; background: transparent; }
.stepper__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.stepper input {
  width: 3.4rem; border: 0; border-left: 1px solid var(--c-line); border-right: 1px solid var(--c-line);
  text-align: center; font: inherit; font-weight: 700; font-size: 1.1rem; color: var(--c-text); background: #fff; -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; background: var(--c-accent-soft); }

/* Maße je Aufleger (erscheinen unter der gewählten Größe) */
.masse {
  margin: -.35rem 0 .2rem; padding: .7rem 1rem .8rem; border: 1.5px solid var(--c-accent); border-top: 0;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); background: #fff;
}
.masse__titel { margin: 0 0 .5rem; font-size: .9rem; font-weight: 650; color: var(--c-accent-dark); }
.masse__zeile { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; padding: .3rem 0; }
.masse__nr { min-width: 5.5rem; font-size: .9rem; color: var(--c-muted); }
.masse__feld { display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; }
.masse__feld input {
  width: 4.6rem; padding: .45rem .5rem; border: 1.5px solid #d6c6b2; border-radius: 8px; font: inherit; text-align: center;
}
.masse__feld input:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-soft); }
.masse__feld input.is-invalid { border-color: #b42318; background: #fdf2f1; }
.masse__mal, .masse__einheit { color: var(--c-muted); font-size: .9rem; }
.masse__fehler { flex-basis: 100%; color: #b42318; font-size: .88rem; font-weight: 600; }
.masse__hinweis { margin: 0 0 .5rem; padding: .45rem .7rem; border-radius: 8px; background: #e7f4ea; color: #2f6b3a; font-size: .88rem; font-weight: 600; }

/* Dropzone */
.dropzone { position: relative; }
.dropzone__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.no-js .dropzone__input { position: static; width: auto; height: auto; opacity: 1; margin-bottom: 1rem; }
.no-js .dropzone__label { display: none; }
.dropzone__label {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .25rem;
  border: 2.5px dashed #cdb49b; border-radius: var(--radius); background: #fffaf4; padding: 2rem 1rem; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.dropzone__label:hover, .dropzone.is-dragover .dropzone__label { border-color: var(--c-accent); background: var(--c-accent-soft); }
.dropzone__input:focus-visible + .dropzone__label { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.dropzone__icon { width: 46px; height: 46px; fill: none; stroke: var(--c-accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .3rem; }
.dropzone__title { font-weight: 700; font-size: 1.05rem; }
.dropzone__link { color: var(--c-accent-dark); text-decoration: underline; font-weight: 650; }
.dropzone__meta { font-size: .85rem; color: var(--c-muted); margin-top: .3rem; }

.file-list { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .5rem; }
.file-list:empty { display: none; }
.file-item { display: flex; align-items: center; gap: .8rem; border: 1px solid var(--c-line); border-radius: var(--radius-sm); padding: .5rem .6rem; background: #fff; }
.file-item__thumb { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; flex: none; background: var(--c-tint); display: grid; place-items: center; font-size: .7rem; font-weight: 750; color: var(--c-muted); }
.file-item__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.file-item__name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item__size { font-size: .85rem; color: var(--c-muted); }
.file-item__remove {
  flex: none; border: 0; background: transparent; color: var(--c-error); cursor: pointer; font: inherit; font-weight: 650; font-size: .9rem;
  padding: .5rem .7rem; border-radius: 6px; min-height: 40px;
}
.file-item__remove:hover { background: #fdecea; }

/* Optionskarte, Auswahl, Checkboxen */
.option-card, .choice { position: relative; }
.option-card input, .choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option-card label, .choice label {
  display: block; cursor: pointer; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm);
  padding: 1rem 1rem 1rem 3.2rem; position: relative; transition: border-color .15s, background-color .15s;
}
.option-card label::before, .choice label::before {
  content: ""; position: absolute; left: 1rem; top: 1.05rem; width: 1.35rem; height: 1.35rem;
  border: 2px solid #b9a48e; background: #fff; transition: all .15s;
}
.option-card label::before { border-radius: 5px; }
.choice label::before { border-radius: 50%; }
.option-card input:checked + label, .choice input:checked + label { border-color: var(--c-accent); background: var(--c-accent-soft); }
.option-card input:checked + label::before {
  border-color: var(--c-accent); background: var(--c-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/85% no-repeat;
}
.choice input:checked + label::before { border-color: var(--c-accent); box-shadow: inset 0 0 0 4px #fff; background: var(--c-accent); }
.option-card input:focus-visible + label, .choice input:focus-visible + label { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.option-card { margin: 1.2rem 0 1rem; }
.option-card__title, .choice__title { display: block; font-weight: 700; }
.option-card__price { color: var(--c-accent-dark); white-space: nowrap; }
.option-card__text, .choice__text { display: block; font-size: .92rem; color: var(--c-muted); }
.choice__methods { display: flex; flex-wrap: wrap; gap: .3rem; margin: .4rem 0 .3rem; }
.choice__methods span {
  font-size: .76rem; font-weight: 650; line-height: 1.3; color: var(--c-text);
  background: #fff; border: 1px solid var(--c-line); border-radius: 999px; padding: .15rem .55rem; white-space: nowrap;
}

.choice-grid { display: grid; gap: .7rem; margin-bottom: 1rem; }
@media (min-width: 560px) { .choice-grid { grid-template-columns: 1fr 1fr; } }

.sub-block { border-top: 1px solid var(--c-line); padding-top: 1.2rem; margin-top: .4rem; }

.check { display: flex; gap: .7rem; align-items: flex-start; }
.check input { width: 1.3rem; height: 1.3rem; margin-top: .2rem; flex: none; accent-color: var(--c-accent); cursor: pointer; }
.check label { cursor: pointer; font-size: .95rem; }

/* Bedingte Bereiche: nur mit JS ausblenden, ohne JS bleibt alles nutzbar */
.js .cond:not(.is-open) { display: none; }

/* Hinweise */
.alert { border-radius: var(--radius-sm); padding: 1rem 1.1rem; margin: 0 0 1.2rem; }
.alert--warning { background: var(--c-warn-bg); border: 1.5px solid var(--c-warn-line); color: var(--c-warn-text); }
.alert__title { font-weight: 750; margin-bottom: .4rem; }
.alert .check { background: #fff; border-radius: 8px; padding: .8rem; margin-top: .4rem; color: var(--c-text); }
.alert.is-confirmed { border-color: var(--c-warn-line); }
.risk-note { display: block; margin-top: .6rem; font-weight: 650; }

/* Zusammenfassung */
.order__summary { min-width: 0; }
@media (min-width: 960px) { .order__summary { position: sticky; top: 80px; } }
.summary { background: var(--c-surface); border: 2px solid var(--c-accent); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.summary__title { font-size: 1.35rem; margin-bottom: .8rem; }
.summary__lines { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .45rem; font-size: .95rem; }
.summary__lines li { display: flex; justify-content: space-between; gap: 1rem; }
.summary__lines li span:last-child { white-space: nowrap; font-weight: 600; }
.summary__empty { color: var(--c-muted); }
.summary__totals { margin: 0; border-top: 1px solid var(--c-line); padding-top: .7rem; display: grid; gap: .3rem; font-size: .95rem; }
.summary__totals div { display: flex; justify-content: space-between; }
.summary__totals dd { margin: 0; font-weight: 600; }
.summary__total {
  display: flex; justify-content: space-between; align-items: baseline; margin: .9rem 0 0;
  padding-top: .8rem; border-top: 2px solid var(--c-text); font-weight: 750; font-size: 1.1rem;
}
.summary__total output { font-family: var(--font-head); font-size: 2.1rem; color: var(--c-accent-dark); }
.summary__tax { text-align: right; font-size: .82rem; color: var(--c-muted); margin: 0 0 1.2rem; }
.summary__legal { font-size: .88rem; color: var(--c-muted); margin: .8rem 0 1rem; }
.check--legal { margin-top: .4rem; }

.form-errors { background: #fdecea; border: 1.5px solid var(--c-error); color: var(--c-error); border-radius: var(--radius-sm); padding: .8rem 1rem; margin-bottom: 1rem; font-size: .93rem; }
.form-errors p { margin: 0 0 .3rem; font-weight: 700; }
.form-errors ul { margin: 0; padding-left: 1.1rem; }

.progress { margin-top: .8rem; }
.progress__bar { height: 8px; border-radius: 99px; background: var(--c-tint); overflow: hidden; }
.progress__bar span { display: block; height: 100%; width: 0; background: var(--c-accent); transition: width .2s; }
.progress__text { font-size: .88rem; color: var(--c-muted); margin: .4rem 0 0; text-align: center; }

/* PayPal-Schritt */
.paypal-step { border-top: 1px solid var(--c-line); margin-top: 1rem; padding-top: 1rem; }
.paypal-step__title { font-weight: 750; margin-bottom: .3rem; }
.paypal-step__text { font-size: .9rem; color: var(--c-muted); }
#paypal-buttons { min-height: 50px; }
.paypal-step__info { font-size: .9rem; background: var(--c-warn-bg); border-radius: 8px; padding: .6rem .8rem; color: var(--c-warn-text); }
.link-btn { background: none; border: 0; padding: .4rem 0; font: inherit; font-size: .9rem; color: var(--c-accent-dark); text-decoration: underline; cursor: pointer; }
.choice[hidden] { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Erfolg */
.success {
  max-width: 640px; margin: 0 auto; text-align: center; background: var(--c-surface); border-radius: var(--radius);
  padding: 2.5rem 1.5rem; box-shadow: var(--shadow); border-top: 5px solid var(--c-ok);
}
.success:focus { outline: none; }
.success__icon { width: 64px; height: 64px; margin: 0 auto 1rem; fill: none; stroke: var(--c-ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success h3 { font-size: 1.6rem; }
.success__meta { font-weight: 700; }

/* Mobile Summenleiste */
.sticky-total {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem 1.2rem calc(.7rem + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--c-line); box-shadow: 0 -6px 20px rgba(45, 34, 27, .12);
  transform: translateY(110%); transition: transform .25s;
}
.sticky-total.is-visible { transform: translateY(0); }
.sticky-total strong { font-size: 1.25rem; color: var(--c-accent-dark); }
.sticky-total .btn { color: #fff; }
.sticky-total[hidden] { display: none; }
@media (min-width: 960px) { .sticky-total { display: none !important; } }

/* Hinweis bei mehreren Tortenauflegern (evtl. mehrere Dateien) */
.hinweis-mehrere { margin: 0 0 1rem; padding: .7rem .9rem; border-left: 4px solid var(--c-accent); border-radius: 8px;
  background: var(--c-accent-soft); font-size: .92rem; line-height: 1.45; }

.price-card__hinweis { margin: -.4rem 0 .8rem; font-size: .82rem; color: var(--c-muted); }

/* Kleine Kreise (unter 10 cm): wie oft aufs Blatt */
.masse__klein { flex-basis: 100%; margin: .15rem 0 .35rem; padding: .55rem .75rem; border-radius: 8px;
  background: var(--c-accent-soft); font-size: .88rem; }
.masse__klein[hidden] { display: none; }
.masse__klein-text { margin: 0 0 .4rem; }
.masse__anzahl { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-weight: 600; }
.masse__anzahl input {
  width: 4.6rem; padding: .4rem .5rem; border: 1.5px solid #d6c6b2; border-radius: 8px; font: inherit; text-align: center; background: #fff;
}
.masse__anzahl input:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-soft); }
.masse__anzahl input.is-invalid { border-color: #b42318; background: #fdf2f1; }
.masse__blatt { display: block; margin-top: .35rem; color: var(--c-accent-dark); font-weight: 600; }

/* Hinweis: PDF-Seiten passen nicht zur Anzahl */
.hinweis-seiten { margin-top: .7rem; border-left-color: #e3a72f; background: #fff4dc; }
.hinweis-seiten p { margin: 0 0 .45rem; }
.hinweis-seiten p:last-child { margin-bottom: 0; }

/* AGB-Seite (agb.php) */
.agb__container { max-width: 820px; }
.agb h1 { margin: 1rem 0 .3rem; }
.agb h2 { margin: 1.6rem 0 .4rem; font-size: 1.15rem; color: var(--c-accent-dark); }
.agb p { line-height: 1.6; }
.agb__stand { color: var(--c-muted); font-size: .9rem; }
.agb__aktion { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 2rem; }

/* Schneideservice als Pflichtfrage (Ja/Nein) */
.schneiden-details { margin: .6rem 0 1rem; padding: .9rem 1rem; border: 1.5px solid #e6d9c8; border-radius: 12px; background: #fff; }
.schneiden-details .field-label { margin: 0 0 .25rem; font-weight: 700; }
.schneiden-details .hint { margin: 0 0 .7rem; }
.schneiden-details .choice-grid { margin: 0; }

/* Hinweis: letzter Abholtermin vor Ladenschluss */
.abhol-letzter { margin: .2rem 0 .9rem; padding: .7rem .9rem; border-left: 4px solid #b42318; border-radius: 8px;
  background: #fdecea; color: #b42318; font-weight: 700; font-size: .92rem; line-height: 1.45; }
.abhol-letzter[hidden] { display: none; }
