/* ------------------------------------------------------------------
 * Handwerk demo — warm, modern, premium.
 * Smooth rounded edges, soft shadows, refined typography.
 * Brand colours come from --color-primary / --color-secondary
 * which are injected per-site by the demo layout.
 * ------------------------------------------------------------------ */
.demo--handwerk {
  --color-text: #2a1d10;
  --color-bg: #fdfaf3;
  --color-surface: #f6efde;
  --color-surface-deep: #efe4c9;
  --color-muted: #6e5b40;
  --color-border: #e5d6b5;
  --color-border-soft: #efe4c9;

  --shadow-sm: 0 2px 8px rgba(74, 50, 20, 0.06);
  --shadow: 0 12px 30px rgba(74, 50, 20, 0.10);
  --shadow-lg: 0 24px 50px rgba(74, 50, 20, 0.16);

  --radius-xs: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --font-display: Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
}

.demo--handwerk h1,
.demo--handwerk h2,
.demo--handwerk h3 {
  font-family: var(--font-display);
  color: var(--color-text);
  letter-spacing: -0.01em;
}

/* ===== Header ===================================================== */
.demo--handwerk .demo-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 250, 243, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--color-border-soft);
}

.demo--handwerk .demo-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
  padding: 0.75rem 0;
  position: relative;
}

.demo--handwerk .demo-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  white-space: nowrap;
  min-width: 0;
}

.demo--handwerk .demo-header__brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1100px) {
  .demo--handwerk .demo-header__brand {
    font-size: 1.1rem;
  }
}

.demo--handwerk .demo-header__brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, var(--color-primary) 0%, #a06a2c 100%);
  position: relative;
  flex-shrink: 0;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.15);
}

.demo--handwerk .demo-header__brand-mark::after {
  content: "M";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.demo--handwerk .demo-header__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.demo--handwerk .demo-header__nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.demo--handwerk .demo-header__nav a:hover {
  color: var(--color-primary);
  background: rgba(122, 74, 31, 0.08);
}

.demo--handwerk .demo-header__cta {
  background: var(--color-primary);
  color: #fff !important;
  margin-left: 0.5rem;
}

.demo--handwerk .demo-header__cta:hover {
  background: #5d3815 !important;
  color: #fff !important;
}

.demo--handwerk .demo-header__back {
  margin-left: 0.75rem;
  font-size: 0.85rem;
  color: var(--color-muted) !important;
}

.demo--handwerk .demo-header__toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--color-text);
}

.demo--handwerk .demo-header__toggle span,
.demo--handwerk .demo-header__toggle span::before,
.demo--handwerk .demo-header__toggle span::after {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}

.demo--handwerk .demo-header__toggle span::before,
.demo--handwerk .demo-header__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.demo--handwerk .demo-header__toggle span::before {
  top: -7px;
}

.demo--handwerk .demo-header__toggle span::after {
  top: 7px;
}

@media (max-width: 860px) {
  .demo--handwerk .demo-header__toggle {
    display: inline-flex;
  }

  .demo--handwerk .demo-header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border-soft);
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem 1rem 1.25rem;
    box-shadow: 0 12px 24px rgba(74, 50, 20, 0.08);
    display: none;
  }

  .demo--handwerk .demo-header__nav.is-open {
    display: flex;
  }

  .demo--handwerk .demo-header__nav a {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-xs);
  }

  .demo--handwerk .demo-header__cta {
    text-align: center;
  }
}

/* ===== Eyebrow ==================================================== */
.demo--handwerk .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 1rem;
  font-family: var(--font-body);
}

.demo--handwerk .eyebrow__dot {
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.demo--handwerk .eyebrow--light {
  color: #f5e7c9;
}

.demo--handwerk .eyebrow--light .eyebrow__dot {
  background: #f5e7c9;
}

/* ===== Buttons (override base for warmth & roundness) ============= */
.demo--handwerk .btn {
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.7rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: all 0.25s ease;
}

.demo--handwerk .btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 8px 20px rgba(122, 74, 31, 0.25);
}

.demo--handwerk .btn--primary:hover {
  background: #5d3815;
  border-color: #5d3815;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(122, 74, 31, 0.35);
}

.demo--handwerk .btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.demo--handwerk .btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.demo--handwerk .btn--on-dark.btn--ghost {
  color: #f5e7c9;
  border-color: rgba(245, 231, 201, 0.4);
}

.demo--handwerk .btn--on-dark.btn--ghost:hover {
  background: rgba(245, 231, 201, 0.1);
  border-color: rgba(245, 231, 201, 0.7);
  color: #fff;
}

/* ===== Hero ======================================================= */
.demo--handwerk .hero {
  position: relative;
  padding: 5rem 0 5.5rem;
  /* Layered: dark gradient overlay on top of carpenter photo for readable text */
  background:
    linear-gradient(180deg, rgba(30, 18, 8, 0.55) 0%, rgba(20, 12, 6, 0.70) 100%),
    url('../../../resources/websolutions/demo/handwerk/carpenter.png') center/cover no-repeat;
  overflow: hidden;
  isolation: isolate;
}

