body.mast-route-planen {
  --planner-navy: #101e30;
  --planner-panel: #13273ddf;
  --planner-text: #eff5ff;
  --planner-muted: #c0cede;
  --planner-copper: #ffc28e;
  --planner-rule: #becfe755;
  isolation: isolate;
  margin: 0;
  background: var(--planner-navy);
  color: var(--planner-text);
  font: 400 1rem/1.55 'DM Sans', Arial, sans-serif;
}

body.mast-route-planen::before {
  content: '';
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #0b192ae6, #0b192aa8),
    url('assets/mast-duesseldorf-bluehour.webp') center / contain no-repeat;
}

#web-config { padding-block-end: 8rem; }
#web-config *, #web-config *::before, #web-config *::after { box-sizing: border-box; }
#web-config [hidden] { display: none !important; }
#web-config .planner-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#web-config a { color: inherit; }
#web-config :is(a,button,input,select,textarea,summary):focus-visible {
  outline: 2px solid var(--planner-copper);
  outline-offset: 3px;
}
#web-config :is(button,input,select,textarea) { font: inherit; }

#web-config .config-top {
  display: flex;
  justify-content: space-between;
  gap: .75rem 1.25rem;
  align-items: center;
  width: min(1200px, 100% - 2 * clamp(1rem, 6vw, 6rem));
  margin-inline: auto;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--planner-rule);
}
#web-config .config-top a { text-underline-offset: .25em; }
#web-config .config-top a:hover { color: var(--planner-copper); }
#web-config .config-top > span, #web-config .eyebrow, #web-config .step {
  color: var(--planner-copper);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

#web-config .config-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 6vw, 6rem);
  align-items: start;
  width: min(1200px, 100% - 2 * clamp(1rem, 6vw, 6rem));
  margin-inline: auto;
  padding-block: clamp(2rem, 5vw, 5rem);
}
#web-config .planner-overview { position: sticky; top: 1.5rem; min-width: 0; }
#web-config h1 {
  font-size: clamp(2.55rem, 4.4vw, 3.8rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.065em;
  margin: 1rem 0 1.8rem;
}
#web-config h1 i {
  display: block;
  margin-top: .14em;
  color: var(--planner-copper);
  font: italic 400 .94em/.92 'Instrument Serif', Georgia, serif;
  letter-spacing: -.02em;
}

#web-config .web-preview {
  overflow: hidden;
  border: 1px solid var(--planner-rule);
  border-radius: .6rem;
  box-shadow: 0 1rem 2.5rem #0713206e;
}
#web-config .browser-bar {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  background: #182f45;
  color: var(--planner-muted);
  padding: .65rem 1rem;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
