@font-face {
  font-family: "Asap";
  src: url("assets/asap-schildbruder.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-display: swap;
}

@font-face {
  font-family: "Fredoka";
  src: url("assets/fonts/fredoka-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Chewy";
  src: url("assets/fonts/chewy-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Pacifico";
  src: url("assets/fonts/pacifico-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Knewave";
  src: url("assets/fonts/knewave-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Bangers";
  src: url("assets/fonts/bangers-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Great Vibes";
  src: url("assets/fonts/great-vibes-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Dancing Script";
  src: url("assets/fonts/dancing-script-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Bree Serif";
  src: url("assets/fonts/bree-serif-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #191a1d;
  --ink-2: #2a2d31;
  --muted: #666b72;
  --line: #dfe2e5;
  --line-strong: #bdc2c7;
  --paper: #ffffff;
  --surface: #f4f5f5;
  --surface-warm: #edf7f6;
  --yellow: #ffc400;
  --yellow-soft: #fff2b7;
  --orange: #f36f4d;
  --green: #23805a;
  --navy: #173348;
  --brand-teal: #0b7780;
  --brand-teal-dark: #07565d;
  --brand-teal-soft: #e7f5f4;
  --brand-coral: #ef6b4d;
  --brand-coral-dark: #a63d29;
  --brand-coral-soft: #fff0eb;
  --focus: #0b7780;
  --shadow: 0 20px 55px rgba(22, 25, 29, .11);
  --radius-lg: 24px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html { color-scheme: light; }

body {
  margin: 0;
  color: var(--ink);
  background: #f7f7f5;
  font-family: "Asap", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body.dialog-open { overflow: hidden; }

button, input, select { font: inherit; }

button, label, summary { -webkit-tap-highlight-color: transparent; }

button { color: inherit; }

button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 11px 16px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.skip-link:focus { top: 12px; }

.shell {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

.service-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 34px;
  padding: 6px 20px;
  color: #fff;
  background: var(--ink);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.service-strip i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-coral);
}

.site-header {
  border-bottom: 1px solid rgba(25, 26, 29, .1);
  background: rgba(255, 255, 255, .96);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 74px;
}

.brand {
  display: block;
  width: 186px;
  height: auto;
}

.header-title {
  padding-left: 20px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
  font-weight: 650;
}

.header-nav {
  margin-left: auto;
}

.header-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 15px;
  border-radius: 999px;
  color: var(--brand-teal-dark);
  background: var(--brand-teal-soft);
  font-size: .86rem;
  font-weight: 850;
  text-decoration: none;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: #fff;
  background: var(--brand-teal);
}

.optional-pill,
.included-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: .73rem;
  font-weight: 800;
  white-space: nowrap;
}

.page-shell { padding: 34px 0 70px; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 21px;
  color: var(--muted);
  font-size: .76rem;
}

.breadcrumbs strong { color: var(--ink); }

.intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  gap: 32px;
  min-height: 340px;
  margin-bottom: 18px;
  padding: 32px clamp(28px, 4vw, 58px);
  overflow: hidden;
  border-radius: 34px 14px 34px 14px;
  background: #faf7fc;
}

.intro h1,
.panel-heading h2,
.dialog-card h2,
.intro p { margin-top: 0; }

.intro h1,
.panel-heading h2,
.seo-section h2,
.seo-section h3,
.accessory-heading h3,
.dialog-card h2 {
  font-family: "Asap", Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-stretch: 100%;
  font-variation-settings: "wght" 600, "wdth" 100;
}

.intro h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.35rem, 3.35vw, 3.45rem);
  font-weight: 600;
  font-stretch: 100%;
  font-variation-settings: "wght" 600, "wdth" 100;
  line-height: 1.02;
  letter-spacing: -.028em;
}

.intro h1 span {
  display: block;
  margin-top: 5px;
  color: var(--brand-coral-dark);
}

.intro .intro-lead {
  max-width: 620px;
  margin: 15px 0 0;
  color: #53606a;
  font-size: 1rem;
  line-height: 1.45;
}

.intro-showcase {
  position: relative;
  align-self: stretch;
  min-height: 276px;
  margin: 0;
  pointer-events: none;
}

.intro-shape {
  position: absolute;
  display: block;
}

.intro-shape-lilac {
  inset: -64px 25% -48px 3%;
  border-radius: 48% 52% 42% 58%;
  background: #d5b7ec;
  transform: rotate(-7deg);
}

.intro-shape-mint {
  inset: -78px -22% -70px 57%;
  border-radius: 54% 46% 58% 42%;
  background: #6fc8b2;
  transform: rotate(8deg);
}

.intro-shape-yellow {
  right: 26%;
  bottom: -126px;
  width: 300px;
  height: 220px;
  border-radius: 50%;
  background: #ffc94d;
}

.intro-dog-pack {
  position: absolute;
  z-index: 2;
  display: block;
  right: -16%;
  bottom: -18px;
  width: min(138%, 720px);
  height: auto;
  filter: drop-shadow(0 16px 18px rgba(34, 42, 37, .18));
}

.intro-paw-art {
  position: absolute;
  z-index: 3;
  top: -2px;
  left: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  opacity: .9;
}

.eyebrow,
.step-kicker {
  display: block;
  margin: 0 0 8px;
  color: var(--brand-coral-dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 0 0 22px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  list-style: none;
  overflow: hidden;
}

.stepper li {
  position: relative;
  min-height: 48px;
  color: #858a90;
  font-size: .86rem;
}

.stepper button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  padding: 8px 14px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.stepper button:hover { background: rgba(11, 119, 128, .08); }

.stepper li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.stepper button span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #cbd0d4;
  border-radius: 50%;
  font-size: .74rem;
  font-weight: 800;
}

.stepper li.is-current {
  color: var(--ink);
  background: var(--brand-teal-soft);
}

.stepper li.is-current button span {
  border-color: var(--brand-teal);
  color: #fff;
  background: var(--brand-teal);
}

.stepper li.is-complete {
  color: var(--ink);
  background: #e8f6ee;
}

.stepper li.is-complete button span {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(500px, 1.16fr) minmax(400px, .84fr);
  gap: 22px;
  align-items: start;
}

.workspace,
.preview-column,
.preview-card,
.canvas-stage,
.intro > * { min-width: 0; }

.control-panel { grid-column: 2; }

.control-panel,
.preview-card,
.privacy-card {
  border: 1px solid var(--line);
  background: #fff;
}

.control-panel {
  min-width: 0;
  min-height: 710px;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 42px rgba(24, 27, 31, .055);
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.panel-head-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.panel-head-actions > span { color: #347052; font-size: .68rem; font-weight: 750; }

.panel-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  letter-spacing: -.025em;
  line-height: 1.08;
}

.text-button {
  min-height: 44px;
  padding: 2px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--muted);
  background: transparent;
  font-size: .81rem;
  font-weight: 750;
  cursor: pointer;
}

.text-button:hover { color: var(--ink); }

.danger-text { color: #a14434; }

.step-panel[hidden] { display: none; }

.step-panel.is-active { animation: step-in .24s ease both; }
.step-panel { min-width: 0; }

@keyframes step-in {
  from { opacity: .3; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-intro {
  max-width: 640px;
  margin: 0 0 22px;
  color: var(--muted);
}

.template-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-width: 0; max-width: 100%; }

.template-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.template-card:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.template-card.is-selected {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.template-thumb {
  position: relative;
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 118px;
  padding: 14px 12px 14px 49%;
  overflow: hidden;
  border-radius: 10px;
  color: var(--ink);
  line-height: 1;
}

.template-thumb::before,
.template-thumb::after {
  content: "";
  position: absolute;
  top: 6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(16, 18, 20, .75);
}

.template-thumb::before { left: 6px; }
.template-thumb::after { right: 6px; }

.template-thumb i {
  position: absolute;
  left: 11px;
  top: 11px;
  bottom: 11px;
  width: 41%;
  border: 3px solid rgba(255, 255, 255, .88);
  border-radius: 12px;
  background: rgba(255, 255, 255, .3) url("assets/hund-upload-platzhalter.png") center 36% / cover no-repeat;
  box-shadow: 0 4px 10px rgba(20, 23, 25, .13);
}

.template-thumb b { font-size: .56rem; letter-spacing: .08em; }
.template-thumb strong { margin-top: 6px; font-size: 1.02rem; }
.thumb-familie,
.thumb-motiv2,
.thumb-motiv3,
.thumb-motiv4,
.thumb-motiv5,
.thumb-motiv6,
.thumb-motiv7,
.thumb-motiv8,
.thumb-motiv9,
.thumb-motiv10 {
  aspect-ratio: 1.4142;
  min-height: 0;
  padding: 0;
  background-color: #e8d8c4;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.thumb-familie { background-image: url("assets/templates/motiv1/vorschau-thumb.webp"); }
.thumb-motiv2 { background-image: url("assets/templates/motiv2/vorschau-thumb.webp"); }
.thumb-motiv3 { background-image: url("assets/templates/motiv3/vorschau-thumb.webp"); }
.thumb-motiv4 { background-image: url("assets/templates/motiv4/vorschau-thumb.webp"); }
.thumb-motiv5 { background-image: url("assets/templates/motiv5/vorschau-thumb.webp"); }
.thumb-motiv6 { background-image: url("assets/templates/motiv6/vorschau-thumb.webp"); }
.thumb-motiv7 { background-image: url("assets/templates/motiv7/vorschau-thumb.webp"); }
.thumb-motiv8 { background-image: url("assets/templates/motiv8/vorschau-thumb.webp"); }
.thumb-motiv9 { background-image: url("assets/templates/motiv9/vorschau-thumb.webp"); }
.thumb-motiv10 { background-image: url("assets/templates/motiv10/vorschau-thumb.webp"); }
.thumb-familie::before,
.thumb-familie::after,
.thumb-motiv2::before,
.thumb-motiv2::after,
.thumb-motiv3::before,
.thumb-motiv3::after,
.thumb-motiv4::before,
.thumb-motiv4::after,
.thumb-motiv5::before,
.thumb-motiv5::after,
.thumb-motiv6::before,
.thumb-motiv6::after,
.thumb-motiv7::before,
.thumb-motiv7::after,
.thumb-motiv8::before,
.thumb-motiv8::after,
.thumb-motiv9::before,
.thumb-motiv9::after,
.thumb-motiv10::before,
.thumb-motiv10::after,
.thumb-familie > * { display: none; }
.thumb-wachsam { background: repeating-linear-gradient(135deg, rgba(255,255,255,.1) 0 1px, transparent 1px 11px), linear-gradient(135deg, #f5b800 0 76%, #121820 76%); }
.thumb-liebling { background: radial-gradient(circle at 90% 12%, #f6c344 0 18%, transparent 18.5%), linear-gradient(135deg, #fff6e8 0 66%, #ef765d 66%); }
.thumb-stall { color: #26352c; background: radial-gradient(ellipse at 90% 100%, rgba(61,96,74,.25) 0 27%, transparent 28%), linear-gradient(135deg, #f6f0e4, #e8b75b); }
.thumb-landhaus { color: #f4e7ce; background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 8px), #233f38; box-shadow: inset 0 0 0 3px #f4e7ce, inset 0 0 0 7px #233f38, inset 0 0 0 8px #c89a62; }
.thumb-revier { color: #f4f1ea; background: radial-gradient(circle at 88% 18%, transparent 0 18px, rgba(213,154,98,.42) 19px 20px, transparent 21px), linear-gradient(135deg, #18242b, #26343b); }
.thumb-frech { background: radial-gradient(circle, rgba(255,255,255,.2) 0 2px, transparent 3px) 0 0 / 14px 14px, linear-gradient(130deg, #1fa7a8 0 52%, #ffd34e 52% 58%, #ff6b5e 58%); }
.thumb-landhaus i,
.thumb-revier i { border-color: #f4e7ce; }
.thumb-liebling i,
.thumb-revier i { border-radius: 50%; }
.thumb-frech i { border-width: 5px; border-radius: 26px; transform: rotate(-2deg); }

.selection-mark {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, .92);
  border-radius: 50%;
  color: transparent;
  font-size: .72rem;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 2px 8px rgba(16, 18, 20, .2);
}

.selection-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  width: 17px;
  height: 17px;
  margin: auto;
  opacity: 0;
  background: #fff;
  transform: translateY(.5px);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16.2' rx='5.8' ry='4.6'/%3E%3Ccircle cx='5.5' cy='10.4' r='2.35'/%3E%3Ccircle cx='9.35' cy='6.5' r='2.45'/%3E%3Ccircle cx='14.65' cy='6.5' r='2.45'/%3E%3Ccircle cx='18.5' cy='10.4' r='2.35'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16.2' rx='5.8' ry='4.6'/%3E%3Ccircle cx='5.5' cy='10.4' r='2.35'/%3E%3Ccircle cx='9.35' cy='6.5' r='2.45'/%3E%3Ccircle cx='14.65' cy='6.5' r='2.45'/%3E%3Ccircle cx='18.5' cy='10.4' r='2.35'/%3E%3C/svg%3E") center / contain no-repeat;
}

.template-card.is-selected .selection-mark {
  border-color: var(--ink);
  color: transparent;
  background: #18b86b;
  box-shadow: 0 2px 8px rgba(16, 18, 20, .22), 0 0 0 2px rgba(24, 184, 107, .16);
}

.template-card.is-selected .selection-mark::before {
  opacity: 1;
}

.text-safety,
.fixed-option,
.quantity-row,
.photo-file-row {
  display: flex;
  align-items: center;
  gap: 13px;
}

.text-safety p,
.privacy-card p,
.fixed-option > span,
.quantity-row > span,
.photo-file-row > span,
.quality-row > span { display: flex; flex-direction: column; margin: 0; }

.text-safety small,
.fixed-option small,
.quantity-row small,
.privacy-card small,
.quality-row small,
.photo-file-row small { font-size: .78rem; }

.upload-zone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 205px;
  padding: 28px;
  border: 2px dashed #b9bec2;
  border-radius: 18px;
  background: #fafafa;
  transition: border-color .18s ease, background .18s ease;
}

.upload-zone.is-dragging {
  border-color: var(--orange);
  background: #fff6f2;
}

.upload-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-zone label {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.upload-zone label strong { margin-top: 10px; font-size: 1.02rem; }
.upload-zone label small { margin-top: 3px; color: var(--muted); font-size: .8rem; }

.upload-icon,
.shield-icon,
.fixed-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.upload-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-coral);
}

.upload-icon svg,
.shield-icon svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.local-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #285942;
  background: #e4f4eb;
  font-size: .68rem;
  font-weight: 800;
}

.local-badge span { font-size: .56rem; }

.photo-tools {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.photo-tools[hidden] { display: none; }

.template-more-button { margin-top: 14px; }

.background-preset-section {
  display: grid;
  gap: 13px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #cde2e1;
  border-radius: 16px;
  background: #f6fbfa;
}

.background-preset-section[hidden] { display: none; }
.background-preset-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.background-preset-heading > span { display: flex; flex-direction: column; }
.background-preset-heading strong { font-size: 1rem; }
.background-preset-heading small { margin-top: 4px; color: var(--muted); font-size: .78rem; line-height: 1.45; }

.background-category-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 2px 1px 5px;
}

.background-category-tab {
  width: 100%;
  min-height: 39px;
  padding: 8px 7px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: .8rem;
  font-weight: 750;
  cursor: pointer;
}

.background-category-tab.is-selected {
  border-color: var(--ink);
  color: #fff;
  background: var(--ink);
}

.background-preset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.background-preset-card {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.background-preset-card:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.background-preset-card.is-selected { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.background-preset-card img { display: block; width: 100%; aspect-ratio: 1.42 / 1; object-fit: cover; background: #ececeb; }
.background-preset-card span { display: block; min-height: 43px; padding: 8px 9px; font-size: .72rem; font-weight: 750; line-height: 1.25; }
.background-preset-card b {
  position: absolute;
  top: 7px;
  right: 7px;
  display: none;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,.22);
}
.background-preset-card.is-selected b { display: grid; }
.background-show-all { justify-self: start; }

.background-tools {
  border-top: 1px solid #d2e4e3;
  padding-top: 14px;
}
.background-tools[hidden] { display: none; }
.background-custom-content { position: relative; }
.background-custom-content > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.background-upload-button {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 10px 14px;
  border: 1px dashed #78aeb1;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.background-upload-button:hover { border-color: var(--brand-teal); background: #f7fcfb; box-shadow: 0 5px 14px rgba(15, 126, 135, .09); }
.background-custom-content:focus-within .background-upload-button { outline: 3px solid rgba(15, 126, 135, .18); outline-offset: 2px; }
.background-upload-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: var(--brand-teal); }
.background-upload-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.background-upload-copy { display: grid; gap: 2px; min-width: 0; }
.background-upload-copy strong { font-size: .84rem; line-height: 1.25; }
.background-upload-copy small { color: var(--muted); font-size: .68rem; line-height: 1.35; }
.background-status { margin: 0; color: var(--brand-teal-dark); font-size: .74rem; font-weight: 700; }
.background-status:empty { display: none; }

.large-photo-note {
  display: none;
  margin: 0 0 14px;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--brand-coral-dark);
  background: var(--brand-coral-soft);
  font-size: .76rem;
  line-height: 1.45;
}

.photo-tools.is-large-photo-layout .large-photo-note { display: block; }
.photo-tools.is-large-photo-layout > .photo-option-group,
.photo-tools.is-large-photo-layout > .photo-frame-dimension-controls,
.photo-tools.is-large-photo-layout > .photo-drag-tools,
.photo-tools.is-large-photo-layout > .photo-advanced { display: none; }

.text-style-grid:not(.show-all-fonts) > :nth-child(n+5) { display: none; }
.font-grid-toggle { margin: 9px 0 0; }

.photo-file-row {
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.photo-file-row small { color: var(--muted); }

.photo-option-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.photo-option-group legend {
  margin-bottom: 8px;
  font-size: .88rem;
  font-weight: 700;
}

.photo-shape-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.photo-shape-card {
  display: grid;
  place-items: center;
  gap: 7px;
  min-height: 88px;
  padding: 10px 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.photo-shape-card strong { font-size: .84rem; }
.photo-shape-card:hover { border-color: #858b90; }
.photo-shape-card.is-selected,
.photo-border-grid button.is-selected,
.photo-drag-segment button.is-selected {
  border-color: var(--brand-teal-dark);
  background: var(--brand-teal-soft);
  box-shadow: inset 0 0 0 1px var(--brand-teal-dark);
}

.photo-shape-icon {
  display: block;
  width: 39px;
  height: 31px;
  border: 3px solid #555d62;
  background: linear-gradient(135deg, #f1f2f2, #cfd3d5);
}

.shape-template { border-radius: 5px; }
.shape-circle { width: 34px; height: 34px; border-radius: 50%; }
.shape-oval { width: 29px; height: 39px; border-radius: 50%; }
.shape-rectangle { width: 44px; height: 28px; border-radius: 1px; }

.photo-frame-dimension-controls {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 2px;
}

.photo-frame-size-control,
.photo-drag-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}

.photo-frame-dimension-controls .photo-frame-size-control { margin-top: 0; }

.photo-frame-size-control > span,
.photo-drag-tools > span,
.photo-subheading,
.photo-advanced summary > span {
  display: flex;
  flex-direction: column;
}

.photo-frame-size-control strong,
.photo-drag-tools strong,
.photo-subheading strong { font-size: .86rem; }
.photo-frame-size-control small,
.photo-drag-tools small,
.photo-subheading small { color: var(--muted); font-size: .74rem; }
.photo-frame-size-control .text-size-stepper { flex: 0 0 auto; margin: 0; }

.photo-drag-segment {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  flex: 0 0 180px;
  gap: 7px;
}

.photo-drag-segment button,
.photo-border-grid button {
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}

.photo-subheading {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.range-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: 13px;
}

.range-row > span { display: flex; flex-direction: column; }
.range-row b { font-size: .83rem; }
.range-row output { color: var(--muted); font-size: .73rem; }

input[type="range"] {
  width: 100%;
  accent-color: var(--ink);
  cursor: pointer;
}

.photo-tool-actions { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 13px; }

.compact-button { min-height: 44px; padding-inline: 14px; font-size: .78rem; }

.drag-hint {
  margin: 0;
  color: var(--muted);
  font-size: .76rem;
  text-align: right;
}

.photo-advanced {
  margin-top: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  overflow: hidden;
}

.photo-advanced summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  cursor: pointer;
  list-style: none;
}

.photo-advanced summary::-webkit-details-marker { display: none; }
.photo-advanced summary strong { font-size: .84rem; font-weight: 700; }
.photo-advanced summary small { color: var(--muted); font-size: .72rem; }
.photo-advanced summary > b { font-size: 1.2rem; transition: transform .18s ease; }
.photo-advanced[open] summary > b { transform: rotate(45deg); }
.photo-advanced-content { display: grid; gap: 17px; padding: 15px; border-top: 1px solid var(--line); background: #fff; }

.photo-border-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photo-border-grid button { display: grid; place-items: center; gap: 6px; min-height: 68px; }
.border-sample { display: block; width: 45px; height: 25px; border-radius: 5px; background: #d9dddf; }
.border-none { border: 1px dashed #8c9397; }
.border-thin { border: 3px solid #686f73; }
.border-wide { border: 7px solid #686f73; }

.photo-shadow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photo-shadow-grid button { display: grid; place-items: center; gap: 7px; min-height: 74px; padding: 9px; }
.shadow-sample { display: block; width: 44px; height: 27px; border: 2px solid #fff; border-radius: 6px; background: #d9dddf; }
.shadow-none { border-color: #899196; box-shadow: none; }
.shadow-soft { box-shadow: 7px 8px 12px rgba(18, 20, 22, .38); }
.shadow-strong { box-shadow: 8px 9px 3px rgba(18, 20, 22, .68); }
.shadow-white-glow { background: #72787c; box-shadow: 0 0 0 3px #fff, 0 0 13px 7px rgba(255,255,255,.96); }
.shadow-black { box-shadow: 8px 9px 4px rgba(0, 0, 0, .82); }
.text-shadow-choice-grid button strong { line-height: 1.15; text-align: center; }
.photo-option-help { margin: 8px 0 0; color: var(--muted); font-size: .72rem; }

.optional-pill { padding: 4px 8px; color: #5e478f; background: #eee6ff; }

.delivery-box {
  display: grid;
  gap: 3px;
  margin-top: 14px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
}

.delivery-box span { font-size: .82rem; }
.delivery-box small { margin-top: 4px; color: var(--muted); font-size: .72rem; }

.final-review {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-bottom: 16px;
}

.final-review > div { padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.final-review small { display: block; color: var(--muted); font-size: .7rem; }
.final-review strong { display: block; margin-top: 2px; overflow-wrap: anywhere; }

.preflight-list { display: grid; gap: 8px; }
.preflight-list > div { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border: 1px solid #cce4d7; border-radius: 12px; color: #285943; background: #f1faf5; }
.preflight-list > div.is-warning { border-color: #e7d38b; color: #655419; background: #fff9e4; }
.preflight-list > div.is-error { border-color: #e4b8ae; color: #823d30; background: #fff4f1; }
.preflight-list > div > span { display: grid; flex: 0 0 auto; place-items: center; width: 25px; height: 25px; border: 1px solid currentColor; border-radius: 50%; font-size: .72rem; font-weight: 900; }
.preflight-list p { display: flex; flex-direction: column; margin: 0; }
.preflight-list small { font-size: .72rem; }

.approval-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 18px;
  padding: 15px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--brand-teal-soft);
  cursor: pointer;
}

.approval-row input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--ink); }
.approval-row span { display: flex; flex-direction: column; }
.approval-row small { margin-top: 3px; color: var(--muted); font-size: .74rem; }

.field-group { margin-bottom: 22px; }

.field-group label,
.option-group legend {
  display: block;
  margin-bottom: 7px;
  font-size: .86rem;
  font-weight: 800;
}

.field-group label span { color: #a53b2a; }

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
}

.field-group input:hover,
.field-group select:hover,
.field-group textarea:hover { border-color: #858b90; }

.field-group textarea {
  min-height: 76px;
  padding-block: 12px;
  line-height: 1.45;
  resize: none;
}

.field-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 6px;
  color: var(--muted);
  font-size: .75rem;
}

.text-option-group {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.text-option-group legend {
  margin-bottom: 8px;
  font-size: .86rem;
  font-weight: 800;
}

.text-style-grid,
.name-style-grid,
.text-color-grid {
  display: grid;
  gap: 8px;
}

.text-style-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.name-style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.text-color-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.name-font-recommended { display: grid; gap: 10px; }
.more-name-fonts { border: 1px solid var(--line); border-radius: 12px; background: #fafafa; }
.more-name-fonts summary { padding: 11px 13px; cursor: pointer; font-size: .8rem; font-weight: 800; }
.more-name-fonts[open] summary { border-bottom: 1px solid var(--line); }
.more-name-fonts .name-style-grid { padding: 10px; }

.contrast-status {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
}
.contrast-status.is-good { color: #22704c; }
.contrast-status.is-weak { color: #a43d2e; }

.restore-template-button {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}
.restore-template-button:hover { border-color: var(--ink); background: #fafafa; }

.text-style-card,
.text-color-card {
  min-height: 68px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.text-style-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-direction: column;
}

.text-color-card {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.text-color-card > span:last-child { display: flex; min-width: 0; flex-direction: column; }
.text-color-card small { margin-top: 2px; color: var(--muted); font-size: .72rem; }
.text-style-card:hover,
.text-color-card:hover { border-color: #858b90; }
.text-style-card:focus-visible,
.text-color-card:focus-visible { outline: 3px solid rgba(11, 119, 128, .36); outline-offset: 2px; }
.text-style-card.is-selected,
.text-color-card.is-selected { border-color: var(--brand-teal-dark); background: var(--brand-teal-soft); box-shadow: inset 0 0 0 1px var(--brand-teal-dark); }

.text-effects { margin: -8px 0 22px; }
.hero-text-tools { padding-top: 18px; border-top: 2px solid var(--line); }
.hero-text-tools[hidden] { display: none; }
.text-effects .photo-advanced-content { gap: 14px; }
.text-effects .photo-border-grid button.is-selected,
.text-effects .photo-shadow-grid button.is-selected { border-color: var(--brand-teal-dark); background: var(--brand-teal-soft); box-shadow: inset 0 0 0 1px var(--brand-teal-dark); }
.effect-color-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.effect-color-row > span { display: flex; flex-direction: column; }
.effect-color-row small { color: var(--muted); font-size: .72rem; }
.effect-color-row .custom-color-input { width: 58px; height: 42px; padding: 3px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; cursor: pointer; }

.font-sample { font-size: 1.45rem; line-height: 1; }
.font-clear { font-family: Asap, Arial, sans-serif; font-weight: 900; }
.font-asap { font-family: Asap, Arial, sans-serif; font-weight: 400; }
.font-asap-semi { font-family: Asap, Arial, sans-serif; font-weight: 600; }
.font-rounded { font-family: "Trebuchet MS", Arial, sans-serif; font-weight: 800; }
.font-classic { font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
.font-name-round { font-family: Fredoka, Asap, sans-serif; font-weight: 700; }
.font-name-playful { font-family: Chewy, Asap, sans-serif; font-weight: 400; }
.font-name-script { font-family: Pacifico, cursive; font-weight: 400; }
.font-name-surf { font-family: Knewave, "Trebuchet MS", sans-serif; font-weight: 400; }
.font-name-comic { font-family: Bangers, Impact, sans-serif; font-weight: 400; letter-spacing: .03em; }
.font-name-elegant { font-family: "Great Vibes", cursive; font-weight: 400; }
.font-name-lettering { font-family: "Dancing Script", cursive; font-weight: 600; }
.font-name-landhaus { font-family: "Bree Serif", Georgia, serif; font-weight: 400; }
.name-style-card .font-sample { font-size: 1.35rem; }

.text-size-stepper {
  display: grid;
  grid-template-columns: 52px minmax(88px, 1fr) 52px;
  align-items: stretch;
  max-width: 250px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: #fff;
}

.text-size-stepper button {
  display: grid;
  min-height: 52px;
  padding: 0;
  place-items: center;
  border: 0;
  color: var(--ink);
  background: #f4f5f5;
  font-size: 1.55rem;
  font-weight: 750;
  cursor: pointer;
}

.text-size-stepper button:first-child { border-right: 1px solid var(--line); }
.text-size-stepper button:last-child { border-left: 1px solid var(--line); }
.text-size-stepper button:hover:not(:disabled) { background: var(--brand-teal-soft); }
.text-size-stepper button:focus-visible { position: relative; z-index: 1; outline: 3px solid rgba(11, 119, 128, .36); outline-offset: -3px; }
.text-size-stepper button:disabled { color: #a6aaad; cursor: not-allowed; }

.text-size-stepper output {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 10px;
  font-family: Asap, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1;
}

.text-size-help { margin: 6px 0 0; color: var(--muted); font-size: .75rem; }

.text-position-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
  padding: 12px 13px;
  border: 1px solid #c9dced;
  border-radius: 13px;
  color: #204b6d;
  background: #f3f9ff;
}

.text-position-tools > span { display: flex; min-width: 0; flex-direction: column; }
.text-position-tools strong { font-size: .79rem; }
.text-position-tools small { margin-top: 2px; color: #4f687b; font-size: .7rem; line-height: 1.35; }
.text-position-tools button {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid #8eacc3;
  border-radius: 9px;
  color: #204b6d;
  background: #fff;
  font-size: .69rem;
  font-weight: 800;
  cursor: pointer;
}
.text-position-tools button:hover { background: #e5f2fc; }
.text-position-tools button:focus-visible { outline: 3px solid rgba(36, 95, 156, .25); outline-offset: 2px; }

.color-swatch {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid #aeb3b6;
  border-radius: 50%;
}

.color-auto { background: conic-gradient(#17191c 0 25%, #fff 0 50%, #8c3030 0 75%, #d1a064 0); }
.color-dark { background: #17191c; }
.color-white { background: #fff; }
.color-red { background: #8c3030; }
.color-blue { background: #245f9c; }
.color-green { background: #25664b; }

.custom-color-card { cursor: pointer; }

.custom-color-input {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  padding: 2px;
  overflow: hidden;
  border: 1px solid #aeb3b6;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.custom-color-input::-webkit-color-swatch-wrapper { padding: 0; }
.custom-color-input::-webkit-color-swatch { border: 0; border-radius: 50%; }
.custom-color-input::-moz-color-swatch { border: 0; border-radius: 50%; }
.custom-color-input:focus-visible { outline: 3px solid rgba(11, 119, 128, .36); outline-offset: 2px; }

.text-safety {
  margin-top: 27px;
  padding: 16px;
  border: 1px solid #cce4d7;
  border-radius: 15px;
  color: #285943;
  background: #f1faf5;
}

.text-safety > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  background: var(--green);
  font-size: .8rem;
  font-weight: 850;
}

.option-group { margin: 0 0 22px; padding: 0; border: 0; }

.option-help {
  margin: -2px 0 9px;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.45;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.segmented button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 67px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.segmented button small { color: var(--muted); font-size: .72rem; }
.segmented .format-price { color: var(--ink); font-weight: 900; }

.segmented button.is-selected {
  border-color: var(--brand-teal-dark);
  color: var(--ink);
  background: var(--brand-teal-soft);
  box-shadow: inset 0 0 0 1px var(--brand-teal-dark);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.choice-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.choice-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 10px;
  min-height: 84px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.choice-card:hover { border-color: #858b90; }

.choice-card:focus-visible {
  outline: 3px solid rgba(11, 119, 128, .36);
  outline-offset: 2px;
}

.choice-card.is-selected {
  border-color: var(--brand-teal-dark);
  background: var(--brand-teal-soft);
  box-shadow: inset 0 0 0 1px var(--brand-teal-dark);
}

.choice-card > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.choice-card strong { font-size: .81rem; line-height: 1.2; }
.choice-card small { margin-top: 3px; color: var(--muted); font-size: .69rem; line-height: 1.3; }
.choice-card > b { grid-column: 2; color: #3f4549; font-size: .76rem; font-weight: 900; }

.choice-product-image,
.mounting-product-image,
.accessory-mark {
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
}

.choice-product-image {
  display: block;
  object-fit: contain;
  border: 0;
  background: transparent;
}

.laminate-grid .choice-card {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 102px auto auto;
  align-items: start;
  min-height: 176px;
  gap: 6px;
  padding: 12px;
}

.finish-image {
  grid-row: auto;
  width: 102px;
  height: 102px;
  justify-self: center;
  border-radius: 0;
}

.laminate-grid .choice-card > span:nth-child(2),
.laminate-grid .choice-card > b {
  width: min(100%, 102px);
  justify-self: center;
}
.laminate-grid .choice-card > b { grid-column: 1; }

.choice-grid-two .choice-card {
  grid-template-columns: 108px minmax(0, 1fr);
  min-height: 108px;
  gap: 4px 13px;
}

.corner-image {
  width: 106px;
  height: 75px;
  object-fit: contain;
  border-radius: 0;
}

.mounting-product-image {
  display: block;
  object-fit: contain;
}

.mounting-grid .choice-card {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 128px auto auto;
  align-items: start;
  gap: 7px;
  min-height: 206px;
  padding: 14px;
}

.mounting-grid .mounting-product-image {
  grid-row: auto;
  width: min(100%, 180px);
  height: 128px;
  justify-self: center;
}

.mounting-grid .choice-card > span:nth-child(2),
.mounting-grid .choice-card > b {
  width: min(100%, 180px);
  justify-self: center;
}
.mounting-grid .choice-card > b { grid-column: 1; }

.mounting-selection-status {
  margin: 0 0 10px;
  padding: 9px 12px;
  border: 1px solid #bee1cf;
  border-radius: 10px;
  color: #285942;
  background: #f0faf5;
  font-size: .78rem;
  font-weight: 800;
}
.mounting-selection-status.is-required { border-color: #e8d388; color: #725a0a; background: #fff9e4; }

.mounting-mini {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 34px;
}
.mounting-mini svg { display: block; width: 48px; height: 34px; }
.mounting-mini svg rect:first-child { fill: #f5f6f6; stroke: #657078; stroke-width: 1.8; }
.mounting-mini svg circle,
.mounting-mini svg rect:not(:first-child) { fill: #3e474d; stroke: #657078; stroke-width: 1; }
.mounting-mini svg text { fill: #657078; font: 800 17px Asap, Arial, sans-serif; }

.accessory-section {
  margin: 4px 0 22px;
  padding: 17px;
  border: 1px solid #d8e2e3;
  border-radius: 16px;
  background: #f6f8f8;
}

.accessory-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.accessory-heading > span:first-child { display: flex; flex-direction: column; }
.accessory-heading small { color: var(--brand-teal-dark); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.accessory-heading h3 { margin: 1px 0 0; font-size: 1rem; }
.accessory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.accessory-grid .choice-card {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 132px auto auto;
  align-items: start;
  min-height: 242px;
  gap: 8px;
  padding: 12px;
}

.accessory-mark {
  display: grid;
  place-items: center;
  border: 1px solid #c5c9cc;
  border-radius: 50%;
  color: #51575b;
  background: #f2f3f3;
  font-size: .68rem;
  font-weight: 850;
}

.accessory-grid .accessory-image {
  grid-row: auto;
  width: min(100%, 150px);
  height: 132px;
  justify-self: center;
  border-radius: 11px;
}

.accessory-grid .choice-card > span:nth-child(2),
.accessory-grid .choice-card > b {
  width: min(100%, 150px);
  justify-self: center;
}
.accessory-grid .choice-card > b { grid-column: 1; }

.compatibility-note {
  margin: 10px 0 0;
  color: var(--brand-teal-dark);
  font-size: .72rem;
  line-height: 1.4;
}

.material-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  min-height: 52px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}

.material-name {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 8px;
  min-width: 0;
}

.material-name small {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
}

.material-name strong { font-size: .86rem; }

.material-details {
  position: relative;
  flex: 0 0 auto;
}

.material-details summary {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #c5c9cc;
  border-radius: 50%;
  color: #4d5357;
  background: #fff;
  font-size: .76rem;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.material-details summary::-webkit-details-marker { display: none; }
.material-details summary:focus-visible { outline: 3px solid rgba(11, 119, 128, .36); outline-offset: 2px; }

.material-popover {
  position: absolute;
  z-index: 20;
  top: calc(100% + 9px);
  right: -46px;
  width: min(290px, calc(100vw - 64px));
  padding: 12px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 26, 29, .17);
}

.material-popover strong { font-size: .81rem; }
.material-popover p { margin: 4px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.included-pill { padding: 4px 8px; color: #50555a; background: #e3e5e6; }

.quantity-row {
  justify-content: space-between;
  padding-top: 2px;
}

.price-breakdown { display: grid; gap: 7px; margin: 8px 0 6px; }
.price-breakdown > div { display: flex; justify-content: space-between; gap: 18px; font-size: .78rem; }
.price-breakdown dt { color: var(--muted); }
.price-breakdown dd { margin: 0; font-weight: 750; text-align: right; }
.price-breakdown .price-total { margin-top: 3px; padding-top: 8px; border-top: 1px solid var(--line-strong); font-size: .9rem; }
.price-breakdown .price-total dt { color: var(--ink); font-weight: 850; }
.price-breakdown .price-total dd { font-weight: 900; }

.quantity-control {
  display: grid;
  grid-template-columns: 38px 44px 38px;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  overflow: hidden;
}

.quantity-control button {
  height: 44px;
  border: 0;
  background: #f3f4f4;
  cursor: pointer;
  font-size: 1.2rem;
}

.quantity-control output { text-align: center; font-weight: 800; }

.rights-confirmation {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #4f5559;
  background: #f7f8f8;
  cursor: pointer;
}

.rights-confirmation input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--ink);
}

.rights-confirmation span { display: flex; min-width: 0; flex-direction: column; }
.rights-confirmation strong { color: var(--ink); font-size: .78rem; line-height: 1.3; }
.rights-confirmation small { margin-top: 2px; color: var(--muted); font-size: .69rem; line-height: 1.35; }

.panel-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.primary-button,
.secondary-button,
.cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.primary-button {
  gap: 10px;
  border: 0;
  background: var(--yellow);
  box-shadow: 0 9px 22px rgba(255, 196, 0, .22);
}

.primary-button:hover,
.cart-button:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 12px 25px rgba(20, 22, 25, .18); }

.primary-button:disabled {
  color: #8e9296;
  background: #e4e6e7;
  box-shadow: none;
  cursor: not-allowed;
}

.secondary-button {
  gap: 7px;
  border: 1px solid var(--line-strong);
  background: #fff;
}

.secondary-button span,
.primary-button span:not([aria-hidden]) {
  padding: 2px 6px;
  border-radius: 999px;
  color: #5a4785;
  background: #eee5ff;
  font-size: .65rem;
}

.secondary-button:disabled {
  color: #969a9e;
  background: #f0f1f1;
  cursor: not-allowed;
}

.back-button { margin-right: auto; }

.preview-column {
  position: sticky;
  top: 18px;
  display: grid;
  grid-column: 1;
  grid-row: 1;
  gap: 12px;
}

.preview-card {
  padding: 21px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
  font-size: .82rem;
}

.preview-heading > span:first-child { display: inline-flex; align-items: center; gap: 7px; font-weight: 850; }
.preview-heading i { width: 7px; height: 7px; border-radius: 50%; background: #19a56d; box-shadow: 0 0 0 4px #e0f4eb; }

.preview-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.preview-quality-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 7px;
  border: 1px solid #b9dfd1;
  border-radius: 999px;
  color: #285c4b;
  background: #edf8f3;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.preview-quality-icon {
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #1d956c;
  flex: 0 0 auto;
}

.preview-quality-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.preview-quality-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.preview-quality-copy strong { color: #155943; font-weight: 900; }
.preview-quality-copy > span:first-of-type { color: #75a894; }

.canvas-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  min-height: 0;
  padding: 0;
  border-radius: 17px;
  background-color: #d8c6ad;
  background-image: url("assets/vorschau-holztor-detail-garten.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.canvas-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(54, 38, 24, .08), inset 0 -45px 70px rgba(38, 25, 14, .05);
  pointer-events: none;
}

.canvas-stage.is-glass-preview {
  background-color: #b7c2c6;
  background-image: url("assets/vorschau-glastuer-eingang.webp");
  background-position: center;
}

.canvas-stage.is-glass-preview::after {
  z-index: 2;
  background:
    linear-gradient(112deg, transparent 12%, rgba(255, 255, 255, .07) 27%, rgba(255, 255, 255, .23) 35%, rgba(255, 255, 255, .04) 45%, transparent 57%),
    linear-gradient(180deg, rgba(205, 225, 233, .05), rgba(104, 137, 149, .04));
  box-shadow: inset 0 0 0 1px rgba(230, 244, 248, .2), inset 0 -45px 70px rgba(25, 47, 55, .04);
}

.canvas-stage.is-glass-preview #sign-canvas {
  width: var(--glass-sign-width, 44%);
  transform: translateY(3%);
  filter: saturate(.95) contrast(.97);
  box-shadow: 0 14px 25px rgba(18, 31, 37, .24), 0 2px 6px rgba(13, 24, 29, .18);
}

#sign-canvas {
  position: relative;
  z-index: 1;
  display: block;
  min-width: 0;
  width: var(--context-sign-width, 85%);
  max-width: 100%;
  height: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: 0 20px 32px rgba(31, 20, 12, .3), 0 3px 7px rgba(20, 15, 11, .24);
  transform: translateY(6%);
  transition: width .22s ease, transform .22s ease, box-shadow .22s ease;
  touch-action: none;
}

  .canvas-stage.is-detail-view {
  aspect-ratio: auto;
  min-height: 370px;
  padding: 27px;
  background:
    linear-gradient(45deg, rgba(0, 0, 0, .022) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, .022) 75%),
    linear-gradient(45deg, rgba(0, 0, 0, .022) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, .022) 75%),
    #eef0ef;
  background-position: 0 0, 9px 9px;
  background-size: 18px 18px;
}

.canvas-stage.is-detail-view::after { display: none; }

.canvas-stage.is-detail-view #sign-canvas {
  width: 100%;
  transform: none;
  filter: none;
  box-shadow: 0 16px 31px rgba(23, 26, 29, .25), 0 2px 4px rgba(23, 26, 29, .15);
}

#sign-canvas.has-rounded-corners { border-radius: var(--corner-radius-x, 3.37%) / var(--corner-radius-y, 4.76%); }

#sign-canvas.is-draggable { cursor: grab; }
#sign-canvas.is-upload-ready { cursor: pointer; }
#sign-canvas.is-frame-drag-mode { cursor: move; }
#sign-canvas.is-text-hover { cursor: move; }
#sign-canvas.is-dragging { cursor: grabbing; }
#sign-canvas.is-file-over {
  outline: 5px solid #23805a;
  outline-offset: 5px;
  box-shadow: 0 0 0 12px rgba(35, 128, 90, .16), 0 16px 31px rgba(23, 26, 29, .25), 0 2px 4px rgba(23, 26, 29, .15);
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.preview-toolbar > div { display: flex; gap: 6px; }
.preview-toolbar button {
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .72rem;
  font-weight: 750;
  cursor: pointer;
}
.preview-toolbar button:disabled { color: #a4a8ac; background: #f3f4f4; cursor: not-allowed; }

.preview-toolbar .preview-view-switch {
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f3f4f4;
}

.preview-toolbar .preview-view-switch button {
  min-height: 36px;
  border: 0;
  background: transparent;
}

.preview-toolbar .preview-view-switch button.is-selected {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 2px 7px rgba(20, 22, 25, .16);
}

.canvas-drag-note {
  display: none !important;
  position: absolute;
  z-index: 3;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 70px);
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(25, 26, 29, .82);
  font-size: .69rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.canvas-drag-note[hidden] { display: none; }

.quality-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 13px 0;
  padding: 12px;
  border: 1px solid #e3e5e6;
  border-radius: 12px;
  background: #fafafa;
}

.quality-row.is-good { border-color: #bee1cf; color: #285942; background: #f0faf5; }
.quality-row.is-medium { border-color: #e8d388; color: #655419; background: #fff9e4; }
.quality-row.is-low { border-color: #e5b8ae; color: #823d30; background: #fff4f1; }

.quality-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 850;
}

.composition-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -4px 0 13px;
  padding: 11px 12px;
  border: 1px solid #e8d388;
  border-radius: 12px;
  color: #655419;
  background: #fff9e4;
}

.composition-row[hidden] { display: none !important; }

.composition-row.is-good { border-color: #bee1cf; color: #285942; background: #f0faf5; }
.composition-row.is-low { border-color: #e5b8ae; color: #823d30; background: #fff4f1; }
.composition-row > span { display: grid; flex: 0 0 auto; place-items: center; width: 27px; height: 27px; border: 1px solid currentColor; border-radius: 50%; font-size: .74rem; font-weight: 900; }
.composition-row p { display: flex; flex-direction: column; margin: 0; }
.composition-row small { font-size: .73rem; }

.preview-summary { margin: 0; border-top: 1px solid var(--line); }

.preview-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 9px 1px;
  border-bottom: 1px solid var(--line);
  font-size: .8rem;
}

.preview-summary dt { flex: 0 0 auto; color: var(--muted); }
.preview-summary dd { display: flex; flex: 1 1 auto; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; margin: 0; text-align: right; font-weight: 750; }
.preview-summary dd > span:last-child { text-align: right; }
.preview-summary .mounting-mini:empty { display: none; }

.preview-summary > div:first-child {
  margin: 11px 0 2px;
  padding: 12px 13px;
  border: 1px solid #cce5d7;
  border-radius: 12px;
  color: #174b38;
  background: #eaf7ef;
}

.preview-summary > div:first-child dt {
  color: #2a654f;
  font-weight: 850;
}

#summary-format-text {
  font-size: .88rem;
  font-weight: 850;
}

.cart-button {
  width: 100%;
  margin-top: 15px;
  border: 0;
  color: #fff;
  background: var(--ink);
}

.cart-button:disabled {
  color: #8e9296;
  background: #e4e6e7;
  cursor: not-allowed;
}

.prototype-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .7rem;
  text-align: center;
}

.privacy-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 17px;
  border-radius: 16px;
}

.shield-icon {
  width: 39px;
  height: 39px;
  border-radius: 11px;
  color: #236348;
  background: #e5f4ec;
}

.privacy-card small { color: var(--muted); }

.inline-status { min-height: 1.3em; margin: 9px 0 0; color: #5f4a8b; font-size: .76rem; }

.product-trust-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin-top: 30px;
  overflow: hidden;
  border: 0;
  border-radius: 30px 12px 30px 12px;
  background: linear-gradient(110deg, #e3f5ed 0%, #fff1d1 100%);
}

.product-trust-strip div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 74px;
  padding: 13px 11px;
  background: transparent;
  text-align: center;
}

.product-trust-strip div + div { border-left: 1px solid rgba(37, 102, 80, .13); }

.product-trust-strip span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-coral);
  font-size: .68rem;
  font-weight: 900;
}

.product-trust-strip strong { font-size: .76rem; line-height: 1.25; }

.seo-content {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.seo-section {
  position: relative;
  padding: clamp(28px, 4vw, 52px);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.journey-section {
  border-radius: 42px 18px 42px 18px;
  background: linear-gradient(135deg, #fff0e9 0%, #fff8d9 100%);
}

.photo-guide-section {
  margin-inline: clamp(0px, 2vw, 26px);
  border-bottom: 2px solid #e4d9cd;
}

.size-guide-section {
  border-radius: 18px 48px 18px 48px;
  background: #fff6d8;
}

.laminate-guide-section {
  border-radius: 18px 46px 18px 46px;
  background: linear-gradient(135deg, #f7f4ff 0%, #eef9f5 100%);
}

.places-section {
  border-radius: 48px 18px 48px 18px;
  background: linear-gradient(135deg, #e8f7f0 0%, #f3fbf7 100%);
}

.material-section {
  border-radius: 18px 44px 18px 44px;
  background: #fff0eb;
}

.experience-section {
  display: flex;
  min-height: 390px;
  align-items: center;
  border-radius: 42px 18px 42px 18px;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(8, 67, 65, .97) 0%, rgba(8, 67, 65, .92) 34%, rgba(8, 67, 65, .55) 55%, rgba(8, 67, 65, .08) 78%),
    url("assets/ui/ferdi-hund-garten-v1.jpg");
  background-position: center, center;
  background-size: cover;
}

.experience-section .eyebrow { color: #ffd87a; }
.experience-section .experience-copy { position: relative; z-index: 1; width: min(56%, 720px); }
.experience-section h2 { max-width: 690px; }
.seo-section.experience-section p { max-width: 680px; color: #fff; }
.experience-section p + p { margin-top: 12px; }

.experience-signature {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: #fff;
  font-size: .92rem;
}

.experience-signature::before {
  width: 32px;
  height: 2px;
  background: #ffd87a;
  content: "";
}

.ai-image-note {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  color: #fff;
  background: rgba(9, 46, 43, .5);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .09);
  font-size: .61rem;
  font-weight: 650;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.ai-image-note > span { color: #ffe39c; font-size: .72rem; }

.template-intent-section {
  border-radius: 18px 46px 18px 46px;
  background: #fff8e8;
}

.faq-section {
  border-radius: 42px 18px 42px 18px;
  background: #f1f7f6;
}

.seo-section h2 {
  max-width: 810px;
  margin: 0 0 16px;
  font-family: "Asap", Arial, Helvetica, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 600;
  font-stretch: 100%;
  font-variation-settings: "wght" 600, "wdth" 100;
  line-height: 1.08;
  letter-spacing: -.021em;
}

.size-guide-section .eyebrow,
.places-section .eyebrow { color: #257555; }
.laminate-guide-section .eyebrow { color: #8d5c17; }
.material-section .eyebrow,
.template-intent-section .eyebrow { color: #ba5139; }

.seo-section h3 { margin: 0 0 7px; font-size: 1.02rem; line-height: 1.2; }
.seo-section p { color: var(--muted); }

.steps-grid,
.info-card-grid,
.template-overview {
  display: grid;
  gap: 0;
  margin-top: 24px;
}

.steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-card-grid,
.template-overview { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.steps-grid article,
.info-card-grid article,
.template-overview article {
  padding: 20px 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.steps-grid article + article,
.info-card-grid article + article { border-left: 1px solid rgba(55, 48, 39, .16); }

.step-badge {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 88px;
  margin-bottom: 14px;
}

.step-badge > span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 5px;
  border-radius: 50%;
  color: #fff;
  background: var(--brand-coral);
  box-shadow: 0 6px 15px rgba(166, 61, 41, .18);
  font-weight: 850;
}

.step-badge img {
  align-self: end;
  width: 76px;
  height: 86px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 8px 7px rgba(78, 52, 34, .14));
}

.size-card-grid { align-items: start; gap: clamp(12px, 2vw, 24px); }

.size-scale-note {
  max-width: 720px;
  margin: -2px 0 0;
  font-size: .9rem;
}

.size-card-grid .size-card {
  padding: 8px 0 0;
  border-left: 0;
}

.size-person-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 22px 10px 22px 10px;
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(224,244,237,.68));
}

.size-person-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.size-sign-overlay {
  position: absolute;
  z-index: 2;
  display: block;
  aspect-ratio: 297 / 210;
  overflow: hidden;
  border: 0;
  background: #fff;
  box-shadow: 0 10px 22px rgba(29, 26, 24, .2);
}

.size-sign-overlay img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.size-card-a5 .size-sign-overlay { left: 29%; bottom: 22.8%; width: 42%; }
.size-card-a4 .size-sign-overlay { left: 20.3%; bottom: 14%; width: 59.4%; }
.size-card-a3 .size-sign-overlay { left: 8%; bottom: 8%; width: 84%; }

.size-card-grid .format-measure {
  margin: 0 0 3px;
  color: #145f54;
  font-size: 1.08rem;
  font-weight: 850;
}

.size-card-grid h3 { margin-bottom: 9px; font-size: 1.22rem; }

.laminate-intro { max-width: 680px; margin: -4px 0 0; }

.laminate-card-grid { gap: clamp(12px, 2vw, 22px); }

.laminate-card-grid .laminate-card {
  padding: 14px 14px 24px;
  overflow: hidden;
  border: 0;
  border-radius: 30px 12px 30px 12px;
  background: rgba(255,255,255,.83);
  box-shadow: 0 12px 28px rgba(37, 69, 60, .09);
}

.laminate-sample {
  position: relative;
  width: 100%;
  aspect-ratio: 297 / 210;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 21px 8px 21px 8px;
  background: #eee;
}

.laminate-sample img { display: block; width: 100%; height: 100%; object-fit: cover; }

.laminate-sample span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 67, 65, .86);
  font-size: .67rem;
  font-weight: 800;
  line-height: 1;
}

.laminate-glossy .laminate-sample::after {
  position: absolute;
  inset: -70% -35%;
  z-index: 2;
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.54) 49%, rgba(255,255,255,.14) 56%, transparent 63%);
  content: "";
  transform: rotate(7deg);
}

.laminate-matte .laminate-sample img { filter: saturate(.75) contrast(.9) brightness(1.02); }
.laminate-matte .laminate-sample::after { position: absolute; inset: 0; background: rgba(245,243,238,.2); content: ""; }
.laminate-protect .laminate-sample { box-shadow: inset 0 0 0 3px rgba(111, 200, 178, .72); }
.laminate-protect .laminate-sample::after { position: absolute; inset: 10px; border: 2px solid rgba(255,255,255,.8); border-radius: 15px 5px 15px 5px; content: ""; }

.place-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 52% 48% 44% 56%;
  transform: rotate(-3deg);
}

.place-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
  transform: rotate(3deg);
}

.place-icon-door { color: #a43b2a; background: #ffc7b7; }
.place-icon-fence { color: #075b5f; background: #bfe9dd; }
.place-icon-garden { color: #6c4d00; background: #ffdb70; }

.use-scene-grid { gap: clamp(12px, 2vw, 22px); }

.use-scene-grid .use-scene-card {
  padding: 0 0 8px;
  overflow: hidden;
  border: 0;
}

.use-scene-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 22px 10px 22px 10px;
  background: #dcece6;
  box-shadow: 0 10px 24px rgba(24, 69, 57, .1);
}

.use-scene-base {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.use-scene-sign {
  position: absolute;
  z-index: 2;
  display: block;
  aspect-ratio: 297 / 210;
  object-fit: cover;
  border: 1px solid rgba(18, 20, 22, .28);
  box-shadow: 0 9px 18px rgba(17, 21, 22, .28);
}

.use-scene-door .use-scene-sign { left: 43%; top: 48%; width: 26%; transform: translate(-50%, -50%); }
.use-scene-gate .use-scene-sign { left: 68%; top: 43%; width: 28%; transform: translate(-50%, -50%); }
.use-scene-garden .use-scene-sign { left: 50%; top: 55%; width: 36%; transform: translate(-50%, -50%); }

.use-scene-media figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  color: #fff;
  background: rgba(6, 51, 49, .78);
  font-size: .65rem;
  font-weight: 750;
  line-height: 1;
  backdrop-filter: blur(7px);
}

.steps-grid p,
.info-card-grid p,
.template-overview p { margin: 0; font-size: .88rem; }

.seo-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 22px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--brand-teal-dark);
  box-shadow: 0 10px 24px rgba(7, 86, 93, .18);
  font-weight: 700;
  text-decoration: none;
}

.seo-cta:hover { background: var(--brand-teal); }

.seo-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.seo-split p { max-width: 720px; margin-bottom: 0; }

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 13px 6px 13px 46px;
  border: 0;
  border-bottom: 1px solid #dfd6cd;
  border-radius: 0;
  background: transparent;
  font-size: .86rem;
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 9px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #2c956b;
  font-weight: 900;
}

.product-facts { margin: 0; overflow: hidden; border: 0; border-radius: 18px; background: rgba(255, 255, 255, .62); }
.product-facts div { display: grid; grid-template-columns: 105px 1fr; gap: 18px; padding: 12px 15px; }
.product-facts div + div { border-top: 1px solid rgba(166, 61, 41, .13); }
.product-facts dt { color: var(--muted); font-size: .78rem; }
.product-facts dd { margin: 0; font-size: .84rem; font-weight: 650; }

.template-mini {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 126px;
  margin: -6px -6px 18px;
  padding: 18px 14px 18px 74px;
  overflow: hidden;
  border-radius: 11px;
  line-height: 1;
}

.template-mini::before,
.template-mini::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(16, 18, 20, .72);
}

.template-mini::before { left: 10px; }
.template-mini::after { right: 10px; }
.template-mini i { position: absolute; left: 16px; top: 29px; width: 44px; height: 61px; border: 3px dashed rgba(25, 26, 29, .35); border-radius: 50%; }
.template-mini b { font-size: .67rem; letter-spacing: .08em; }
.template-mini strong { margin-top: 7px; font-size: 1.18rem; }
.template-mini.thumb-stall { color: #fff; }
.template-mini.thumb-stall i { border-color: rgba(255, 255, 255, .58); }

.intent-overview { gap: 18px; }
.intent-overview article { position: relative; padding: 16px 16px 26px; border-radius: 34px 14px 34px 14px; }
.intent-overview article:nth-child(1) { background: #ffe3da; }
.intent-overview article:nth-child(2) { background: #ffedc2; }
.intent-overview article:nth-child(3) { background: #dff3e9; }
.intent-template-image {
  display: block;
  width: 100%;
  aspect-ratio: 297 / 210;
  margin-bottom: 18px;
  border-radius: 22px 8px 22px 8px;
  object-fit: cover;
  box-shadow: 0 9px 18px rgba(53, 38, 31, .13);
}
.intent-mark { position: absolute; left: 24px; top: 22px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; }
.intent-mark svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.intent-warning { color: #fff4d3; background: #c84332; }
.intent-welcome { color: #fff; background: #ef765d; }
.intent-garden { color: #f8f3dc; background: #39705a; }

.faq-list { display: grid; gap: 10px; margin-top: 24px; }
.faq-list details { border: 0; border-bottom: 1px solid #cfddda; border-radius: 0; background: transparent; overflow: hidden; }
.faq-list summary { position: relative; padding: 17px 52px 17px 18px; cursor: pointer; font-weight: 850; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 18px; top: 13px; font-size: 1.35rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 0; padding: 0 18px 18px; }

footer { padding: 28px 0; color: #fff; background: var(--ink); }

.footer-inner { display: flex; align-items: center; gap: 26px; }
.footer-inner img { width: 155px; filter: invert(1); }
.footer-inner p { margin: 0 0 0 auto; color: #b8bdc2; font-size: .8rem; }

dialog {
  width: min(690px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 28px 80px rgba(15, 18, 20, .34);
}

dialog::backdrop { background: rgba(18, 20, 23, .68); backdrop-filter: blur(4px); }

.dialog-card { position: relative; padding: 30px; }

.dialog-close {
  position: absolute;
  right: 18px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f0f1f1;
  cursor: pointer;
  font-size: 1.35rem;
}

.dialog-card h2 { margin-bottom: 11px; font-size: 2rem; }
.dialog-card > p:not(.eyebrow, .inline-status) { color: var(--muted); }

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin: 20px 0;
}

.review-grid > div { padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.review-grid small { display: block; color: var(--muted); font-size: .7rem; }
.review-grid strong { display: block; margin-top: 2px; }
.review-grid .mounting-mini,
.final-review .mounting-mini { margin-top: 7px; }

.payload-details { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.payload-details summary { padding: 12px 14px; font-size: .8rem; font-weight: 800; cursor: pointer; }
.payload-details pre { max-height: 260px; margin: 0; padding: 14px; overflow: auto; color: #e8edf1; background: #202328; font: 12px/1.5 Consolas, monospace; white-space: pre-wrap; }

.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.dialog-status { text-align: right; }

@media (max-width: 1020px) {
  .workspace { grid-template-columns: 1fr; }
  .control-panel { grid-column: 1; grid-row: 2; }
  .preview-column { position: static; grid-column: 1; grid-row: 1; }
  .preview-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 0 20px; }
  .preview-heading { grid-column: 1 / -1; }
  .canvas-stage { grid-row: span 6; min-height: 330px; }
  .quality-row { align-self: start; margin-top: 0; }
  .preview-summary { align-self: start; }
  .cart-button { align-self: end; }
  .prototype-note { align-self: start; }
  .product-trust-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid article:nth-child(3) { border-left: 0; }
  .steps-grid article:nth-child(n + 3) { border-top: 1px solid rgba(55, 48, 39, .16); }
}

@media (max-width: 720px) {
  body { padding-bottom: 82px; }
  .shell { width: calc(100% - 24px); max-width: 1240px; }
  .service-strip { gap: 7px; font-size: .68rem; }
  .header-inner { min-height: 64px; }
  .brand { width: 160px; }
  .header-title { display: none; }
  .intro { display: block; min-height: 0; margin-top: 2px; padding: 26px 24px 18px; }
  .intro h1 { overflow-wrap: anywhere; }
  .intro-showcase { min-height: 210px; margin: 16px -8px -18px; }
  .intro-dog-pack { right: 50%; bottom: -16px; width: min(115%, 620px); transform: translateX(50%); }
  .intro-paw-art { left: 50%; width: min(108%, 620px); transform: translateX(-50%); }
  .intro-shape-lilac { inset: -20px 28% -20px -6%; }
  .intro-shape-mint { inset: -20px -16% -24px 58%; }
  .intro-shape-yellow { right: 22%; bottom: -90px; width: 230px; height: 170px; }
  .page-shell { padding-top: 24px; }
  .breadcrumbs { margin-bottom: 16px; }
  .stepper { position: sticky; top: 0; z-index: 25; }
  .stepper b { display: none; }
  .stepper li { min-height: 44px; padding: 7px; }
  .stepper li { padding: 0; }
  .stepper button { min-height: 44px; padding: 7px; }
  .stepper li.is-current b { display: inline; }
  .control-panel { min-height: 0; padding: 21px; }
  .panel-actions {
    position: fixed;
    right: 12px;
    bottom: 8px;
    left: 12px;
    z-index: 40;
    width: auto;
    margin: 0;
    padding: 12px 9px 10px;
    border: 1px solid rgba(25, 26, 29, .1);
    border-radius: 15px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 10px 30px rgba(22, 25, 29, .13);
    backdrop-filter: blur(12px);
  }
  .preview-card { display: block; padding: 15px; }
  .canvas-stage { width: 100%; min-height: 0; padding: 0; }
  .canvas-stage.is-detail-view { padding: 18px; }
  .quality-row { margin-top: 12px; }
  .template-card { padding: 7px; }
  .background-preset-section { padding: 15px; }
  .background-preset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .background-category-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .background-preset-heading { flex-direction: column; }
  .template-thumb { min-height: 110px; padding-left: 49%; }
  .template-thumb i { left: 10px; top: 10px; bottom: 10px; width: 40%; }
  .thumb-familie,
  .thumb-motiv2,
  .thumb-motiv3,
  .thumb-motiv4,
  .thumb-motiv5,
  .thumb-motiv6,
  .thumb-motiv7,
  .thumb-motiv8,
  .thumb-motiv9,
  .thumb-motiv10 { min-height: 0; }
  .text-style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .background-tools-heading { flex-direction: column; }
  .background-upload-button { grid-template-columns: 36px minmax(0, 1fr); padding: 10px 12px; }
  .background-upload-icon { width: 36px; height: 36px; }
  .range-row { grid-template-columns: 95px minmax(0, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .final-review { grid-template-columns: 1fr; }
  .product-trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-trust-strip div + div { border-left: 0; }
  .product-trust-strip div:nth-child(even) { border-left: 1px solid rgba(37, 102, 80, .13); }
  .product-trust-strip div:nth-child(n + 3) { border-top: 1px solid rgba(37, 102, 80, .13); }
  .seo-split { grid-template-columns: 1fr; }
  .experience-section {
    min-height: 560px;
    align-items: end;
    background-image:
      linear-gradient(180deg, rgba(8, 67, 65, .04) 0%, rgba(8, 67, 65, .22) 34%, rgba(8, 67, 65, .96) 58%, rgba(8, 67, 65, .99) 100%),
      url("assets/ui/ferdi-hund-garten-v1.jpg");
    background-position: 66% top;
    background-size: auto 300px, auto 300px;
    background-repeat: no-repeat;
    background-color: #084341;
  }
  .experience-section .experience-copy { width: 100%; }
  .ai-image-note { top: 14px; right: 14px; bottom: auto; }
  .info-card-grid,
  .template-overview { grid-template-columns: 1fr; }
  .steps-grid article + article,
  .info-card-grid article + article { border-top: 1px solid rgba(55, 48, 39, .16); border-left: 0; }
  .intent-overview { gap: 12px; }
  .seo-section { padding-inline: 24px; }
}

@media (max-width: 480px) {
  .service-strip span:nth-of-type(2),
  .service-strip i:nth-of-type(2) { display: none; }
  .header-nav a { min-height: 38px; padding: 7px 12px; font-size: .76rem; }
  .intro h1 { font-size: 2.45rem; }
  .intro-showcase { min-height: 180px; }
  .intro-dog-pack { width: 152%; }
  .panel-heading { align-items: start; }
  .panel-heading .text-button { flex: 0 0 auto; }
  .template-list {
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 82%);
    grid-template-columns: none;
    width: 100%;
    padding: 2px 2px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
  }
  .template-card { scroll-snap-align: start; }
  .background-preset-card span { min-height: 48px; }
  .background-category-tab { min-height: 42px; }
  .upload-zone { min-height: 190px; padding-inline: 14px; }
  .photo-tool-actions { align-items: stretch; flex-direction: column; }
  .drag-hint { text-align: left; }
  .text-position-tools { align-items: stretch; flex-direction: column; }
  .text-position-tools button { width: 100%; min-height: 44px; }
  .segmented { grid-template-columns: 1fr; }
  .segmented button { min-height: 52px; }
  .choice-grid,
  .choice-grid-three { grid-template-columns: 1fr; }
  .accessory-grid { grid-template-columns: 1fr; }
  .choice-card { min-height: 74px; }
  .accessory-section { padding: 14px; }
  .panel-actions { flex-wrap: nowrap; }
  .panel-actions .back-button { flex: 0 0 86px; padding-inline: 10px; }
  .panel-actions .primary-button { flex: 1 1 auto; min-width: 0; padding-inline: 12px; font-size: .8rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner p { margin-left: 0; }
  .dialog-card { padding: 24px 18px; }
  .dialog-actions { flex-direction: column-reverse; }
  .dialog-actions button { width: 100%; }
  .preview-toolbar button span { display: none; }
  .preview-heading { align-items: flex-start; flex-wrap: wrap; }
  .preview-meta { gap: 5px; }
  .preview-quality-badge { font-size: .74rem; }
  .preview-toolbar { align-items: stretch; flex-direction: column; }
  .preview-toolbar .preview-view-switch { align-self: stretch; }
  .preview-toolbar .preview-view-switch button { flex: 1; }
  .steps-grid { grid-template-columns: 1fr; }
  .product-trust-strip strong { font-size: .7rem; }
  .seo-section { padding: 25px 18px; }
  .template-mini { min-height: 112px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