.demo--handwerk .hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

/* Light text on darkened photo background */
.demo--handwerk .hero .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.demo--handwerk .hero .eyebrow__dot {
  background: var(--color-primary);
}

.demo--handwerk .hero__title {
  color: #fff;
}

.demo--handwerk .hero .lead {
  color: rgba(255, 255, 255, 0.88);
}

.demo--handwerk .hero .hero__badges li {
  color: rgba(255, 255, 255, 0.95);
}

/* Brighten ghost button on dark photo backdrop */
.demo--handwerk .hero .btn--ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.demo--handwerk .hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* The decorative planks + stamp were a stand-in for a real image.
   With a real photo background they're redundant — hide them so the
   photo is visible on the right side. */
.demo--handwerk .hero__visual {
  display: none;
}

.demo--handwerk .hero__inner {
  grid-template-columns: minmax(0, 640px);
}

.demo--handwerk .hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.demo--handwerk .hero__title {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  max-width: 18ch;
}

.demo--handwerk .lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 55ch;
  margin: 0 0 2rem;
}

.demo--handwerk .hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.demo--handwerk .hero__badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.demo--handwerk .hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--color-muted);
  font-weight: 500;
}

.demo--handwerk .hero__badges span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Hero visual: stacked planks + stamp */
.demo--handwerk .hero__visual {
  position: relative;
  height: 380px;
}

.demo--handwerk .hero__plank {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background:
    repeating-linear-gradient(95deg,
      rgba(0, 0, 0, 0.06) 0 2px, transparent 2px 18px),
    linear-gradient(135deg, #b07a3e 0%, #7a4a1f 60%, #5d3815 100%);
}

.demo--handwerk .hero__plank--1 {
  top: 0;
  right: 8%;
  width: 75%;
  height: 60%;
  transform: rotate(-3deg);
  z-index: 1;
}

.demo--handwerk .hero__plank--2 {
  bottom: 8%;
  right: 0;
  width: 85%;
  height: 55%;
  transform: rotate(4deg);
  z-index: 2;
  background:
    repeating-linear-gradient(85deg,
      rgba(0, 0, 0, 0.05) 0 2px, transparent 2px 22px),
    linear-gradient(135deg, #c08a4e 0%, #8a5a2b 70%);
}

.demo--handwerk .hero__plank--3 {
  bottom: 0;
  left: 4%;
  width: 55%;
  height: 35%;
  transform: rotate(-6deg);
  z-index: 3;
  background:
    repeating-linear-gradient(95deg,
      rgba(0, 0, 0, 0.07) 0 2px, transparent 2px 14px),
    linear-gradient(135deg, #9a6432 0%, #6e4520 100%);
}

.demo--handwerk .hero__stamp {
  position: absolute;
  top: 8%;
  left: -2%;
  z-index: 4;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px dashed var(--color-primary);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--color-primary);
  font-family: var(--font-display);
  box-shadow: var(--shadow);
  transform: rotate(-12deg);
}

.demo--handwerk .hero__stamp-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.demo--handwerk .hero__stamp-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-family: var(--font-body);
  font-weight: 600;
  margin-top: 0.35rem;
  line-height: 1.2;
}

@media (max-width: 860px) {
  .demo--handwerk .hero {
    padding: 3.5rem 0 4rem;
  }

  .demo--handwerk .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .demo--handwerk .hero__visual {
    height: 280px;
    max-width: 460px;
    margin: 0 auto;
  }

  .demo--handwerk .hero__stamp {
    width: 100px;
    height: 100px;
  }

  .demo--handwerk .hero__stamp-num {
    font-size: 1.7rem;
  }
}

/* ===== Sections ================================================== */
.demo--handwerk .section {
  padding: 5rem 0;
}

.demo--handwerk .section--alt {
  background: var(--color-surface);
}

.demo--handwerk .section-head {
  max-width: 60ch;
  margin: 0 0 3rem;
}

.demo--handwerk .section-head--center {
  margin-inline: auto;
  text-align: center;
}

.demo--handwerk .section-head--center .eyebrow {
  justify-content: center;
}

.demo--handwerk .section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin: 0 0 0.75rem;
}

.demo--handwerk .section-head__sub {
  font-size: 1.05rem;
  color: var(--color-muted);
  margin: 0;
}

/* ===== Service cards ============================================= */
.demo--handwerk .cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.demo--handwerk .card {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
}

.demo--handwerk .card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.demo--handwerk .card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--color-surface);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: all 0.25s ease;
}

.demo--handwerk .card:hover .card__icon {
  background: var(--color-primary);
  transform: scale(1.05);
}

.demo--handwerk .card h3 {
  font-size: 1.25rem;
  margin: 0 0 0.6rem;
}

.demo--handwerk .card p {
  color: var(--color-muted);
  margin: 0;
  line-height: 1.65;
}

/* ===== Feature list ============================================== */
.demo--handwerk .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
}

.demo--handwerk .feature-list li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--color-border-soft);
  padding: 1.5rem;
  border-radius: var(--radius);
  transition: all 0.25s ease;
}