#web-config .browser-dots { color: var(--planner-copper); }
#web-config .web-canvas {
  position: relative;
  isolation: isolate;
  min-height: 14rem;
  overflow: hidden;
  background: #dce7f1;
  color: #14283d;
  padding: 1.2rem;
}
#web-config .web-canvas > small {
  display: block;
  color: #30485d;
  font-size: .7rem;
  letter-spacing: .07em;
}
#web-config .web-canvas > strong {
  display: block;
  max-width: 11ch;
  margin: 1.35rem 0 .85rem;
  font: 400 clamp(2rem, 4vw, 3.4rem)/.94 'Instrument Serif', Georgia, serif;
}
#web-config .web-shape {
  position: absolute;
  z-index: -1;
  right: 1.2rem;
  top: 2.8rem;
  width: 31%;
  aspect-ratio: .76;
  border-radius: 55% 55% .2rem .2rem;
  background: linear-gradient(135deg, #5a7994, #c0cede);
}
#web-config[data-example="handwerk"] #web-preview-art { background: url('assets/garden-coral.webp') center / cover; }
#web-config[data-example="gastro"] #web-preview-art { background: url('assets/coffee.jpg') center / cover; }
#web-config .web-pill {
  display: inline-block;
  background: #172e46;
  color: #eff5ff;
  border-radius: 2rem;
  padding: .35rem .6rem;
  font-size: .65rem;
}
#web-config .web-pages, #web-config .preview-additions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .65rem;
  font-size: .67rem;
}
#web-config .web-pages > span, #web-config .preview-additions > span {
  background: #f0f5facf;
  padding: .2rem .4rem;
  border-radius: .15rem;
}
#web-config .preview-additions > span { background: #ffc28e; }
#web-config .web-template-image {
  display: block;
  width: calc(100% + 2.4rem);
  max-width: none;
  height: clamp(9rem, 12vw, 10rem);
  margin: -1.2rem -1.2rem 1rem;
  object-fit: cover;
}
#web-config[data-example] .web-shape { display: none; }
#web-config #web-preview-kind { margin-bottom: .55rem; font-size: .6rem; opacity: .8; }
#web-config[data-example] .web-canvas > strong { max-width: 16ch; font-size: clamp(1.9rem, 3.8vw, 3rem); }
#web-config[data-example="cafe-ufer"] .web-canvas { background: #f4efe5; color: #342f26; }
#web-config[data-example="stiel-saison"] .web-canvas { background: #e6eadf; color: #25392e; }
#web-config[data-example="kante"] .web-canvas { background: #eae2d8; color: #242321; }
#web-config[data-example="farbwerk"] .web-canvas { background: #edece5; color: #242c2a; }
#web-config[data-example="werkstueck"] .web-canvas { background: #e7ded2; color: #332c25; }
#web-config[data-example="gruenwerk"] .web-canvas { background: #e9ecdf; color: #26382b; }
#web-config[data-example="raumwert"] .web-canvas { background: #eeebe4; color: #323734; }
#web-config[data-example="shop-demo"] .web-canvas { background: #f0e9df; color: #493c32; }
#web-config[data-example="kante"] .web-canvas > strong,
#web-config[data-example="farbwerk"] .web-canvas > strong,
#web-config[data-example="raumwert"] .web-canvas > strong { font-family: 'DM Sans', Arial, sans-serif; font-weight: 500; letter-spacing: -.05em; }
#web-config .web-template-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; margin: 1.2rem 0; }
#web-config .template-option {
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--planner-rule);
  border-radius: .35rem;
  background: #0d2032a1;
  color: var(--planner-text);
  text-align: left;
  cursor: pointer;
}
#web-config .template-option:hover { border-color: var(--planner-text); }
#web-config .template-option.active { border-color: var(--planner-copper); box-shadow: 0 0 0 1px var(--planner-copper); }
#web-config .template-option > img { display: block; width: 100%; height: 5.5rem; object-fit: cover; }
#web-config .template-option > span { display: block; padding: .65rem .75rem; }
#web-config .template-option b { display: block; font-size: .85rem; line-height: 1.3; }
#web-config .template-option small { display: block; color: var(--planner-muted); font-size: .74rem; margin-top: .2rem; }
#web-config .template-option.active b { color: var(--planner-copper); }
#web-config .web-template-details { padding: .1rem 0 .75rem; border-bottom: 1px solid var(--planner-rule); color: var(--planner-muted); font-size: .87rem; }
#web-config .web-template-details ul { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; list-style: none; }
#web-config .web-template-details li { padding: .2rem .45rem; border: 1px solid var(--planner-rule); border-radius: .2rem; }
#web-config .web-template-details a { color: var(--planner-copper); }
#web-config .config-specs { display: flex; gap: 1.5rem; margin-top: 1.15rem; color: var(--planner-muted); font-size: .8rem; }
#web-config .config-specs b { display: block; color: var(--planner-text); font-size: 1.15rem; }
#web-config .fine { color: var(--planner-muted); font-size: .87rem; }
#web-config .planner-notice { margin: 1rem 0; }

#web-config .choices { min-width: 0; }
#web-config .choices > section {
  margin-bottom: 1rem;
  padding: clamp(1rem, 3.1vw, 2.1rem);
  border: 1px solid var(--planner-rule);
  border-radius: .6rem;
  background: var(--planner-panel);
}
#web-config .step { margin: 0; }
#web-config h2 {
  margin: .6rem 0 1rem;
  font-size: clamp(1.65rem, 3.4vw, 2.45rem);
  line-height: 1.1;
  letter-spacing: -.036em;
}
#web-config h2 > span:not(.mast-punctuation) { color: var(--planner-muted); }
#web-config .mast-punctuation { color: var(--planner-copper); }
#web-config :is(.option, .extra) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: .75rem;
  margin: .55rem 0;
  padding: .8rem .9rem;
  border: 1px solid var(--planner-rule);
  border-radius: .35rem;
  background: #0d2032a1;
  color: var(--planner-text);
  text-align: left;
  cursor: pointer;
}
#web-config :is(.option, .extra).active {
  border-color: var(--planner-copper);
  background: #324356;
}
#web-config :is(.option, .extra):disabled { opacity: .72; cursor: default; }
#web-config :is(.option, .extra) small {
  display: block;
  margin-top: .25rem;
  color: var(--planner-muted);
  line-height: 1.4;
}
#web-config .check {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.55rem;
  aspect-ratio: 1;
  border: 1px solid var(--planner-rule);
  border-radius: 50%;
}
#web-config .active .check {
  border-color: var(--planner-copper);
  background: var(--planner-copper);
  color: var(--planner-navy);
}