.demo--handwerk .feature-list li:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.demo--handwerk .feature-list__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2.5rem;
}

.demo--handwerk .feature-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
  color: var(--color-text);
}

.demo--handwerk .feature-list p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.96rem;
}

/* ===== Steps ===================================================== */
.demo--handwerk .steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  counter-reset: step;
}

.demo--handwerk .steps li {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--color-border-soft);
  position: relative;
  transition: all 0.25s ease;
}

.demo--handwerk .steps li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.demo--handwerk .steps__num {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 16px rgba(122, 74, 31, 0.3);
}

.demo--handwerk .steps h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.demo--handwerk .steps p {
  color: var(--color-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ===== Reference grid ============================================ */
.demo--handwerk .placeholder-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin-bottom: 1.25rem;
}

.demo--handwerk .placeholder {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
  border: 1px solid var(--color-border-soft);
  transition: all 0.25s ease;
}

.demo--handwerk .placeholder:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.demo--handwerk .placeholder__img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.demo--handwerk .placeholder--wood {
  background:
    repeating-linear-gradient(90deg,
      rgba(0, 0, 0, 0.08) 0 2px, transparent 2px 18px),
    linear-gradient(135deg, #b07a3e 0%, #8a5a2b 50%, #6e4520 100%);
}

.demo--handwerk .placeholder figcaption {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--color-text);
}

/* ===== CTA card =================================================== */
.demo--handwerk .section--cta {
  padding: 5rem 0 6rem;
}

.demo--handwerk .cta-card {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 60%),
    linear-gradient(135deg, #3d2410 0%, #2a1d10 100%);
  color: #f5e7c9;
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.demo--handwerk .cta-card h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 1rem;
  max-width: 22ch;
}

.demo--handwerk .cta-card__lead {
  color: rgba(245, 231, 201, 0.8);
  font-size: 1.05rem;
  margin: 0 0 1.75rem;
  max-width: 50ch;
}

.demo--handwerk .cta-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.demo--handwerk .cta-card__address {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 231, 201, 0.15);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  font-style: normal;
  line-height: 1.8;
  color: #f5e7c9;
}

.demo--handwerk .cta-card__address strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

@media (max-width: 860px) {
  .demo--handwerk .cta-card {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.75rem;
    gap: 2rem;
  }
}

/* ===== Footer ==================================================== */
.demo--handwerk .demo-footer {
  background: #2a1d10;
  color: rgba(245, 231, 201, 0.7);
  padding: 3rem 0 2rem;
  margin-top: 0;
}

.demo--handwerk .demo-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.demo--handwerk .demo-footer__brand p {
  margin: 0 0 0.4rem;
}

.demo--handwerk .demo-footer__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
}

.demo--handwerk .demo-footer a {
  color: rgba(245, 231, 201, 0.7);
  text-decoration: none;
  transition: color 0.15s ease;
}

.demo--handwerk .demo-footer a:hover {
  color: #fff;
}

.demo--handwerk .demo-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

.demo--handwerk .demo-footer__copy {
  grid-column: 1 / -1;
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 231, 201, 0.12);
  font-size: 0.85rem;
  color: rgba(245, 231, 201, 0.5);
}

.demo--handwerk .demo-footer__disclaimer {
  grid-column: 1 / -1;
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(245, 231, 201, 0.55);
  font-style: italic;
}

.demo--handwerk .demo-footer__disclaimer strong {
  color: rgba(245, 231, 201, 0.8);
  font-style: normal;
}

@media (max-width: 600px) {
  .demo--handwerk .demo-footer__inner {
    grid-template-columns: 1fr;
  }

  .demo--handwerk .demo-footer__nav {
    align-items: flex-start;
  }
}

/* ==================================================================
 * Paket 2 — Müller & Sohn Gebäudetechnik
 * Components specific to the inquiry-focused business-website demo.
 * ================================================================== */

/* ===== Small button modifier ===================================== */
.demo--handwerk .btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}

/* ===== Hero quick-contact row ==================================== */
.demo--handwerk .hero__quick {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.demo--handwerk .hero__quick-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.demo--handwerk .hero__quick-link:hover,
.demo--handwerk .hero__quick-link:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  transform: translateY(-1px);
}

.demo--handwerk .hero__quick-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Bottom padding so the sticky bar never overlaps real content. */
.demo--handwerk {
  padding-bottom: env(safe-area-inset-bottom);
}

@media (max-width: 720px) {
  .demo--handwerk {
    padding-bottom: 88px;
  }
}

/* ===== Problem / solution grid =================================== */
.demo--handwerk .problem-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.demo--handwerk .problem-card {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.25s ease;
}

.demo--handwerk .problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--color-primary);
}

.demo--handwerk .problem-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--color-surface);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.demo--handwerk .problem-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.demo--handwerk .problem-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.demo--handwerk .problem-card__service {
  font-size: 0.88rem !important;
  color: var(--color-text) !important;
}

.demo--handwerk .problem-card__service strong {
  color: var(--color-primary);
}

.demo--handwerk .problem-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ===== Service grid (Leistungen) ================================= */
.demo--handwerk .service-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.demo--handwerk .service-card {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: all 0.25s ease;
}

.demo--handwerk .service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.demo--handwerk .service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--color-surface);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  transition: all 0.25s ease;
}

.demo--handwerk .service-card:hover .service-card__icon {
  background: var(--color-primary);
  color: #fff;
}

.demo--handwerk .service-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.demo--handwerk .service-card>p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

.demo--handwerk .service-card__points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.demo--handwerk .service-card__points li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.93rem;
  color: var(--color-text);
}

.demo--handwerk .service-card__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

.demo--handwerk .service-card__cta {
  margin-top: auto;
  align-self: flex-start;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.demo--handwerk .service-card__cta:hover,
.demo--handwerk .service-card__cta:focus-visible {
  color: #5d3815;
  border-color: currentColor;
}

/* ===== Detail sections (Bad / Heizung / Sanitär) ================= */
.demo--handwerk .detail-section__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

.demo--handwerk .detail-section--flip .detail-section__inner {
  grid-template-columns: 1fr 1.4fr;
}

.demo--handwerk .detail-section--flip .detail-section__copy {
  order: 2;
}

.demo--handwerk .detail-section--flip .detail-section__aside {
  order: 1;
}

.demo--handwerk .detail-section h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  margin: 0 0 1rem;
}

.demo--handwerk .detail-section__copy>p {
  color: var(--color-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 55ch;
}

.demo--handwerk .detail-section__steps {
  margin: 1.5rem 0 1.75rem;
  padding: 0;
  list-style: none;
  counter-reset: detail-step;
  display: grid;
  gap: 0.75rem;
}

.demo--handwerk .detail-section__steps li {
  counter-increment: detail-step;
  position: relative;
  padding: 1rem 1rem 1rem 3.5rem;
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius);
  display: grid;
  gap: 0.2rem;
}

.demo--handwerk .detail-section__steps li::before {
  content: counter(detail-step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.demo--handwerk .detail-section__steps strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--color-text);
}

.demo--handwerk .detail-section__steps span {
  color: var(--color-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.demo--handwerk .detail-section__highlights {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.6rem;
}

.demo--handwerk .detail-section__highlights--cols {
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}

.demo--handwerk .detail-section__highlights li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--color-border-soft);
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  flex-direction: column;
}

.demo--handwerk .detail-section__highlights:not(.detail-section__highlights--cols) li {
  flex-direction: row;
}

.demo--handwerk .detail-section__highlights:not(.detail-section__highlights--cols) li span[aria-hidden] {
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}

.demo--handwerk .detail-section__highlights--cols li strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
}

.demo--handwerk .detail-section__highlights--cols li span {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.demo--handwerk .detail-section__aside {
  display: grid;
  gap: 1.25rem;
  position: sticky;
  top: 88px;
}

.demo--handwerk .detail-tile {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.demo--handwerk .detail-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 12, 6, 0.55) 100%);
}

.demo--handwerk .detail-tile__label {
  position: absolute;
  left: 1.25rem;
  bottom: 1.1rem;
  z-index: 1;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.demo--handwerk .detail-tile--bad {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255, 255, 255, 0.25) 0%, transparent 60%),
    linear-gradient(135deg, #c4a47a 0%, #8a5a2b 60%, #5d3815 100%);
}

.demo--handwerk .detail-tile--heizung {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255, 200, 120, 0.35) 0%, transparent 55%),
    linear-gradient(135deg, #c08a4e 0%, #7a4a1f 70%);
}

.demo--handwerk .detail-tile--sanitaer {
  background:
    radial-gradient(ellipse at 30% 70%, rgba(180, 210, 230, 0.25) 0%, transparent 55%),
    linear-gradient(135deg, #8a7560 0%, #4a3a2a 80%);
}

.demo--handwerk .detail-section__facts {
  list-style: none;
  padding: 1.25rem 1.5rem;
  margin: 0;
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius);
  display: grid;
  gap: 0.6rem;
  font-size: 0.93rem;
}

.demo--handwerk .detail-section__facts li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border-soft);
}

.demo--handwerk .detail-section__facts li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.demo--handwerk .detail-section__facts strong {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

@media (max-width: 860px) {

  .demo--handwerk .detail-section__inner,
  .demo--handwerk .detail-section--flip .detail-section__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .demo--handwerk .detail-section--flip .detail-section__copy {
    order: initial;
  }

  .demo--handwerk .detail-section--flip .detail-section__aside {
    order: initial;
  }

  .demo--handwerk .detail-section__aside {
    position: static;
  }
}

/* ===== Quick inquiry cards ======================================= */
.demo--handwerk .section--quick-inquiry {
  padding: 4rem 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(122, 74, 31, 0.06) 0%, transparent 60%),
    var(--color-bg);
}

.demo--handwerk .quick-inquiry {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.demo--handwerk .quick-inquiry__card {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  width: 100%;
}

.demo--handwerk .quick-inquiry__card:hover,
.demo--handwerk .quick-inquiry__card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--color-primary);
  outline: none;
}