#web-config .web-package-facts { margin-top: 1.2rem; padding-block: .35rem; border-top: 1px solid var(--planner-rule); }
#web-config .web-package-facts dl { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
#web-config .web-package-facts dt { color: var(--planner-muted); font-size: .78rem; }
#web-config .web-package-facts dd { margin: 0; }
#web-config .web-package-facts p, #web-config .web-care-details p { color: var(--planner-muted); font-size: .9rem; }
#web-config label { display: block; margin: .9rem 0 .35rem; font-size: .9rem; }
#web-config :is(select,input,textarea) {
  width: 100%;
  padding: .65rem .7rem;
  border: 1px solid var(--planner-rule);
  border-radius: .3rem;
  background: #0d2032;
  color: var(--planner-text);
  color-scheme: dark;
}
#web-config input::placeholder, #web-config textarea::placeholder { color: #9db1c8; }
#web-config textarea { resize: vertical; }
#web-config .summary-row {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding-block: .55rem;
  border-bottom: 1px solid var(--planner-rule);
}
#web-config .summary-row > :last-child { text-align: end; }
#web-config form { margin-top: 1.55rem; }
#web-config details { margin-top: .85rem; }
#web-config summary { padding: .65rem 0; cursor: pointer; }
#web-config summary > span { margin-left: .35rem; color: var(--planner-muted); font-size: .8rem; }
#web-config .briefing-fold { margin-top: 1.2rem; border-block: 1px solid var(--planner-rule); }
#web-config .briefing-section { border-top: 1px solid var(--planner-rule); }
#web-config .briefing-intro p, #web-config .private-hint { color: var(--planner-muted); font-size: .87rem; }
#web-config :is(.briefing-skip,.text-btn) {
  padding: .45rem 0;
  background: transparent;
  color: var(--planner-copper);
  border: 0;
  text-decoration: underline;
  text-underline-offset: .25em;
  cursor: pointer;
}
#web-config :is(.primary,a.primary) {
  display: inline-block;
  padding: .7rem .95rem;
  border: 1px solid var(--planner-copper);
  border-radius: .3rem;
  background: var(--planner-copper);
  color: var(--planner-navy);
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}
#web-config .primary:hover { background: #ffd1aa; }
#web-config .full { width: 100%; }
#web-config .request-review-title { margin-top: 1.5rem; font-weight: 600; }
#web-config .request-summary {
  padding: .9rem;
  border: 1px solid var(--planner-rule);
  border-radius: .3rem;
  background: #0d2032;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  font-size: .84rem;
}

#web-config .bottom-bar {
  position: fixed;
  z-index: 3;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  gap: .8rem 1.3rem;
  padding: .75rem clamp(1rem, 6vw, 6rem) max(.75rem, env(safe-area-inset-bottom));
  background: #0b1b2af2;
  border-top: 1px solid var(--planner-rule);
}
#web-config .bottom-bar small { display: block; color: var(--planner-muted); font-size: .76rem; }
#web-config .bottom-price { margin-left: auto; }

@media (max-width: 790px) {
  #web-config .config-layout { grid-template-columns: minmax(0, 1fr); }
  #web-config .planner-overview { position: static; }
  #web-config .web-preview { max-width: 34rem; }
  #web-config .bottom-bar > div:first-child { display: none; }
  #web-config .bottom-price { margin: 0 auto 0 0; font-size: .9rem; }
  #web-config .bottom-bar .primary { font-size: .88rem; }
}
@media (max-width: 380px) {
  #web-config .web-package-facts dl { grid-template-columns: minmax(0, 1fr); }
  #web-config .config-top > span { display: none; }
}