.demo--handwerk .quick-inquiry__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--color-surface);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.demo--handwerk .quick-inquiry__body {
  display: grid;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.demo--handwerk .quick-inquiry__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
}

.demo--handwerk .quick-inquiry__sub {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.demo--handwerk .quick-inquiry__arrow {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.demo--handwerk .quick-inquiry__card:hover .quick-inquiry__arrow {
  transform: translateX(4px);
}

/* ===== Trust grid + stats ======================================== */
.demo--handwerk .trust-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin-bottom: 3rem;
}

.demo--handwerk .trust-card {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.25s ease;
}

.demo--handwerk .trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--color-primary);
}

.demo--handwerk .trust-card__num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.5rem;
}

.demo--handwerk .trust-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.demo--handwerk .trust-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.demo--handwerk .trust-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, #3d2410 0%, #2a1d10 100%);
  color: #f5e7c9;
  box-shadow: var(--shadow);
}

.demo--handwerk .trust-stats>div {
  text-align: center;
  display: grid;
  gap: 0.25rem;
}

.demo--handwerk .trust-stats dt {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin: 0;
}

.demo--handwerk .trust-stats dd {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 231, 201, 0.75);
}

/* ===== References =============================================== */
.demo--handwerk .reference-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  margin-bottom: 1.25rem;
}

.demo--handwerk .reference-card {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.demo--handwerk .reference-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.demo--handwerk .reference-card__visual {
  aspect-ratio: 16 / 9;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.demo--handwerk .reference-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 12, 6, 0.55) 100%);
}

.demo--handwerk .reference-card__tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-text);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo--handwerk .reference-card__visual--bad {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 6px, transparent 6px 18px),
    linear-gradient(135deg, #c4a47a 0%, #8a5a2b 60%, #5d3815 100%);
}

.demo--handwerk .reference-card__visual--heizung {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 200, 120, 0.4) 0%, transparent 50%),
    linear-gradient(135deg, #c08a4e 0%, #6e4520 100%);
}

.demo--handwerk .reference-card__visual--sanitaer {
  background:
    radial-gradient(circle at 30% 70%, rgba(180, 210, 230, 0.3) 0%, transparent 55%),
    linear-gradient(135deg, #8a7560 0%, #4a3a2a 80%);
}

.demo--handwerk .reference-card__visual--vertrag {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 4px, transparent 4px 14px),
    linear-gradient(135deg, #7a4a1f 0%, #2a1d10 100%);
}

.demo--handwerk .reference-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demo--handwerk .reference-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.demo--handwerk .reference-card__story {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.demo--handwerk .reference-card__story dt {
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 0.15rem;
}

.demo--handwerk .reference-card__story dd {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.demo--handwerk .reference-card__cta {
  align-self: flex-start;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-primary);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.demo--handwerk .reference-card__cta:hover {
  color: #5d3815;
  border-color: currentColor;
}

/* ===== Process steps (Ablauf 1–6) ================================ */
.demo--handwerk .process-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  counter-reset: process;
}

.demo--handwerk .process-steps li {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: all 0.25s ease;
}

.demo--handwerk .process-steps li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.demo--handwerk .process-steps__num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.demo--handwerk .process-steps h3 {
  margin: 0;
  font-size: 1.05rem;
}

.demo--handwerk .process-steps p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

/* ===== Inquiry Wizard (Anfrage-Sektion) ========================== */
.demo--handwerk .section--anfrage {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 60%),
    linear-gradient(135deg, #3d2410 0%, #2a1d10 100%);
  color: #f5e7c9;
  padding: 5rem 0;
}

.demo--handwerk .section--anfrage h2 {
  color: #fff;
}

.demo--handwerk .section--anfrage .section-head__sub {
  color: rgba(245, 231, 201, 0.8);
}

.demo--handwerk .wizard {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  color: var(--color-text);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}

.demo--handwerk .wizard__progress {
  margin-bottom: 1.75rem;
}

.demo--handwerk .wizard__steps {
  list-style: none;
  padding: 0;
  margin: 0 0 0.85rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--color-muted);
  font-weight: 500;
}

.demo--handwerk .wizard__steps li {
  position: relative;
  padding-left: 1.6rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.demo--handwerk .wizard__steps li::before {
  content: attr(data-step-label);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.demo--handwerk .wizard__steps li.is-active {
  color: var(--color-primary);
}

.demo--handwerk .wizard__steps li.is-active::before {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.demo--handwerk .wizard__steps li.is-done::before {
  content: "✓";
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.demo--handwerk .wizard__bar {
  width: 100%;
  height: 6px;
  background: var(--color-surface);
  border-radius: 999px;
  overflow: hidden;
}

.demo--handwerk .wizard__bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), #b07a3e);
  border-radius: inherit;
  transition: width 0.3s ease;
}

.demo--handwerk .wizard__live {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

.demo--handwerk .wizard__step {
  border: 0;
  padding: 0;
  margin: 0;
}

/* The HTML `hidden` attribute must override the `.btn { display: inline-flex }`
   rule. Scoped, no !important required. */
.demo--handwerk .wizard__step[hidden],
.demo--handwerk .wizard__nav .btn[hidden],
.demo--handwerk .wizard[hidden],
.demo--handwerk .wizard-success[hidden] {
  display: none;
}

.demo--handwerk .wizard__step-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.4rem;
  padding: 0;
  float: none;
  width: 100%;
}

.demo--handwerk .wizard__step-help {
  margin: 0 0 1.25rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.demo--handwerk .wizard__options {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin: 0 0 0.5rem;
}

.demo--handwerk .wizard__options--narrow {
  grid-template-columns: 1fr;
}

.demo--handwerk .option-card {
  position: relative;
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.1rem 1rem 3rem;
  border: 1.5px solid var(--color-border);
  background: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 64px;
}

.demo--handwerk .option-card:hover {
  border-color: var(--color-primary);
  background: var(--color-surface);
}

.demo--handwerk .option-card input {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.demo--handwerk .option-card__icon {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.25rem;
  opacity: 0.6;
}

.demo--handwerk .option-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  padding-right: 1.75rem;
}

.demo--handwerk .option-card__sub {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.45;
}

.demo--handwerk .option-card:has(input:checked) {
  border-color: var(--color-primary);
  background: var(--color-surface);
  box-shadow: 0 0 0 1px var(--color-primary) inset;
}

.demo--handwerk .option-card:has(input:focus-visible) {
  outline: 3px solid rgba(122, 74, 31, 0.25);
  outline-offset: 2px;
}

.demo--handwerk .option-card.has-error {
  border-color: #b91c1c;
  background: #fef2f2;
}

.demo--handwerk .option-card--accent:has(input:checked) {
  border-color: #b91c1c;
  background: #fff5f5;
  box-shadow: 0 0 0 1px #b91c1c inset;
}

.demo--handwerk .option-card--row {
  padding-right: 1.25rem;
}

.demo--handwerk .option-card--row .option-card__icon {
  display: none;
}

/* Form fields ----------------------------------------------------- */
.demo--handwerk .field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.demo--handwerk .field--narrow {
  max-width: 9rem;
}

.demo--handwerk .field--group {
  border: 0;
  padding: 0;
  margin: 0 0 1rem;
}

.demo--handwerk .field__label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  font-family: var(--font-body);
  padding: 0;
  display: block;
}

.demo--handwerk .field__optional {
  color: var(--color-muted);
  font-weight: 400;
  font-size: 0.85rem;
}

.demo--handwerk .field__hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.demo--handwerk .field input,
.demo--handwerk .field textarea,
.demo--handwerk .wizard input[type="text"],
.demo--handwerk .wizard input[type="email"],
.demo--handwerk .wizard input[type="tel"],
.demo--handwerk .wizard textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--color-border);
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.demo--handwerk .field textarea,
.demo--handwerk .wizard textarea {
  min-height: 8rem;
  resize: vertical;
  line-height: 1.6;
}

.demo--handwerk .field input:focus,
.demo--handwerk .field textarea:focus,
.demo--handwerk .wizard input:focus,
.demo--handwerk .wizard textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(122, 74, 31, 0.18);
}

.demo--handwerk .field.has-error input,
.demo--handwerk .field.has-error textarea {
  border-color: #b91c1c;
  background: #fef2f2;
}

.demo--handwerk .field-row {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.demo--handwerk .field-row>.field {
  margin-bottom: 0;
}

@media (max-width: 540px) {
  .demo--handwerk .field-row {
    grid-template-columns: 1fr;
  }

  .demo--handwerk .field--narrow {
    max-width: none;
  }
}

/* Chip group ------------------------------------------------------ */
.demo--handwerk .chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.demo--handwerk .chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1.5px solid var(--color-border);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.demo--handwerk .chip:hover {
  border-color: var(--color-primary);
}

.demo--handwerk .chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.demo--handwerk .chip:has(input:checked) {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.demo--handwerk .chip:has(input:focus-visible) {
  outline: 3px solid rgba(122, 74, 31, 0.25);
  outline-offset: 2px;
}

/* Consent --------------------------------------------------------- */
.demo--handwerk .wizard__consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--color-text);
  margin: 1.25rem 0 0.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius);
  background: var(--color-surface);
  cursor: pointer;
  line-height: 1.5;
}

.demo--handwerk .wizard__consent input {
  margin-top: 0.2rem;
  accent-color: var(--color-primary);
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.demo--handwerk .wizard__consent.has-error {
  border-color: #b91c1c;
  background: #fef2f2;
}

/* Summary --------------------------------------------------------- */
.demo--handwerk .wizard__summary {
  margin: 0 0 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border-soft);
  display: grid;
  gap: 0.65rem;
}

.demo--handwerk .wizard__summary-row {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1rem;
  align-items: start;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--color-border-soft);
}

.demo--handwerk .wizard__summary-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.demo--handwerk .wizard__summary dt {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin: 0;
}

.demo--handwerk .wizard__summary dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text);
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 540px) {
  .demo--handwerk .wizard__summary-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

.demo--handwerk .wizard__error {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: #b91c1c;
  font-weight: 500;
  min-height: 1.2em;
}

.demo--handwerk .wizard__error:empty {
  margin: 0;
  min-height: 0;
}

/* Navigation ------------------------------------------------------ */
.demo--handwerk .wizard__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border-soft);
  flex-wrap: wrap;
}

.demo--handwerk .wizard__nav .btn {
  min-width: 9rem;
}

.demo--handwerk .wizard__nav [data-wizard-back] {
  margin-right: auto;
}

.demo--handwerk .wizard__nav [data-wizard-next],
.demo--handwerk .wizard__nav [data-wizard-submit] {
  margin-left: auto;
}

/* Success state --------------------------------------------------- */
.demo--handwerk .wizard-success {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  color: var(--color-text);
  border-radius: var(--radius-lg);
  padding: 3rem 2.25rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.demo--handwerk .wizard-success__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 14px 28px rgba(122, 74, 31, 0.35);
}

.demo--handwerk .wizard-success h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.demo--handwerk .wizard-success p {
  color: var(--color-muted);
  max-width: 50ch;
  margin: 0 auto 1.5rem;
  line-height: 1.65;
}

@media (max-width: 540px) {
  .demo--handwerk .wizard {
    padding: 1.5rem;
    border-radius: var(--radius);
  }

  .demo--handwerk .wizard__steps {
    grid-template-columns: repeat(6, 1fr);
    font-size: 0;
    /* Hide labels on tiny screens — keep only the numbered dots. */
    gap: 0.3rem;
  }

  .demo--handwerk .wizard__steps li {
    padding-left: 0;
    height: 1.2rem;
  }

  .demo--handwerk .wizard__steps li::before {
    position: static;
    transform: none;
    margin: 0 auto;
  }

  .demo--handwerk .wizard__nav .btn {
    flex: 1;
    min-width: 0;
    padding: 0.85rem 1rem;
  }
}

/* ===== FAQ ====================================================== */
.demo--handwerk .faq {
  display: grid;
  gap: 0.75rem;
  max-width: 56rem;
  margin: 0 auto;
}

.demo--handwerk .faq__item {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.demo--handwerk .faq__item[open] {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.demo--handwerk .faq__q {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 3rem 1.1rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
  position: relative;
  user-select: none;
}

.demo--handwerk .faq__q::-webkit-details-marker {
  display: none;
}

.demo--handwerk .faq__q::after {
  content: "";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}

.demo--handwerk .faq__item[open] .faq__q::after {
  transform: translateY(-30%) rotate(-135deg);
}

.demo--handwerk .faq__q:focus-visible {
  outline: 3px solid rgba(122, 74, 31, 0.25);
  outline-offset: -3px;
}

.demo--handwerk .faq__a {
  padding: 0 1.4rem 1.25rem;
  color: var(--color-muted);
  line-height: 1.65;
}

.demo--handwerk .faq__a p {
  margin: 0;
}

/* ===== Region / lokale SEO ======================================= */
.demo--handwerk .region {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.demo--handwerk .region__places {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
}

.demo--handwerk .region__places li {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.2s ease;
}

.demo--handwerk .region__places li:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.demo--handwerk .region__places li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

.demo--handwerk .region__note {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.demo--handwerk .region__note h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.demo--handwerk .region__note p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.65;
}

@media (max-width: 860px) {
  .demo--handwerk .region {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ===== Contact block ============================================ */
.demo--handwerk .contact-block {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 60%),
    linear-gradient(135deg, #3d2410 0%, #2a1d10 100%);
  color: #f5e7c9;
  border-radius: var(--radius-lg);
  padding: 3rem 2.75rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
  box-shadow: var(--shadow-lg);
}

.demo--handwerk .contact-block h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 0 0 0.85rem;
  max-width: 22ch;
}

.demo--handwerk .contact-block__lead {
  color: rgba(245, 231, 201, 0.85);
  font-size: 1.02rem;
  margin: 0 0 1.5rem;
}

.demo--handwerk .contact-block__lead a {
  color: #fff;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.demo--handwerk .contact-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.demo--handwerk .contact-block__notice {
  font-size: 0.9rem;
  color: rgba(245, 231, 201, 0.75);
  margin: 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--color-primary);
  background: rgba(245, 231, 201, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.demo--handwerk .contact-block__notice strong {
  color: #fff;
}

.demo--handwerk .contact-block__panels {
  display: grid;
  gap: 0.85rem;
}

.demo--handwerk .contact-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 231, 201, 0.15);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: #f5e7c9;
  font-style: normal;
  line-height: 1.65;
}

.demo--handwerk .contact-panel h3 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.demo--handwerk .contact-panel p {
  margin: 0 0 0.4rem;
}

.demo--handwerk .contact-panel a {
  color: #f5e7c9;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.demo--handwerk .contact-panel a:hover {
  color: #fff;
}

.demo--handwerk .contact-panel__hours {
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.demo--handwerk .contact-panel__hours>div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.5rem;
  font-size: 0.92rem;
}

.demo--handwerk .contact-panel__hours dt {
  color: rgba(245, 231, 201, 0.75);
  font-weight: 600;
  margin: 0;
}

.demo--handwerk .contact-panel__hours dd {
  margin: 0;
  color: #fff;
}

.demo--handwerk .contact-panel--map {
  padding: 0.85rem 0.85rem 1rem;
}

.demo--handwerk .contact-panel--map .muted {
  margin: 0.5rem 0.5rem 0;
  color: rgba(245, 231, 201, 0.6);
  font-size: 0.8rem;
}

.demo--handwerk .contact-map {
  position: relative;
  border-radius: var(--radius-xs);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, #2a1d10 0%, #3d2410 100%);
}

.demo--handwerk .contact-map__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 231, 201, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 231, 201, 0.06) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px;
}

.demo--handwerk .contact-map__pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%);
  color: var(--color-primary);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
}

.demo--handwerk .contact-map__label {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.78rem;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .demo--handwerk .contact-block {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    gap: 2rem;
  }
}

/* ===== Showroom-only "so kommt die Anfrage an" =================== */
.demo--handwerk .section--showroom-mock {
  padding: 4.5rem 0 5rem;
  background:
    linear-gradient(0deg, var(--color-surface-deep) 0%, var(--color-bg) 100%);
}

.demo--handwerk .showroom-explainer {
  max-width: 50rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.demo--handwerk .showroom-explainer h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin: 0 0 0.75rem;
}

.demo--handwerk .showroom-explainer p {
  color: var(--color-muted);
  margin: 0 auto;
  max-width: 55ch;
  line-height: 1.65;
}

.demo--handwerk .showroom-explainer__pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(122, 74, 31, 0.1);
  border: 1px dashed var(--color-primary);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.demo--handwerk .showroom-explainer__foot {
  text-align: center;
  margin: 1.25rem auto 0;
  max-width: 50rem;
}

.demo--handwerk .admin-card {
  max-width: 38rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  font-family: var(--font-body);
}

.demo--handwerk .admin-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.demo--handwerk .admin-card__badge {
  background: var(--color-primary);
  color: #fff;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo--handwerk .admin-card__time {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.demo--handwerk .admin-card__title {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-family: var(--font-display);
}

.demo--handwerk .admin-card__meta {
  margin: 0 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.75rem 1.25rem;
  padding: 1rem;
  background: var(--color-surface);
  border-radius: var(--radius);
}

.demo--handwerk .admin-card__meta>div {
  display: grid;
  gap: 0.15rem;
}

.demo--handwerk .admin-card__meta dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  font-weight: 600;
  margin: 0;
}

.demo--handwerk .admin-card__meta dd {
  margin: 0;
  font-size: 0.94rem;
  color: var(--color-text);
  font-weight: 500;
}

.demo--handwerk .admin-card__urgency,
.demo--handwerk .admin-card__status {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
}

.demo--handwerk .admin-card__urgency {
  background: #fef3c7;
  color: #92400e;
}

.demo--handwerk .admin-card__status {
  background: var(--color-primary);
  color: #fff;
}

.demo--handwerk .admin-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.demo--handwerk .admin-card__actions .btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.demo--handwerk .admin-card__actions .btn[disabled]:hover {
  transform: none;
}

/* ===== Sticky CTA bar ============================================ */
.demo--handwerk .sticky-cta {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem;
  background: rgba(42, 29, 16, 0.95);
  color: #fff;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateY(120%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo--handwerk .sticky-cta.is-visible {
  transform: translateY(0);
}

.demo--handwerk .sticky-cta__item {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 0.5rem;
  border-radius: var(--radius-pill);
  color: #f5e7c9;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 44px;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.demo--handwerk .sticky-cta__item:hover,
.demo--handwerk .sticky-cta__item:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.demo--handwerk .sticky-cta__item--primary {
  background: var(--color-primary);
  color: #fff;
  flex: 1.4;
}

.demo--handwerk .sticky-cta__item--primary:hover,
.demo--handwerk .sticky-cta__item--primary:focus-visible {
  background: #5d3815;
  color: #fff;
}

.demo--handwerk .sticky-cta__icon {
  display: inline-grid;
  place-items: center;
}

@media (max-width: 720px) {
  .demo--handwerk .sticky-cta {
    display: flex;
  }

  .demo--handwerk .sticky-cta__label {
    font-size: 0.85rem;
  }
}

/* On desktop, offer a quieter floating CTA on the side instead. */
@media (min-width: 1100px) {
  .demo--handwerk .sticky-cta {
    display: flex;
    left: auto;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 18rem;
    flex-direction: row;
    border-radius: var(--radius);
    padding: 0.5rem;
  }

  .demo--handwerk .sticky-cta__item {
    font-size: 0.85rem;
    padding: 0.6rem 0.5rem;
  }
}

/* ===== Showroom flag (tiny demo hint) ============================ */
.demo--handwerk .showroom-flag {
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 95;
  background: rgba(42, 29, 16, 0.9);
  color: #f5e7c9;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem 0.35rem 0.55rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.demo--handwerk .showroom-flag__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(122, 74, 31, 0.25);
}

@media (max-width: 720px) {
  .demo--handwerk .showroom-flag {
    display: none;
  }
}