/* c. Flasche – die Sofamacher | Startseite Konfigurator
   Design-Tokens in :root (Tailwind-kompatible Namen). Schrift: Poppins (lokal, siehe assets/fonts). */

@font-face { font-family: "Poppins"; font-weight: 300; font-style: normal; font-display: swap;
  src: local("Poppins Light"), local("Poppins-Light"), url("../fonts/poppins-300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap;
  src: local("Poppins Regular"), local("Poppins-Regular"), url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap;
  src: local("Poppins Medium"), local("Poppins-Medium"), url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap;
  src: local("Poppins SemiBold"), local("Poppins-SemiBold"), url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap;
  src: local("Poppins Bold"), local("Poppins-Bold"), url("../fonts/poppins-700.woff2") format("woff2"); }

:root {
  /* Farben (aus dem Design abgenommen, bitte gegen Figma prüfen) */
  --color-primary: #7a5c35;
  --color-primary-dark: #6a4f2d;
  --color-accent: #910048;
  --color-bg: #f7f7f7;
  --color-surface: #dedede;
  --color-band: #b8b5ae;
  --color-text: #2a2a2a;
  --color-muted: #555;
  --color-border: #bdbdbd;

  /* Typografie */
  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-2xl: clamp(1.75rem, 3.2vw, 2.5rem);
  --text-3xl: clamp(2rem, 4vw, 3rem);

  /* Abstände */
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  --radius-sm: 0.4rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --shadow-header: 0 2px 10px rgba(0, 0, 0, 0.18);
  --container-max: 82rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: var(--space-2) var(--space-4); z-index: 100; }
.skip-link:focus { left: var(--space-4); top: var(--space-4); }

:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font: inherit; font-size: var(--text-sm); font-weight: 400;
  padding: 0.55rem 1.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-primary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-outline { background: #fff; color: var(--color-text); border-color: var(--color-border); }
.btn-outline:hover { border-color: var(--color-text); }


/* Header */
.site-header { background: var(--color-bg); box-shadow: var(--shadow-header); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-block: 0.7rem; }
.logo img { height: 2.9rem; width: auto; }
.header-actions { display: flex; gap: var(--space-3); }

/* Hero */
.hero { padding-block: var(--space-16) var(--space-8); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-12); align-items: center; }
.hero-media { border-radius: var(--radius-md); overflow: hidden; }
.hero-media img { width: 100%; aspect-ratio: 1040 / 815; object-fit: cover; }
.hero h1 { font-size: var(--text-3xl); margin-bottom: var(--space-6); }
.hero .lead { font-size: var(--text-lg); font-weight: 400; margin-bottom: var(--space-6); }
.checklist { display: grid; gap: 0.55rem; margin-bottom: var(--space-8); }
.checklist li { display: flex; gap: 0.7rem; align-items: center; font-weight: 300; }
.checklist svg { flex: none; width: 1.1rem; height: 1.1rem; }
.hero-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* USP-Karten */
.usps { padding-bottom: var(--space-16); }
.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
.usp-card { display: flex; align-items: center; justify-content: center; gap: var(--space-6); background: var(--color-surface); border-radius: var(--radius-md); padding: var(--space-8) var(--space-6); font-weight: 300; font-size: var(--text-lg); line-height: 1.3; }
.usp-card svg { flex: none; width: 3.2rem; height: 3.2rem; }

/* Grundmodelle */
.models { padding-block: var(--space-16) var(--space-24); overflow: hidden; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-8); }
.section-head h2 { font-size: var(--text-3xl); }
.slider-nav { display: flex; gap: var(--space-3); }
.slider-nav button { background: none; border: 0; padding: 0.25rem; cursor: pointer; color: var(--color-text); }
.slider-nav svg { width: 2rem; height: 2rem; }
.slider-nav button:disabled { opacity: 0.3; cursor: default; }

.model-track {
  display: flex; gap: var(--space-8);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--space-6), calc((100vw - var(--container-max)) / 2 + var(--space-6)));
  scroll-padding-inline: max(var(--space-6), calc((100vw - var(--container-max)) / 2 + var(--space-6)));
}
.model-track::-webkit-scrollbar { display: none; }
.model-card {
  position: relative; flex: 0 0 min(25.5rem, 80vw); aspect-ratio: 405 / 380;
  border-radius: var(--radius-md); overflow: hidden; scroll-snap-align: start;
}
.model-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.model-card:hover img { transform: scale(1.03); }
.model-card h3 { position: absolute; top: 1.6rem; left: 1.9rem; color: #fff; font-size: 2.25rem; text-shadow: 0 1px 8px rgba(0,0,0,0.15); }
.model-card .btn-choose {
  position: absolute; right: 2.1rem; bottom: 1.5rem;
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  font: inherit; font-size: var(--text-sm); padding: 0.35rem 1rem; color: var(--color-text);
}
.model-card .btn-choose svg { width: 0.7rem; height: 0.7rem; }

/* So entsteht dein Sofa */
.process { background: var(--color-band); padding-block: var(--space-24); }
.process h2 { font-size: var(--text-3xl); text-align: center; margin-bottom: var(--space-16); }
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: var(--space-4); }
.step { text-align: center; }
.step-icon { width: 7.9rem; height: 7.9rem; margin: 0 auto var(--space-8); background: var(--color-surface); border-radius: var(--radius-md); display: grid; place-items: center; }
.step-icon svg { width: 4.2rem; height: 4.2rem; }
.step h3 { font-size: var(--text-lg); margin-bottom: 0.6rem; }
.step p { font-size: var(--text-sm); font-weight: 300; max-width: 17rem; margin-inline: auto; }
.step-arrow { align-self: start; margin-top: 3rem; }
.step-arrow svg { width: 2rem; height: 2rem; }

/* Der Unterschied */
.difference { padding-block: var(--space-24); }
.difference-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: var(--space-12); align-items: center; }
.difference-text { padding-inline: var(--space-8); }
.eyebrow { font-size: var(--text-xs); text-transform: uppercase; font-weight: 300; margin-bottom: var(--space-2); }
.difference h2 { font-size: var(--text-3xl); margin-bottom: var(--space-6); }
.difference-text p { font-size: var(--text-sm); font-weight: 300; margin-bottom: var(--space-6); }
.guarantee { display: flex; align-items: center; gap: var(--space-6); background: var(--color-surface); border-radius: var(--radius-md); padding: var(--space-8) var(--space-6); margin-top: var(--space-8); font-weight: 300; }
.guarantee svg { flex: none; width: 2.8rem; height: 2.8rem; }

/* Vorher/Nachher-Vergleich */
.compare { --pos: 50%; position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1112 / 858; user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .compare-top { clip-path: inset(0 0 0 var(--pos)); }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: var(--color-accent); transform: translateX(-50%); pointer-events: none; }
.compare-handle { position: absolute; top: 12%; left: var(--pos); transform: translateX(-50%); display: flex; gap: 0.5rem; pointer-events: none; color: var(--color-text); }
.compare-handle svg { width: 2rem; height: 2rem; }
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }

/* Responsive */
@media (max-width: 62rem) {
  .hero-grid, .difference-grid { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .difference-text { padding-inline: 0; }
  .steps { grid-template-columns: 1fr; gap: var(--space-12); }
  .step-arrow { display: none; }
}
@media (max-width: 40rem) {
  .hero { padding-top: var(--space-8); }
  .process, .difference { padding-block: var(--space-16); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .model-card img { transition: none; }
}

/* ===== Erweiterungen v2 ===== */

/* Preis im Hero */
.hero .price { font-size: var(--text-lg); font-weight: 300; margin: -0.75rem 0 var(--space-6); }
.hero .price strong { font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; }

/* Lesbarkeit: Verlauf über Modellbildern */
.model-card::before { content: ""; position: absolute; inset: 0 0 55% 0; background: linear-gradient(180deg, rgba(0,0,0,0.15), transparent); z-index: 1; pointer-events: none; }
.model-card h3, .model-card .btn-choose { z-index: 2; }

/* Touch-Ziele für Slider-Pfeile */
.slider-nav button { min-width: 2.75rem; min-height: 2.75rem; display: grid; place-items: center; }

/* Weitere Modelle */
.more-models-wrap { margin-top: var(--space-8); display: flex; flex-direction: column; align-items: center; gap: var(--space-8); }
.model-grid { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
.model-grid[hidden] { display: none; }
.model-grid .model-card { flex: none; width: 100%; }

/* Vergleichsslider: Beschriftung */
.compare-label { position: absolute; bottom: 1rem; z-index: 2; background: rgba(255,255,255,0.92); color: var(--color-text); font-size: var(--text-xs); font-weight: 600; padding: 0.3rem 0.8rem; border-radius: 999px; pointer-events: none; }
.compare-label-left { left: 1rem; }
.compare-label-right { right: 1rem; }

/* Bewertungen */
.reviews { background: #fff; padding-block: var(--space-24); }
.reviews h2 { font-size: var(--text-3xl); text-align: center; margin-bottom: var(--space-12); }
.review-meta { display: grid; grid-template-columns: auto 1fr; column-gap: 0.8rem; align-items: center; font-size: var(--text-xs); font-weight: 300; line-height: 1.4; }

/* Showroom */
.showroom { background: var(--color-primary); color: #fff; padding-block: var(--space-24); }
.showroom-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-12); align-items: center; }
.showroom h2 { font-size: var(--text-3xl); margin-bottom: var(--space-6); }
.showroom .eyebrow { opacity: 0.85; }
.showroom p { font-weight: 300; max-width: 36rem; }
.showroom-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.btn-light { background: #fff; color: var(--color-primary-dark); border-color: #fff; }
.btn-light:hover { background: var(--color-bg); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-ghost:hover { border-color: #fff; }
.showroom-info { margin: 0; background: rgba(255,255,255,0.1); border-radius: var(--radius-md); padding: var(--space-8); display: grid; gap: 0.2rem; }
.showroom-info dt { font-size: var(--text-xs); text-transform: uppercase; opacity: 0.8; margin-top: var(--space-4); }
.showroom-info dt:first-child { margin-top: 0; }
.showroom-info dd { margin: 0; font-weight: 300; }
.showroom-info a:hover { text-decoration: underline; }

/* Footer */
.site-footer { background: #2a2a2a; color: #ddd; font-size: var(--text-sm); padding-block: var(--space-6); }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); }
.site-footer nav { display: flex; gap: var(--space-6); }
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 62rem) {
  .showroom-grid { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 40rem) {
  .model-grid { grid-template-columns: 1fr; }
  .reviews, .showroom { padding-block: var(--space-16); }
}

/* Icons im Ablauf */
.step-icon img { width: 4.2rem; height: 4.2rem; object-fit: contain; }

/* Kundenfotos */
.photo-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
.photo-card { background: var(--color-bg); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; }
.photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-card img.pos-left { object-position: 35% center; }
.photo-body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-6); flex: 1; justify-content: space-between; }
.photo-body blockquote { margin: 0; font-size: var(--text-base); font-weight: 500; line-height: 1.4; }
@media (max-width: 62rem) { .photo-reviews { grid-template-columns: 1fr; } }
.photo-body blockquote::before { content: "„"; }
.photo-body blockquote::after { content: "“"; }


/* Bewertungen v2 */
.reviews h2 { margin-bottom: var(--space-4); }
.rating-line { text-align: center; font-weight: 300; margin-bottom: var(--space-12); }
.rating-line strong { font-weight: 700; }
.rating-line a { text-decoration: underline; }
.stars { color: #c28a1e; letter-spacing: 0.1rem; }
.review-meta { display: block; }
.reviews-cta { text-align: center; margin-top: var(--space-12); }
@media (max-width: 62rem) {
}

.card-stars { color: #c28a1e; font-size: 1.05rem; letter-spacing: 0.12rem; line-height: 1; margin: 0; }
.photo-body .card-stars { margin-bottom: calc(var(--space-6) * -0.5); }

/* Icons USP-Karten */
.usp-card img { flex: none; width: 3.2rem; height: 3.2rem; object-fit: contain; }

/* Showroom-Galerie */
@media (max-width: 62rem) {
}


/* Sektion "Erleb dein Sofa live" */
.live { padding-block: var(--space-24) var(--space-16); }
.live h2 { font-size: var(--text-3xl); text-align: center; margin-bottom: var(--space-4); }
.live-lead { text-align: center; font-weight: 300; max-width: 38rem; margin: 0 auto var(--space-12); }
.live-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.live-gallery li { border-radius: var(--radius-md); overflow: hidden; }
.live-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.4s; }
.live-gallery li:hover img { transform: scale(1.03); }
@media (max-width: 62rem) {
  .live-gallery, .photo-reviews { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: var(--space-4); margin-inline: calc(var(--space-6) * -1); padding-inline: var(--space-6); }
  .live-gallery::-webkit-scrollbar, .photo-reviews::-webkit-scrollbar { display: none; }
  .live-gallery li { flex: 0 0 min(20rem, 80vw); scroll-snap-align: start; }
  .photo-reviews .photo-card { flex: 0 0 min(20rem, 80vw); scroll-snap-align: start; }
}
@media (max-width: 40rem) { .live { padding-block: var(--space-16) var(--space-8); } }
@media (prefers-reduced-motion: reduce) { .live-gallery img { transition: none; } }

/* Aktionsleiste (optional, siehe Kommentar in index.html) */
.promo { position: relative; background: var(--color-accent); color: #fff; font-size: var(--text-sm); text-align: center; padding: 0.55rem 3rem; }
.promo[hidden] { display: none; }
.promo p { margin: 0; }
.promo a { margin-left: 0.6rem; font-weight: 600; text-decoration: underline; white-space: nowrap; }
.promo a:hover { text-decoration: none; }
.promo-close { position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%); width: 2.5rem; height: 2.5rem; background: none; border: 0; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }


/* Header: Telefon */
.header-actions { align-items: center; }
.header-phone { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--text-sm); font-weight: 500; margin-right: var(--space-3); }
.header-phone svg { width: 1.25rem; height: 1.25rem; }
.header-phone:hover { text-decoration: underline; }
@media (max-width: 40rem) { .header-phone span { display: none; } .header-phone { margin-right: 0; padding: 0.5rem; } }

/* Route-Link im Kontaktblock */
.route-link { display: inline-block; margin-top: 0.4rem; text-decoration: underline; }
.route-link:hover { text-decoration: none; }

/* USP-Karten: Zusatzzeile */
.usp-card p small { display: block; margin-top: 0.35rem; font-size: var(--text-sm); font-weight: 400; opacity: 0.8; }

/* Auszeichnungen */
.seals { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-6); }
.seals li { display: flex; flex-direction: column; gap: 0.15rem; border: 1.5px solid var(--color-text); border-radius: var(--radius-md); padding: 0.7rem 1.1rem; }
.seals strong { font-size: var(--text-sm); font-weight: 600; letter-spacing: -0.01em; }
.seals span { font-size: var(--text-xs); font-weight: 300; }

/* FAQ */
.faq { padding-block: var(--space-24); }
.faq h2 { font-size: var(--text-3xl); text-align: center; margin-bottom: var(--space-12); }
.faq-list { max-width: 48rem; margin-inline: auto; border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-6) 0; font-weight: 500; font-size: var(--text-lg); letter-spacing: -0.02em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-size: 1.6rem; font-weight: 300; line-height: 1; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 var(--space-8) var(--space-6) 0; font-weight: 300; }
@media (max-width: 40rem) { .faq { padding-block: var(--space-16); } .faq-item summary { font-size: var(--text-base); } }
@media (prefers-reduced-motion: reduce) { .faq-item summary::after { transition: none; } }

/* USP-Karten: ruhiger Umbruch */
.usp-card { justify-content: flex-start; }
.usp-card p { flex: 1; min-width: 0; font-size: 1.125rem; text-wrap: balance; }
.usp-card p small { text-wrap: balance; }

/* Garantie-Karte: gleicher Stil wie die Vorteils-Karten oben */
.guarantee.usp-card { margin-top: var(--space-8); font-size: var(--text-lg); line-height: 1.3; }
.guarantee.usp-card svg { flex: none; width: 3.2rem; height: 3.2rem; color: var(--color-text); }

/* Ablauf: Ränder und Umbruch */
.step { padding-inline: var(--space-4); }
.step h3, .step p { text-wrap: balance; }
.guarantee.usp-card { padding: var(--space-8) var(--space-6); }

/* Garantie-Karte: Absatz-Abstand der Textspalte nicht erben */
.guarantee.usp-card p { margin: 0; }

/* Siegel mit Logo */
.seals li { flex-direction: row; align-items: center; gap: 0.8rem; }
.seals li div { display: flex; flex-direction: column; gap: 0.15rem; }
.seals li img { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; }
.seals li img { box-sizing: border-box; background: #fff; border: 3px solid #195aa4; }
.seals li img.seal-own { border: 0; }

/* Siegel nebeneinander */
.seals { flex-wrap: nowrap; gap: var(--space-3); }
.seals li { flex: 1 1 0; min-width: 0; gap: 0.6rem; padding: 0.6rem 0.8rem; }
.seals li img { width: 2.3rem; height: 2.3rem; }
.seals strong { font-size: 0.8125rem; line-height: 1.25; text-wrap: balance; }
.seals span { text-wrap: balance; }
@media (max-width: 22rem) { .seals { flex-wrap: wrap; } .seals li { flex: 1 1 100%; } }

/* Garantie-Icon etwas größer */
.guarantee.usp-card img { width: 3.9rem; height: 3.9rem; margin-left: -0.35rem; margin-right: -0.2rem; }


/* ===== Hauptmenü ===== */
.site-header .container { gap: var(--space-8); }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: var(--space-8); }
.site-nav a:not(.btn) { font-size: var(--text-sm); font-weight: 500; padding-block: 0.4rem; border-bottom: 2px solid transparent; transition: border-color 0.2s; }
.site-nav a:not(.btn):hover { border-bottom-color: var(--color-primary); }
.nav-cta { display: none; }
.header-actions { margin-left: 0; }
.nav-toggle { display: none; width: 2.75rem; height: 2.75rem; background: none; border: 0; padding: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 1.4rem; height: 2px; background: var(--color-text); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 62rem) {
  .site-header .container { gap: var(--space-4); }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .header-actions { margin-left: auto; display: flex; align-items: center; gap: var(--space-2); }
  .header-phone { margin-right: 0; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--color-bg); box-shadow: 0 8px 12px rgba(0,0,0,0.12); padding: var(--space-4) var(--space-6) var(--space-6); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--color-border); }
  .site-nav a:not(.btn) { display: block; padding: 0.9rem 0; font-size: var(--text-base); border-bottom: 0; }
  .site-nav .nav-cta { display: block; border-bottom: 0; padding-top: var(--space-4); order: -1; }
  .site-nav .nav-cta .btn { width: 100%; padding-block: 0.8rem; }
}
@media (max-width: 40rem) {
  .site-header .container { flex-direction: row; flex-wrap: nowrap; }
  .logo img { height: 2.4rem; }
}
@media (prefers-reduced-motion: reduce) { .nav-toggle span, .site-nav a:not(.btn) { transition: none; } }

/* Footer: mehrere Links */
.site-footer nav { flex-wrap: wrap; gap: var(--space-3) var(--space-6); }

/* ===== Über uns ===== */
.about-hero { padding-block: var(--space-24) var(--space-12); }
.about-hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); max-width: 18ch; margin-bottom: var(--space-6); text-wrap: balance; }
.about-hero .eyebrow { margin-bottom: var(--space-4); }
.about-hero .lead { font-size: var(--text-lg); font-weight: 300; max-width: 40rem; margin-bottom: var(--space-12); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.facts li { background: var(--color-surface); border-radius: var(--radius-md); padding: var(--space-8) var(--space-6); display: flex; flex-direction: column; gap: 0.4rem; }
.facts strong { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
.facts span { font-size: var(--text-sm); font-weight: 300; }

.story { padding-block: var(--space-16) var(--space-24); }
.story-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--space-16); align-items: start; }
.story-head { position: sticky; top: 7rem; }
.story-head h2 { font-size: var(--text-3xl); margin-bottom: var(--space-6); }
.story-head p { font-weight: 300; }
.timeline { border-left: 2px solid var(--color-border); display: grid; gap: var(--space-8); padding-left: var(--space-8); }
.timeline li { position: relative; display: grid; grid-template-columns: 5.5rem 1fr; gap: var(--space-4); }
.timeline li::before { content: ""; position: absolute; left: calc(var(--space-8) * -1 - 7px); top: 0.55rem; width: 12px; height: 12px; border-radius: 50%; background: var(--color-primary); }
.timeline .year { font-size: var(--text-lg); font-weight: 700; letter-spacing: -0.03em; color: var(--color-primary); }
.timeline p { font-weight: 300; }

.craft { background: var(--color-band); padding-block: var(--space-24); }
.craft-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-16); align-items: center; }
.craft-media { border-radius: var(--radius-md); overflow: hidden; }
.craft-media img { width: 100%; aspect-ratio: 1112 / 858; object-fit: cover; }
.craft-text h2 { font-size: var(--text-3xl); margin-bottom: var(--space-8); }
.craft-list { display: grid; gap: var(--space-6); }
.craft-list h3 { font-size: var(--text-lg); margin-bottom: 0.4rem; }
.craft-list p { font-weight: 300; font-size: var(--text-sm); }

.about-cta { padding-block: var(--space-24); }
.about-cta .showroom-grid { grid-template-columns: 1fr; }

@media (max-width: 62rem) {
  .facts { grid-template-columns: 1fr 1fr; }
  .story-grid, .craft-grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .story-head { position: static; }
}
@media (max-width: 40rem) {
  .about-hero { padding-block: var(--space-12) var(--space-8); }
  .timeline li { grid-template-columns: 1fr; gap: 0.2rem; }
  .craft, .about-cta { padding-block: var(--space-16); }
}
.site-nav a[aria-current="page"] { border-bottom-color: var(--color-primary); }

/* Historisches Foto */
.about-photo { padding-block: var(--space-4) var(--space-8); }
.about-photo figure { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 1130 / 350; object-fit: cover; border-radius: var(--radius-md); }
.about-photo figcaption { margin-top: var(--space-3); font-size: var(--text-xs); font-weight: 300; text-align: right; }
@media (max-width: 40rem) { .about-photo img { aspect-ratio: 2 / 1; } .about-photo figcaption { text-align: left; } }

/* Team */
.team { padding-block: var(--space-24) var(--space-16); }
.team h2 { font-size: var(--text-3xl); text-align: center; margin-bottom: var(--space-4); }
.team-lead { text-align: center; font-weight: 300; max-width: 40rem; margin: 0 auto var(--space-12); }
.team figure { margin: 0; }
.team img { width: 100%; aspect-ratio: 1130 / 350; object-fit: cover; border-radius: var(--radius-md); }
.team figcaption { margin-top: var(--space-3); font-size: var(--text-xs); font-weight: 300; text-align: right; }
@media (max-width: 40rem) { .team { padding-block: var(--space-16) var(--space-8); } .team img { aspect-ratio: 2 / 1; } .team figcaption { text-align: left; } }

/* Startseite: Button unter den Showroom-Fotos */
.live-cta { text-align: center; margin-top: var(--space-8); }

/* ===== Showroom-Seite ===== */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.info-cards li { background: var(--color-surface); border-radius: var(--radius-md); padding: var(--space-8) var(--space-6); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.info-cards h2 { font-size: var(--text-lg); letter-spacing: -0.02em; }
.info-cards p { font-weight: 300; flex: 1; }
.info-cards a:not(.btn) { text-decoration: underline; }
.info-cards a:not(.btn):hover { text-decoration: none; }

.expect { padding-block: var(--space-16) var(--space-8); }
.expect h2 { font-size: var(--text-3xl); text-align: center; margin-bottom: var(--space-12); }
.expect-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.expect-grid li { border-top: 2px solid var(--color-primary); padding-top: var(--space-6); }
.expect-grid h3 { font-size: var(--text-lg); margin-bottom: 0.5rem; }
.expect-grid p { font-weight: 300; font-size: var(--text-sm); }
.expect-grid a { text-decoration: underline; }
.expect-grid a:hover { text-decoration: none; }

.sr-gallery-wrap { padding-block: var(--space-12) var(--space-16); }
.sr-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-4); }
.sr-gallery li { grid-column: span 2; border-radius: var(--radius-md); overflow: hidden; }
.sr-gallery li:nth-child(-n+2) { grid-column: span 3; }
.sr-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.4s; }
.sr-gallery li:hover img { transform: scale(1.03); }

.directions { background: var(--color-band); padding-block: var(--space-24); }
.directions-grid { display: grid; grid-template-columns: 1fr; }
.directions h2 { font-size: var(--text-3xl); margin-bottom: var(--space-6); }
.directions p { font-weight: 300; max-width: 40rem; margin-bottom: var(--space-8); }
.directions-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-bottom: var(--space-8); }
.directions-list li { background: var(--color-surface); border-radius: var(--radius-md); padding: var(--space-6); display: flex; flex-direction: column; gap: 0.4rem; }
.directions-list strong { font-weight: 600; letter-spacing: -0.01em; }
.directions-list span { font-size: var(--text-sm); font-weight: 300; }

@media (max-width: 62rem) {
  .info-cards, .directions-list { grid-template-columns: 1fr; }
  .expect-grid { grid-template-columns: 1fr 1fr; }
  .sr-gallery { grid-template-columns: 1fr 1fr; }
  .sr-gallery li, .sr-gallery li:nth-child(-n+2) { grid-column: span 1; }
  .sr-gallery li:first-child { grid-column: span 2; }
}
@media (max-width: 40rem) {
  .expect-grid { grid-template-columns: 1fr; }
  .directions { padding-block: var(--space-16); }
}
@media (prefers-reduced-motion: reduce) { .sr-gallery img { transition: none; } }

/* Beratungsfoto im Showroom */
.expect-photo { margin: var(--space-12) 0 0; }
.expect-photo img { width: 100%; aspect-ratio: 1130 / 350; object-fit: cover; border-radius: var(--radius-md); }
.expect-photo figcaption { margin-top: var(--space-3); font-size: var(--text-xs); font-weight: 300; text-align: right; }
@media (max-width: 40rem) { .expect-photo img { aspect-ratio: 2 / 1; object-position: 55% center; } .expect-photo figcaption { text-align: left; } }

/* Produktion */
.production { padding-block: var(--space-24) var(--space-8); }
.production h2 { font-size: var(--text-3xl); text-align: center; margin-bottom: var(--space-4); text-wrap: balance; }
.production-lead { text-align: center; font-weight: 300; max-width: 40rem; margin: 0 auto var(--space-12); }
.step-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8) var(--space-6); }
.step-card figure { margin: 0; }
.step-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-md); }
.step-card figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: 0.8rem; row-gap: 0.15rem; margin-top: var(--space-3); align-items: baseline; }
.step-no { grid-row: span 2; font-size: var(--text-sm); font-weight: 700; color: var(--color-primary); letter-spacing: -0.02em; }
.step-card strong { font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.02em; }
.step-card figcaption span:last-child { font-size: var(--text-sm); font-weight: 300; }
@media (max-width: 62rem) {
  .step-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: var(--space-4); margin-inline: calc(var(--space-6) * -1); padding-inline: var(--space-6); }
  .step-cards::-webkit-scrollbar { display: none; }
  .step-card { flex: 0 0 min(22rem, 82vw); scroll-snap-align: start; }
}
@media (max-width: 40rem) { .production { padding-block: var(--space-16) var(--space-4); } }
.step-cards, .timeline { list-style: none; padding-left: 0; margin: 0; }
.timeline { padding-left: var(--space-8); }

.step-card.is-wide { grid-column: span 2; }
.step-card.is-wide img { aspect-ratio: 1130 / 350; }
.also-seats { margin: var(--space-12) 0 0; }
.also-seats img { width: 100%; aspect-ratio: 1130 / 350; object-fit: cover; border-radius: var(--radius-md); }
.also-seats figcaption { margin-top: var(--space-3); font-size: var(--text-sm); font-weight: 300; }
@media (max-width: 62rem) { .step-card.is-wide { grid-column: auto; } .step-card.is-wide img { aspect-ratio: 16 / 9; } .also-seats img { aspect-ratio: 2 / 1; } }

/* ===== Über uns: Handarbeit und Produktion (zusammengeführt) ===== */
.craft h2 { text-align: center; margin-bottom: var(--space-12); }
.craft-cols { grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
.craft-cols li { border-top: 2px solid var(--color-text); padding-top: var(--space-4); }
.craft .production { padding-block: 0; margin-top: var(--space-16); }
.production-title { font-size: var(--text-2xl); text-align: center; margin-bottom: var(--space-8); text-wrap: balance; }
.step-cards { grid-template-columns: repeat(4, 1fr); gap: var(--space-8) var(--space-4); }
.step-card img { aspect-ratio: 4 / 3; }
.step-card strong { font-size: var(--text-base); }
.step-card figcaption span:last-child { font-size: var(--text-xs); }
.step-card.is-extra .step-no { color: var(--color-text); }
@media (max-width: 62rem) {
  .craft-cols { grid-template-columns: 1fr; gap: var(--space-6); }
  .craft .production { margin-top: var(--space-12); }
  .step-card img { aspect-ratio: 16 / 9; }
}

/* ===== Startseite: Fertigung-Teaser ===== */
.made { padding-block: var(--space-8) var(--space-16); }
.made-title { font-size: var(--text-2xl); text-align: center; margin-bottom: var(--space-8); }
.made-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.made-strip figure { margin: 0; }
.made-strip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-md); }
.made-strip figcaption { margin-top: var(--space-3); font-size: var(--text-sm); font-weight: 500; }
.made-cta { text-align: center; margin-top: var(--space-8); }
@media (max-width: 62rem) {
  .made-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: var(--space-4); margin-inline: calc(var(--space-6) * -1); padding-inline: var(--space-6); }
  .made-strip::-webkit-scrollbar { display: none; }
  .made-strip li { flex: 0 0 min(20rem, 80vw); scroll-snap-align: start; }
}
.craft h2 { font-size: var(--text-3xl); }

/* ===== Über uns: Handarbeit/Produktion, Überarbeitung ===== */
.craft { background: #fff; padding-block: var(--space-24); }
.craft h2 { margin-bottom: var(--space-12); }
.craft-cols { gap: var(--space-6); }
.craft-cols li { background: var(--color-bg); border-top: 0; border-radius: var(--radius-md); padding: var(--space-8) var(--space-6); }
.craft-list h3 { font-size: var(--text-lg); margin-bottom: 0.5rem; }
.craft-list p { font-size: var(--text-sm); font-weight: 400; line-height: 1.6; }
.craft .production { margin-top: var(--space-24); }
.production-title { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.03em; margin-bottom: var(--space-8); }
.production-title::before { content: "In sieben Schritten"; display: block; font-size: var(--text-xs); font-weight: 400; letter-spacing: 0; text-transform: uppercase; color: var(--color-primary); margin-bottom: 0.5rem; }
.step-cards { gap: var(--space-6) var(--space-4); }
.step-card figure { position: relative; background: var(--color-bg); border-radius: var(--radius-md); overflow: hidden; height: 100%; }
.step-card img { border-radius: 0; }
.step-badge { position: absolute; top: 0.75rem; left: 0.75rem; width: 2rem; height: 2rem; display: grid; place-items: center; background: #fff; color: var(--color-primary); border-radius: 50%; font-size: var(--text-sm); font-weight: 700; box-shadow: 0 1px 6px rgba(0,0,0,0.18); }
.step-card figcaption { display: block; margin-top: 0; padding: var(--space-4); }
.step-card figcaption strong { display: block; margin-bottom: 0.25rem; }
.step-card figcaption span:last-child { display: block; font-size: var(--text-sm); font-weight: 400; line-height: 1.5; }
.step-card.is-extra .step-badge { color: var(--color-text); }
@media (max-width: 62rem) { .craft .production { margin-top: var(--space-16); } }
@media (max-width: 40rem) { .craft { padding-block: var(--space-16); } }

/* ===== Über uns: Schritte auf Tablet und Handy ===== */
@media (max-width: 62rem) {
  .step-cards { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; margin-inline: 0; padding-inline: 0; scroll-snap-type: none; gap: var(--space-4); }
  .step-card { flex: none; }
}
@media (max-width: 40rem) {
  .craft-cols li { padding: var(--space-6) var(--space-6); }
  .craft-list h3 { font-size: var(--text-base); text-wrap: balance; }
  .step-cards { grid-template-columns: 1fr; gap: var(--space-3); }
  .step-card figure { display: grid; grid-template-columns: 7.5rem 1fr; align-items: stretch; }
  .step-card img { width: 100%; height: 100%; aspect-ratio: auto; min-height: 6.5rem; }
  .step-badge { top: 0.5rem; left: 0.5rem; width: 1.6rem; height: 1.6rem; font-size: var(--text-xs); }
  .step-card figcaption { align-self: center; padding: var(--space-3) var(--space-4); }
  .step-card figcaption strong { font-size: var(--text-base); }
  .step-card figcaption span:last-child { font-size: var(--text-xs); }
}

/* Anfahrt mit Eingangsfoto */
.directions-grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-12); align-items: center; }
.directions-list { grid-template-columns: 1fr; gap: var(--space-3); }
.directions-list li { flex-direction: row; gap: var(--space-4); align-items: baseline; }
.directions-list strong { flex: 0 0 6.5rem; }
.directions-photo { margin: 0; }
.directions-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-md); }
.directions-photo figcaption { margin-top: var(--space-3); font-size: var(--text-xs); font-weight: 300; }
@media (max-width: 62rem) { .directions-grid { grid-template-columns: 1fr; gap: var(--space-8); } }
@media (max-width: 40rem) { .directions-list li { flex-direction: column; gap: 0.2rem; } .directions-list strong { flex: none; } }

.production-title::before { content: "In acht Schritten"; }
.also-seats-note { text-align: center; margin-top: var(--space-8); font-size: var(--text-sm); font-weight: 400; }

/* Logo-Foto neben dem Zeitstrahl */
.story-logo { margin: var(--space-8) 0 0; max-width: 30rem; }
.story-logo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; border-radius: var(--radius-md); }
.story-logo figcaption { margin-top: var(--space-3); font-size: var(--text-xs); font-weight: 300; }

/* Anfahrt: Beschriftungen ohne Umbruch, keine Einzelwörter am Zeilenende */
.directions-list strong { flex: 0 0 8rem; white-space: nowrap; }
.directions-list span { text-wrap: pretty; }
@media (max-width: 40rem) { .directions-list strong { white-space: normal; } }

/* ===== Casa: Produktseite mit Entwurf ===== */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pd { padding-block: var(--space-6) var(--space-16); }
.breadcrumb { display: flex; gap: 0.5rem; font-size: var(--text-xs); font-weight: 300; margin-bottom: var(--space-8); }
.breadcrumb a:hover { text-decoration: underline; }
.pd-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-16); align-items: start; }
.pd-visual { position: sticky; top: 7rem; }
.pd-image { position: relative; margin: 0; border-radius: var(--radius-md); overflow: hidden; }
.pd-image img { width: 100%; aspect-ratio: 810 / 757; object-fit: cover; }
.pd-chip { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: 0.6rem; background: rgba(255,255,255,0.94); border-radius: 999px; padding: 0.45rem 1rem 0.45rem 0.6rem; font-size: var(--text-xs); font-weight: 500; box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.pd-chip-dot { width: 1.3rem; height: 1.3rem; border-radius: 50%; border: 1px solid rgba(0,0,0,0.2); }
.pd-note { margin-top: var(--space-3); font-size: var(--text-xs); font-weight: 300; }
.pd-controls h1 { font-size: var(--text-3xl); margin-bottom: var(--space-4); }
.pd-controls .lead { font-size: var(--text-lg); font-weight: 300; margin-bottom: var(--space-4); }
.pd-aka { font-size: var(--text-sm); font-weight: 400; background: var(--color-surface); border-radius: var(--radius-md); padding: var(--space-4) var(--space-6); margin-bottom: var(--space-8); }

.pd-step { border-top: 1px solid var(--color-border); padding-block: var(--space-6); }
.pd-step-title { display: flex; align-items: center; gap: 0.7rem; font-size: var(--text-lg); letter-spacing: -0.02em; margin-bottom: var(--space-4); flex-wrap: wrap; }
.pd-step-n { width: 1.7rem; height: 1.7rem; display: grid; place-items: center; border-radius: 50%; background: var(--color-primary); color: #fff; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0; }
.pd-step-value { margin-left: auto; font-size: var(--text-sm); font-weight: 400; letter-spacing: 0; color: var(--color-muted); }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); gap: var(--space-3); }
.opt-grid-2 { grid-template-columns: repeat(2, 1fr); }
.opt { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; text-align: center; padding: var(--space-4) var(--space-3); border: 1.5px solid var(--color-border); border-radius: var(--radius-md); background: #fff; font-size: var(--text-sm); font-weight: 500; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt svg { width: 3rem; height: 2rem; color: var(--color-text); }
.opt:hover { border-color: var(--color-primary); }
.opt.is-selected { border-color: var(--color-primary); box-shadow: 0 0 0 2px var(--color-primary) inset; }
.opt:focus-within { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.pd-size label { display: flex; justify-content: space-between; font-size: var(--text-sm); font-weight: 500; margin-bottom: 0.4rem; }
.pd-size input[type="range"] { width: 100%; accent-color: var(--color-primary); }
.pd-range-labels { display: flex; justify-content: space-between; font-size: var(--text-xs); font-weight: 300; margin-bottom: var(--space-4); }
.pd-hint { margin-top: var(--space-3); font-size: var(--text-xs); font-weight: 300; }
.pd-fn { border: 0; padding: 0; margin: 0 0 var(--space-4); }
.pd-fn legend { font-size: var(--text-sm); font-weight: 600; margin-bottom: 0.5rem; padding: 0; }
.pd-sub { font-size: var(--text-sm); font-weight: 600; margin: var(--space-6) 0 0.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chips .opt { padding: 0.55rem 1.1rem; border-radius: 999px; flex-direction: row; }
.swatches { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.swatch { position: relative; cursor: pointer; border-radius: 50%; padding: 3px; border: 2px solid transparent; }
.swatch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.swatch-dot { display: block; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid rgba(0,0,0,0.2); }
.swatch.is-selected { border-color: var(--color-primary); }
.swatch:focus-within { outline: 3px solid var(--color-accent); outline-offset: 2px; }

.pd-summary { background: var(--color-surface); border-radius: var(--radius-md); padding: var(--space-8) var(--space-6); margin-top: var(--space-6); }
.pd-summary h2 { font-size: var(--text-lg); margin-bottom: var(--space-4); }
.pd-summary dl { margin: 0 0 var(--space-4); display: grid; gap: 0.4rem; }
.pd-summary dl div { display: flex; justify-content: space-between; gap: var(--space-4); font-size: var(--text-sm); border-bottom: 1px solid rgba(0,0,0,0.12); padding-bottom: 0.4rem; }
.pd-summary dt { font-weight: 600; }
.pd-summary dd { margin: 0; text-align: right; font-weight: 400; }
.pd-summary-note { font-size: var(--text-xs); font-weight: 300; margin-bottom: var(--space-6); }
.pd-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.pd-copy-state { margin-top: var(--space-3); font-size: var(--text-xs); min-height: 1.2em; }
.pd-bar { display: none; }

@media (max-width: 62rem) {
  .pd-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .pd-visual { position: static; }
  .pd-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); background: #fff; box-shadow: 0 -4px 14px rgba(0,0,0,0.14); padding: 0.7rem var(--space-6) calc(0.7rem + env(safe-area-inset-bottom, 0px)); font-weight: 600; font-size: var(--text-sm); transition: transform 0.2s; }
  .pd-bar.is-hidden { transform: translateY(110%); }
}
@media (max-width: 40rem) { .opt-grid { grid-template-columns: repeat(2, 1fr); } .pd-actions .btn { flex: 1 1 100%; } }
@media (prefers-reduced-motion: reduce) { .opt, .pd-bar { transition: none; } }

/* Casa: Schritte als Ablauf, frühere Namen */
.pd-step { padding-block: 0; }
.pd-step-title { margin: 0; display: block; }
.pd-step-btn { width: 100%; display: flex; align-items: center; gap: 0.7rem; padding: var(--space-6) 0; background: none; border: 0; font: inherit; font-size: var(--text-lg); font-weight: 700; letter-spacing: -0.02em; color: var(--color-text); text-align: left; cursor: pointer; }
.pd-step-name { flex: none; }
.pd-step-chev { flex: none; width: 0.6rem; height: 0.6rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 0.4rem; margin-top: -0.2rem; transition: transform 0.2s; }
.pd-step-btn[aria-expanded="true"] .pd-step-chev { transform: rotate(-135deg); margin-top: 0.2rem; }
.pd-step.is-locked .pd-step-btn { opacity: 0.45; cursor: not-allowed; }
.pd-step.is-done .pd-step-n { font-size: 0; }
.pd-step.is-done .pd-step-n::before { content: "✓"; font-size: var(--text-xs); }
.pd-step-panel { padding-bottom: var(--space-6); }
.pd-step-panel[hidden] { display: none; }
.pd-next { margin-top: var(--space-6); }
.pd-step-btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.aka { padding-block: var(--space-12); }
.aka h2 { font-size: var(--text-lg); letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.aka p { font-size: var(--text-sm); font-weight: 300; max-width: 44rem; }
@media (prefers-reduced-motion: reduce) { .pd-step-chev { transition: none; } }

/* Casa: Farbmuster exakt zentriert, Auswahlring ohne Layoutsprung */
.swatches { gap: var(--space-2); }
.swatch { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; padding: 0; border: 0; border-radius: 50%; }
.swatch:focus-within { outline: 0; }
.swatch-dot { width: 2.4rem; height: 2.4rem; transition: box-shadow 0.15s; }
.swatch.is-selected { border-color: transparent; }
.swatch.is-selected .swatch-dot { box-shadow: 0 0 0 3px var(--color-bg), 0 0 0 5px var(--color-primary); }
.swatch input:focus-visible + .swatch-dot { outline: 3px solid var(--color-accent); outline-offset: 6px; }
@media (prefers-reduced-motion: reduce) { .swatch-dot { transition: none; } }
.swatches { margin-left: -0.35rem; }

/* Fokusring nur bei Tastaturbedienung */
.opt:focus-within { outline: 0; }
.opt:has(input:focus-visible) { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* Casa: Haken exakt zentriert (als Grafik statt Schriftzeichen) */
.pd-step.is-done .pd-step-n { font-size: 0; background: var(--color-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat; }
.pd-step.is-done .pd-step-n::before { content: none; }

/* Casa: Erklärungen, Vertrauenszeile, mobile Leiste */
.pd-opt-hint { margin-top: var(--space-3); font-size: var(--text-sm); font-weight: 300; line-height: 1.5; color: var(--color-muted); min-height: 1.5em; }
.pd-fn .pd-opt-hint { margin-top: 0.5rem; }
.pd-trust { display: grid; gap: 0.45rem; margin: 0 0 var(--space-4); }
.pd-trust li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: var(--text-sm); }
.pd-trust li::before { content: ""; flex: none; width: 1rem; height: 1rem; margin-top: 0.2rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a5c35' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5L19.500 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.pd-bar span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-bar .btn { flex: none; }
#casa-faq { padding-block: var(--space-16); }
.pd-step-n { flex: none; }
.pd-step-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }

/* Casa: Maße, Preis, Kundenbeispiele */
.pd-dims { display: grid; gap: var(--space-4); margin-bottom: var(--space-4); }
.pd-size[hidden] { display: none; }
.pd-price { font-size: var(--text-lg); font-weight: 300; margin: -0.5rem 0 var(--space-6); }
.pd-price strong { font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; }
.pd-color-note { margin-top: var(--space-3); }
.homes { padding-block: var(--space-16) var(--space-8); }

/* Kundenkarten: Zitat direkt unter den Sternen, Name unten */
.photo-body { justify-content: flex-start; gap: var(--space-3); }
.photo-body .review-meta { margin-top: auto; padding-top: var(--space-3); }

/* Casa: Sonderform */
.pd-custom { margin-bottom: var(--space-4); }
.pd-custom label { display: block; font-size: var(--text-sm); font-weight: 500; margin-bottom: 0.5rem; }
.pd-custom textarea { width: 100%; font: inherit; font-size: var(--text-sm); padding: var(--space-3) var(--space-4); border: 1.5px solid var(--color-border); border-radius: var(--radius-md); background: #fff; resize: vertical; }
.pd-custom textarea:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.pd-custom[hidden] { display: none; }

/* Casa: Funktionsvideo */
.pd-video { margin-top: var(--space-3); border: 1.5px solid var(--color-border); border-radius: var(--radius-md); background: #fff; overflow: hidden; }
.pd-video summary { cursor: pointer; padding: var(--space-3) var(--space-4); font-size: var(--text-sm); font-weight: 500; list-style: none; display: flex; align-items: center; gap: 0.6rem; }
.pd-video summary::-webkit-details-marker { display: none; }
.pd-video summary::before { content: ""; flex: none; width: 0; height: 0; border-left: 0.6rem solid var(--color-primary); border-top: 0.4rem solid transparent; border-bottom: 0.4rem solid transparent; }
.pd-video[open] summary::before { border-left: 0; border-top: 0.6rem solid var(--color-primary); border-right: 0.4rem solid transparent; border-left: 0.4rem solid transparent; border-bottom: 0; }
.pd-video summary:focus-visible { outline: 3px solid var(--color-accent); outline-offset: -3px; }
.pd-video figure { margin: 0; padding: 0 var(--space-4) var(--space-4); }
.pd-video video { display: block; width: 100%; max-width: 20rem; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-md); background: #eef0f2; margin-inline: auto; }
.pd-video figcaption { margin-top: var(--space-2); font-size: var(--text-xs); font-weight: 300; text-align: center; }

/* Casa: Beispiele zum Übernehmen */
.ex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.ex-card { background: var(--color-bg); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; }
.ex-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.ex-body { padding: var(--space-4) var(--space-6) var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); flex: 1; justify-content: space-between; }
.ex-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.ex-chips li { font-size: var(--text-xs); font-weight: 500; border: 1px solid var(--color-border); border-radius: 999px; padding: 0.25rem 0.7rem; background: #fff; }
.ex-link { align-self: flex-start; }
@media (max-width: 62rem) {
  .ex-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: var(--space-4); margin-inline: calc(var(--space-6) * -1); padding-inline: var(--space-6); }
  .ex-grid::-webkit-scrollbar { display: none; }
  .ex-card { flex: 0 0 min(20rem, 80vw); scroll-snap-align: start; }
}

/* ===== Casa: Zusammenfassung überarbeitet ===== */
.pd-summary { padding: var(--space-8) var(--space-6); }
.pd-sum-price { margin: -0.4rem 0 var(--space-4); font-size: var(--text-lg); font-weight: 300; line-height: 1.3; }
.pd-sum-price strong { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.pd-sum-price span { display: block; font-size: var(--text-xs); margin-top: 0.2rem; }
.sum-list { margin: 0 0 var(--space-3); display: grid; }
.sum-row { display: grid; grid-template-columns: 6.5rem 1fr auto; column-gap: var(--space-4); align-items: baseline; padding: 0.75rem 0; border-bottom: 1px solid rgba(0,0,0,0.12); font-size: var(--text-sm); }
.sum-label { font-weight: 600; }
.sum-value { line-height: 1.45; }
.sum-sub { color: var(--color-muted); }
.sum-dot { display: inline-block; width: 0.9rem; height: 0.9rem; border-radius: 50%; border: 1px solid rgba(0,0,0,0.25); margin-right: 0.5rem; vertical-align: -0.12rem; }
.is-default { color: #8a8a8a; }
.sum-edit { background: none; border: 0; padding: 0.2rem 0; font: inherit; font-size: var(--text-xs); font-weight: 500; text-decoration: underline; cursor: pointer; color: var(--color-text); }
.sum-edit:hover { text-decoration: none; }
.sum-edit:focus-visible, .pd-textlink:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.pd-default-note { font-size: var(--text-xs); font-weight: 300; margin-bottom: var(--space-4); }
.pd-actions { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
.pd-primary { width: 100%; padding-block: 0.85rem; font-size: var(--text-base); }
.pd-secondary { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); font-size: var(--text-sm); }
.pd-textlink { background: none; border: 0; padding: 0.15rem 0; font: inherit; font-size: var(--text-sm); text-decoration: underline; cursor: pointer; color: var(--color-text); }
.pd-textlink:hover { text-decoration: none; }
.pd-copy-state { margin-top: var(--space-2); min-height: 0; }
.pd-copy-state:empty { display: none; }
.pd-trust-line { margin: var(--space-4) 0 0; font-size: var(--text-xs); font-weight: 500; line-height: 1.5; }
.pd-summary-note { margin: var(--space-2) 0 0; }
@media (max-width: 40rem) { .sum-row { grid-template-columns: 1fr auto; } .sum-label { grid-column: 1 / -1; } .sum-value { grid-column: 1; } .sum-edit { grid-column: 2; grid-row: 2; } }

/* Casa: Zweitaktionen als gleichwertige Schaltflächen */
.pd-secondary { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: var(--space-3); }
.pd-sec-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; padding: 0.7rem 1rem; background: #fff; font-size: var(--text-sm); font-weight: 500; white-space: nowrap; }
.pd-sec-btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.pd-sec-btn[hidden] { display: none; }
.pd-sec-btn.is-ok { border-color: var(--color-primary); color: var(--color-primary-dark); }

/* ===== Casa: Beratungsanfrage ===== */
.req { border: 0; border-radius: var(--radius-lg); padding: var(--space-8) var(--space-6); width: min(34rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow-y: auto; background: var(--color-bg); color: var(--color-text); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.req::backdrop { background: rgba(20,20,20,0.55); }
.req h2 { font-size: var(--text-2xl); margin: 0 2rem var(--space-3) 0; }
.req-close { position: absolute; top: 0.75rem; right: 0.75rem; width: 2.5rem; height: 2.5rem; border: 0; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--color-text); }
.req-close:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; border-radius: 50%; }
.req-lead { font-size: var(--text-sm); font-weight: 300; margin-bottom: var(--space-6); }
.req-type { border: 0; padding: 0; margin: 0 0 var(--space-6); display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.req-field { margin-bottom: var(--space-4); }
.req-field label { display: block; font-size: var(--text-sm); font-weight: 500; margin-bottom: 0.35rem; }
.req-field input, .req-field select, .req-field textarea { width: 100%; font: inherit; font-size: var(--text-base); padding: 0.7rem var(--space-4); border: 1.5px solid var(--color-border); border-radius: var(--radius-md); background: #fff; color: var(--color-text); }
.req-field input[aria-invalid="true"] { border-color: var(--color-accent); }
.req-field input:focus-visible, .req-field select:focus-visible, .req-field textarea:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.req-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.req-row .req-field[hidden] { display: none; }
.req-err { margin: 0.3rem 0 0; font-size: var(--text-xs); color: var(--color-accent); min-height: 0; }
.req-err:empty { display: none; }
.req-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req-consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--text-xs); font-weight: 300; line-height: 1.5; margin: var(--space-2) 0 var(--space-2); }
.req-consent input { margin-top: 0.2rem; accent-color: var(--color-primary); width: 1.1rem; height: 1.1rem; flex: none; }
.req-consent a { text-decoration: underline; }
.req-status { font-size: var(--text-sm); margin: var(--space-3) 0; min-height: 0; }
.req-status:empty { display: none; }
.req-status a { text-decoration: underline; }
.req .pd-primary { margin-top: var(--space-4); }
.req-alt { margin-top: var(--space-4); font-size: var(--text-xs); font-weight: 300; text-align: center; }
.req-alt a { text-decoration: underline; }
.req-done { text-align: left; }
.req-done p { margin-bottom: var(--space-3); }
.req-done-sub { font-size: var(--text-sm); font-weight: 300; margin-bottom: var(--space-6) !important; }
@media (max-width: 30rem) { .req { padding: var(--space-6) var(--space-4); } .req-row { grid-template-columns: 1fr; } }
.req h2 { font-size: 1.6rem; }

/* Casa: Ganz unten teilen sich Bild und Entwurf einen gemeinsamen Hintergrund (weicher Übergang, kein Layoutsprung) */
.pd-panel { border-radius: var(--radius-lg); padding: var(--space-8); background-color: transparent; transition: background-color 0.45s ease; }
.pd-panel .pd-summary { transition: background-color 0.45s ease; }
.pd-panel .pd-image { transition: box-shadow 0.45s ease; }
.pd-panel .pd-step { transition: border-color 0.45s ease; }
.pd-panel .pd-step:last-of-type { border-bottom: 1px solid transparent; }
.pd-panel.is-complete { background-color: #e9e8e6; }
.pd-panel.is-complete .pd-step { border-top-color: rgba(0,0,0,0.14); }
.pd-panel.is-complete .pd-step:last-of-type { border-bottom-color: rgba(0,0,0,0.14); }
.pd-panel.is-complete .pd-summary { background-color: transparent; }
.pd-panel.is-complete .sum-row { border-bottom-color: rgba(0,0,0,0.14); }
.pd-panel.is-complete .is-default { color: #6b6b6b; }
.pd-panel.is-complete .pd-image { box-shadow: 0 6px 24px rgba(0,0,0,0.12); }
@media (max-width: 62rem) { .pd-panel { padding: var(--space-6) var(--space-4); margin-inline: calc(var(--space-6) * -0.5); } }
@media (max-width: 40rem) { .pd-panel { border-radius: var(--radius-md); } }
@media (prefers-reduced-motion: reduce) { .pd-panel, .pd-panel .pd-summary, .pd-panel .pd-image, .pd-panel .pd-step { transition: none; } }

/* ===== Beratungsanfrage: Schritt für Schritt, Kalender ===== */
.req-progress { font-size: var(--text-xs); font-weight: 500; margin: 0 2.5rem 0.5rem 0; color: var(--color-muted); }
.req-bar { height: 4px; border-radius: 4px; background: rgba(0,0,0,0.12); margin-bottom: var(--space-6); overflow: hidden; }
.req-bar span { display: block; height: 100%; width: 0; background: var(--color-primary); transition: width 0.25s ease; }
.req h2 { margin-bottom: var(--space-2); }
.req-step { margin-bottom: var(--space-4); }
.req-step[hidden] { display: none; }
.req-q { font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 var(--space-4); }
.req-q label { display: block; font-size: inherit; font-weight: inherit; margin: 0; }
.req-step input[type="text"], .req-step input[type="email"], .req-step input[type="tel"], .req-step textarea { width: 100%; font: inherit; font-size: var(--text-base); padding: 0.8rem var(--space-4); border: 1.5px solid var(--color-border); border-radius: var(--radius-md); background: #fff; color: var(--color-text); }
.req-step input[aria-invalid="true"] { border-color: var(--color-accent); }
.req-step input:focus-visible, .req-step textarea:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.req-type { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.req-hint { margin: 0.5rem 0 0; font-size: var(--text-xs); font-weight: 300; line-height: 1.5; }
.req-link { background: none; border: 0; padding: 0; margin-left: 0.4rem; font: inherit; text-decoration: underline; cursor: pointer; color: var(--color-text); }
.req-times { border: 0; padding: 0; margin: var(--space-4) 0 0; }
.req-times legend { font-size: var(--text-sm); font-weight: 600; margin-bottom: 0.5rem; padding: 0; }
.req-time-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.req-time-opts .opt { padding: 0.7rem 0.4rem; }
.req-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-6); }
.req-nav .btn { flex: 1; padding-block: 0.85rem; font-size: var(--text-base); }
.req-nav .req-back { background: none; border: 0; padding: 0.5rem 0; font: inherit; font-size: var(--text-sm); text-decoration: underline; cursor: pointer; color: var(--color-text); flex: none; }
.req-recap { margin: var(--space-6) 0 var(--space-4); border-top: 1px solid rgba(0,0,0,0.14); }
.req-recap li { display: grid; grid-template-columns: 5.5rem 1fr auto; gap: var(--space-3); align-items: baseline; padding: 0.55rem 0; border-bottom: 1px solid rgba(0,0,0,0.14); font-size: var(--text-sm); }
.rc-l { font-weight: 600; }
.req .sum-edit { font-size: var(--text-xs); }

.cal-box { background: #fff; border: 1.5px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-3); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-2); }
.cal-title { font-weight: 600; font-size: var(--text-sm); }
.cal-nav { width: 2.5rem; height: 2.5rem; border: 0; background: none; font-size: 1.5rem; line-height: 1; cursor: pointer; border-radius: 50%; color: var(--color-text); }
.cal-nav:hover:not([disabled]) { background: var(--color-bg); }
.cal-nav[disabled] { opacity: 0.3; cursor: not-allowed; }
.cal { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal th { font-size: var(--text-xs); font-weight: 500; padding-bottom: 0.3rem; color: var(--color-muted); }
.cal td { padding: 2px; text-align: center; }
.cal-day { width: 100%; max-width: 2.6rem; aspect-ratio: 1; border: 0; border-radius: 50%; background: none; font: inherit; font-size: var(--text-sm); cursor: pointer; color: var(--color-text); }
.cal-day:hover:not([disabled]) { background: var(--color-surface); }
.cal-day[disabled] { color: #b5b5b5; cursor: not-allowed; text-decoration: line-through; }
.cal-day.is-today { box-shadow: 0 0 0 1.5px var(--color-border) inset; }
.cal-day.is-selected { background: var(--color-primary); color: #fff; font-weight: 600; }
.cal-nav:focus-visible, .cal-day:focus-visible, .req-link:focus-visible, .req-back:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
@media (max-width: 30rem) { .req-type { grid-template-columns: 1fr; } .req-recap li { grid-template-columns: 4.5rem 1fr auto; } }
@media (prefers-reduced-motion: reduce) { .req-bar span { transition: none; } }
@media (max-width: 40rem) {
  .req h2 { font-size: 1.25rem; }
  .req-bar { margin-bottom: var(--space-4); }
  #req-form:not([data-step="1"]) .req-lead { display: none; }
  .cal-day { max-width: 2.3rem; }
  .req-q { margin-bottom: var(--space-3); }
}
.pd-end { height: 1px; margin-top: -1px; }

/* Casa: Einstieg mit Beispielen */
.ex-picker { margin-bottom: var(--space-6); }
.ex-title { font-size: var(--text-lg); letter-spacing: -0.02em; margin-bottom: var(--space-3); }
.ex-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.ex-pick { width: 100%; display: flex; flex-direction: column; gap: 0.5rem; padding: 0; border: 1.5px solid var(--color-border); border-radius: var(--radius-md); background: #fff; font: inherit; text-align: left; cursor: pointer; overflow: hidden; transition: border-color 0.15s, box-shadow 0.15s; }
.ex-pick img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ex-pick-t { display: flex; flex-direction: column; padding: 0 0.7rem 0.7rem; font-size: var(--text-xs); line-height: 1.35; }
.ex-pick-t strong { font-size: var(--text-sm); font-weight: 600; }
.ex-pick-t span { font-weight: 300; }
.ex-pick:hover { border-color: var(--color-primary); }
.ex-pick.is-active { border-color: var(--color-primary); box-shadow: 0 0 0 2px var(--color-primary) inset; }
.ex-pick:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.ex-scratch { margin-top: var(--space-3); }
@media (max-width: 40rem) { .ex-picks { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .ex-pick { transition: none; } }

/* Casa: Freisteller (Form-Bilder mit Farbvorschau) */
.pd-image.is-cutout { background: radial-gradient(ellipse at 50% 88%, #dedbd4 0%, #eceae6 55%, #f2f1ee 100%); }
.pd-image.is-cutout img { object-fit: contain; padding: 8% 6% 14%; }
.ex-pick img.is-cut { object-fit: contain; padding: 0.5rem 0.6rem; background: #eceae6; }
.ex-picks { grid-template-columns: repeat(4, 1fr); gap: var(--space-2); }
.ex-pick-t { padding: 0 0.5rem 0.6rem; }
.ex-pick-t strong { font-size: var(--text-xs); }
.ex-pick-t span { font-size: 0.7rem; }
@media (max-width: 40rem) { .ex-picks { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); } .ex-pick-t strong { font-size: var(--text-sm); } .ex-pick-t span { font-size: var(--text-xs); } }
.ex-picks li { display: flex; }
.ex-pick { height: 100%; }

/* Casa: Form-Auswahl als Bildkarten, beliebte Ausstattung */
.form-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-2); }
.form-grid .opt { padding: 0.5rem 0.4rem 0.7rem; gap: 0.4rem; font-size: var(--text-xs); }
.form-thumb-box { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; background: #eceae6; border-radius: var(--radius-sm); overflow: hidden; }
.form-thumb { width: 100%; height: 100%; object-fit: contain; padding: 0.25rem; }
.form-grid .opt .form-thumb-box svg { width: 2.4rem; height: 1.8rem; color: #7d786f; }
@media (max-width: 40rem) { .form-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); } .form-grid .opt { font-size: var(--text-sm); } }
.pd-presets { margin-bottom: var(--space-4); }
.pd-presets .pd-sub { margin-top: 0; }
.preset-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.preset { display: flex; flex-direction: column; gap: 0.2rem; text-align: left; padding: 0.7rem 0.75rem; border: 1.5px solid var(--color-border); border-radius: var(--radius-md); background: #fff; font: inherit; cursor: pointer; }
.preset strong { font-size: var(--text-sm); font-weight: 600; }
.preset small { font-size: 0.7rem; font-weight: 300; line-height: 1.35; }
.preset:hover, .preset.is-active { border-color: var(--color-primary); }
.preset.is-active { box-shadow: 0 0 0 2px var(--color-primary) inset; }
.preset:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
@media (max-width: 40rem) { .preset-row { grid-template-columns: 1fr; } }
.ex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }

/* Casa: Form-Auswahl als Bildkarten, beliebte Ausstattung */
.form-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-2); }
.form-grid .opt { padding: 0.5rem 0.4rem 0.7rem; gap: 0.4rem; font-size: var(--text-xs); }
.form-thumb-box { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; background: #eceae6; border-radius: var(--radius-sm); overflow: hidden; }
.form-thumb { width: 100%; height: 100%; object-fit: contain; padding: 0.25rem; }
.form-grid .opt .form-thumb-box svg { width: 2.4rem; height: 1.8rem; color: #7d786f; }
@media (max-width: 40rem) { .form-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); } .form-grid .opt { font-size: var(--text-sm); } }
.pd-presets { margin-bottom: var(--space-4); }
.pd-presets .pd-sub { margin-top: 0; }
.preset-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.preset { display: flex; flex-direction: column; gap: 0.2rem; text-align: left; padding: 0.7rem 0.75rem; border: 1.5px solid var(--color-border); border-radius: var(--radius-md); background: #fff; font: inherit; cursor: pointer; }
.preset strong { font-size: var(--text-sm); font-weight: 600; }
.preset small { font-size: 0.7rem; font-weight: 300; line-height: 1.35; }
.preset:hover, .preset.is-active { border-color: var(--color-primary); }
.preset.is-active { box-shadow: 0 0 0 2px var(--color-primary) inset; }
.preset:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
@media (max-width: 40rem) { .preset-row { grid-template-columns: 1fr; } }
.ex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.pd-next[hidden] { display: none; }

/* ===== Casa: Detailfenster ===== */
.pd-detail { position: absolute; right: 0.9rem; bottom: 0.9rem; width: min(47%, 17.5rem); background: rgba(255,255,255,0.97); border-radius: var(--radius-md); box-shadow: 0 6px 22px rgba(0,0,0,0.22); padding: 0.55rem 0.6rem 0.6rem; z-index: 3; }
.pd-detail[hidden] { display: none; }
.pd-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.4rem; }
.pd-detail-title { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0; margin: 0; text-transform: uppercase; color: var(--color-primary); }
.pd-detail-tabs { display: inline-flex; border: 1px solid var(--color-border); border-radius: 999px; overflow: hidden; }
.pd-detail-tabs button { border: 0; background: none; font: inherit; font-size: 0.68rem; padding: 0.2rem 0.55rem; cursor: pointer; color: var(--color-text); }
.pd-detail-tabs button[aria-pressed="true"] { background: var(--color-primary); color: #fff; }
.pd-detail-tabs button:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; }
.pd-detail-media { background: #f3f1ee; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.pd-detail-media svg, .pd-detail-media img, .pd-detail-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-detail-media svg { object-fit: contain; }
.pd-detail-cap { margin: 0.4rem 0 0; font-size: 0.68rem; font-weight: 300; line-height: 1.4; }
.pd-detail.is-inline { position: static; width: 100%; margin: 0 0 var(--space-4); box-shadow: none; border: 1.5px solid var(--color-border); background: #fff; }
.pd-detail.is-inline .pd-detail-media { aspect-ratio: 16 / 10; }
.pd-detail.is-inline .pd-detail-cap { font-size: var(--text-xs); }

/* Casa: lange Werte in den Schritt-Kopfzeilen dürfen die Spalte nicht aufweiten */
.pd-grid > * { min-width: 0; }
.pd-step-btn { min-width: 0; }
.pd-step-title { min-width: 0; }

/* Casa: Vorteile in der Zusammenfassung mit Symbolen */
.pd-trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-4); margin: var(--space-6) 0 var(--space-4); padding-top: var(--space-4); border-top: 1px solid rgba(0,0,0,0.14); }
.pd-trust-grid li { display: flex; align-items: center; gap: 0.7rem; }
.pd-trust-grid img { width: 2.1rem; height: 2.1rem; flex: none; object-fit: contain; }
.pd-trust-grid span { display: flex; flex-direction: column; line-height: 1.3; }
.pd-trust-grid strong { font-size: var(--text-sm); font-weight: 600; }
.pd-trust-grid small { font-size: var(--text-xs); font-weight: 300; }
@media (max-width: 30rem) { .pd-trust-grid { grid-template-columns: 1fr; } }
.pd-trust-grid strong, .pd-trust-grid small { text-wrap: balance; }

/* Casa: Detailfenster unter dem Foto statt darüber, damit es das Sofa nicht verdeckt */
@media (min-width: 62rem) {
  .pd-image img { aspect-ratio: 5 / 4; }
  .pd-visual .pd-detail { position: static; width: 100%; margin-top: var(--space-3); display: grid; grid-template-columns: 15rem 1fr; grid-template-areas: "media head" "media cap"; grid-template-rows: auto 1fr; column-gap: var(--space-4); align-items: start; padding: 0.7rem; background: #fff; box-shadow: none; border: 1.5px solid var(--color-border); }
  .pd-visual .pd-detail-head { grid-area: head; flex-direction: column; align-items: flex-start; gap: 0.5rem; margin: 0; }
  .pd-visual .pd-detail-media { grid-area: media; }
  .pd-visual .pd-detail-cap { grid-area: cap; margin: 0.2rem 0 0; font-size: var(--text-xs); line-height: 1.5; }
}
@media (min-width: 62rem) {
  .pd-image img { max-height: calc(100vh - 24rem); min-height: 18rem; }
}

/* Casa: Maße zeigen Grundriss und Vorderansicht nebeneinander */
.pd-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; width: 100%; }
.pd-duo figure { margin: 0; background: #f3f1ee; border-radius: var(--radius-sm); padding: 0.3rem 0.2rem 0.2rem; }
.pd-duo figcaption { font-size: 0.68rem; font-weight: 500; text-align: center; color: var(--color-muted); padding-bottom: 0.2rem; }
.pd-duo svg { width: 100%; height: auto; display: block; }
.pd-detail.is-wide .pd-detail-media { aspect-ratio: auto; background: transparent; display: block; overflow: visible; }
@media (min-width: 62rem) {
  .pd-visual .pd-detail.is-wide { display: block; }
  .pd-visual .pd-detail.is-wide .pd-detail-head { flex-direction: row; align-items: center; margin-bottom: 0.45rem; }
  .pd-visual .pd-detail.is-wide .pd-detail-cap { margin-top: 0.45rem; }
  .pd-image img { max-height: calc(100vh - 28rem); }
}
@media (max-width: 40rem) { .pd-duo { grid-template-columns: 1fr; } }

.opt-grid-3 { grid-template-columns: repeat(3, 1fr); }
.opt-grid-3 .opt { font-size: var(--text-xs); padding-inline: 0.4rem; }
.preset-row { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 40rem) { .opt-grid-3 { grid-template-columns: 1fr; } .preset-row { grid-template-columns: 1fr; } }

.pd-detail-cta { margin-top: 0.4rem; padding: 0; background: none; border: 0; font: inherit; font-size: var(--text-xs); font-weight: 600; text-decoration: underline; color: var(--color-primary-dark); cursor: pointer; text-align: left; }
.pd-detail-cta::after { content: " →"; }
.pd-detail-cta:hover { text-decoration: none; }
.pd-detail-cta:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
@media (min-width: 62rem) { .pd-visual .pd-detail .pd-detail-cta { grid-column: 2; align-self: end; } }
.pd-chip[hidden] { display: none; }

/* Casa: Farbleiste am Foto */
.pd-chip.pd-colorbar { display: flex; align-items: center; gap: 0.7rem; padding: 0.4rem 0.8rem; max-width: calc(100% - 1.8rem); }
.pd-colorbar-dots { display: flex; align-items: center; flex-wrap: wrap; gap: 0.3rem; }
.cb-dot { width: 1.35rem; height: 1.35rem; border-radius: 50%; border: 1px solid rgba(0,0,0,0.28); padding: 0; cursor: pointer; flex: none; }
.cb-dot.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-primary); }
.cb-dot:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.pd-colorbar-name { font-size: 0.75rem; font-weight: 500; white-space: nowrap; }
@media (max-width: 40rem) { .pd-colorbar-name { display: none; } .pd-chip.pd-colorbar { left: 0.6rem; bottom: 0.6rem; padding: 0.35rem 0.6rem; } }
/* Schaltflächen mit eigener Hintergrundfarbe setzen immer auch die Textfarbe (sonst unsichtbar im dunklen Systemmodus) */
.preset, .cb-dot, .req-link, .sum-edit, .pd-textlink { color: var(--color-text); }
.pd-dim-hint { margin: 0.2rem 0 0; font-size: var(--text-xs); font-weight: 300; }
.pd-sub-note { font-weight: 300; margin-left: 0.4rem; }
.req-done .btn + .btn { margin-left: 0.5rem; }
@media (max-width: 30rem) { .req-done .btn { width: 100%; margin: 0 0 var(--space-2); } .req-done .btn + .btn { margin-left: 0; } }

/* ===== Vor Ort abschließen: Terminwünsche, QR-Code, Wallet ===== */
.cl-slot { font: inherit; font-size: var(--text-sm); font-weight: 500; color: var(--color-text); cursor: pointer; }
.cl-slot[disabled] { opacity: 0.4; cursor: not-allowed; }
.cl-slot.is-selected { border-color: var(--color-primary); box-shadow: 0 0 0 2px var(--color-primary) inset; }
.cal-day.has-slot { position: relative; }
.cal-day.has-slot::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--color-accent); transform: translateX(-50%); }
.cal-day.is-selected.has-slot::after { background: #fff; }
.cl-list { display: grid; gap: 0.4rem; margin: var(--space-3) 0 0; }
.cl-list li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); background: #fff; border: 1.5px solid var(--color-border); border-radius: var(--radius-md); padding: 0.45rem 0.8rem; font-size: var(--text-sm); }
.cl-rm { width: 1.8rem; height: 1.8rem; border: 0; background: none; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--color-text); border-radius: 50%; }
.cl-rm:hover { background: var(--color-bg); }
.cl-rm:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.cl-list-done li { background: transparent; }
.req-qrbox { margin: var(--space-4) 0; display: grid; gap: var(--space-3); }
.req-qr-row { display: grid; grid-template-columns: 9.5rem 1fr; gap: var(--space-4); align-items: center; }
.req-qr { background: #fff; border-radius: var(--radius-md); padding: 0.4rem; line-height: 0; }
.req-qr svg { width: 100%; height: auto; display: block; }
.req-qr-label { margin: 0; font-size: var(--text-xs); font-weight: 500; text-transform: uppercase; color: var(--color-primary); }
.req-qr-nr { margin: 0.1rem 0 0.4rem; font-size: 1.5rem; font-weight: 700; letter-spacing: 0.06em; }
.req-qr-hint { margin: 0; font-size: var(--text-xs); font-weight: 300; line-height: 1.5; }
.req-qr-h { font-size: var(--text-sm); font-weight: 600; margin: var(--space-2) 0 0; }
.req-wallet { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.req-wallet[hidden] { display: none; }
.wallet-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.7rem 0.6rem; border: 0; border-radius: var(--radius-md); background: #1a1a1a; color: #fff; font: inherit; font-size: var(--text-xs); font-weight: 600; cursor: pointer; }
.wallet-btn svg { width: 1.2rem; height: 1.2rem; flex: none; }
.wallet-btn:hover { background: #333; }
.wallet-btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.req-posten { font-size: var(--text-sm); }
.req-posten summary { cursor: pointer; font-weight: 500; }
.req-posten ul { margin-top: var(--space-2); display: grid; gap: 0.3rem; }
.req-posten li { display: flex; justify-content: space-between; gap: var(--space-3); border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 0.25rem; }
.req-posten li span:first-child { font-weight: 600; }
.pd-staff { background: #fff; border: 1.5px solid var(--color-primary); border-radius: var(--radius-md); padding: var(--space-4); margin-bottom: var(--space-4); }
.pd-staff[hidden] { display: none; }
.pd-staff-nr { margin: 0 0 var(--space-2); font-size: var(--text-sm); }
.pd-staff-nr strong { font-size: 1.15rem; letter-spacing: 0.06em; }
.pd-staff ul { display: grid; gap: 0.25rem; font-size: var(--text-xs); }
.pd-staff li { display: flex; justify-content: space-between; gap: var(--space-3); border-bottom: 1px solid rgba(0,0,0,0.08); padding-bottom: 0.2rem; }
.pd-staff li span:first-child { font-weight: 600; }
@media (max-width: 30rem) { .req-qr-row { grid-template-columns: 7.5rem 1fr; } .req-wallet { grid-template-columns: 1fr; } }
.req .cal-day { max-width: 2.2rem; font-size: 0.85rem; }
.req .cal td { padding: 1px; }
.req .cl-list li { padding: 0.3rem 0.7rem; }
.req .cal-head { margin-bottom: 0.2rem; }

/* Casa: Entwurf eingeklappt, Details auf Wunsch */
.sum-details { margin: 0 0 var(--space-3); border-top: 1px solid rgba(0,0,0,0.14); border-bottom: 1px solid rgba(0,0,0,0.14); }
.sum-details summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: 0.8rem 0; cursor: pointer; list-style: none; font-size: var(--text-sm); }
.sum-details summary::-webkit-details-marker { display: none; }
.sum-short { font-weight: 600; line-height: 1.4; }
.sum-toggle { flex: none; font-size: var(--text-xs); font-weight: 500; text-decoration: underline; white-space: nowrap; }
.sum-toggle::after { content: "Details anzeigen"; }
.sum-details[open] .sum-toggle::after { content: "Details ausblenden"; }
.sum-details summary:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.sum-details .sum-list { margin-bottom: var(--space-2); }
.sum-details .sum-row:last-child { border-bottom: 0; }
@media (max-width: 30rem) { .sum-details summary { align-items: flex-start; } }

/* ===== Termin wie bei Calendly: Kalender links, Tageszeit rechts ===== */
.req--wide { width: min(46rem, calc(100% - 2rem)); }
.cl-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
@media (min-width: 40rem) { .req--wide .cl-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.cl-calendly { border: 0; background: transparent; padding: 0; }
.cl-calendly .cal-head { justify-content: space-between; margin-bottom: 0.6rem; }
.cl-calendly .cal-title { order: -1; margin-right: auto; font-size: var(--text-base); font-weight: 600; }
.cl-calendly .cal-nav { width: 2.4rem; height: 2.4rem; color: var(--color-primary-dark); font-size: 1.6rem; }
.cl-calendly .cal th { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding-bottom: 0.5rem; }
.cl-calendly .cal td { padding: 3px; }
.req .cl-calendly .cal-day { max-width: 2.7rem; font-size: var(--text-sm); font-weight: 400; color: #9a9a9a; text-decoration: none; position: relative; }
.req .cl-calendly .cal-day:not([disabled]) { background: #efe4d3; color: var(--color-primary-dark); font-weight: 700; }
.req .cl-calendly .cal-day:not([disabled]):hover { background: #e4d3bb; }
.req .cl-calendly .cal-day[disabled] { background: transparent; text-decoration: none; cursor: default; }
.req .cl-calendly .cal-day.is-selected { background: var(--color-primary); color: #fff; }
.cl-calendly .cal-day.is-today { box-shadow: none; }
.cl-calendly .cal-day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; transform: translateX(-50%); }
.cl-times-title { margin: 0 0 var(--space-3); font-size: var(--text-sm); font-weight: 600; min-height: 1.4em; }
.cl-slots { display: grid; gap: var(--space-2); }
.cl-slot { width: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--color-primary); border-radius: var(--radius-md); background: #fff; color: var(--color-primary-dark); font: inherit; font-size: var(--text-sm); font-weight: 700; text-align: center; cursor: pointer; transition: box-shadow 0.15s, background 0.15s; }
.cl-slot:hover:not([disabled]) { box-shadow: 0 0 0 1px var(--color-primary) inset; }
.cl-slot[disabled] { border-color: var(--color-border); color: #a5a5a5; cursor: default; opacity: 1; }
.cl-slot.is-selected { background: var(--color-primary); color: #fff; box-shadow: none; }
.cl-slot:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.cl-chosen { margin-top: var(--space-4); font-size: var(--text-sm); font-weight: 500; }
@media (max-width: 40rem) { .cl-slots { grid-template-columns: repeat(3, 1fr); } .cl-slot { padding-inline: 0.2rem; font-size: var(--text-xs); } }
@media (prefers-reduced-motion: reduce) { .cl-slot { transition: none; } }

/* Schritte erscheinen erst, wenn der vorherige abgeschlossen ist */
.pd-step.is-locked { display: none; }
.pd-step.pd-reveal { animation: pd-reveal-in 0.4s ease both; }
@keyframes pd-reveal-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pd-step.pd-reveal { animation: none; } }

/* ===== Casa: Jeder Schritt zeigt seine Darstellung links und ersetzt die vorherige ===== */
@media (min-width: 62rem) {
  .pd-visual.has-stage .pd-image, .pd-visual.has-stage .pd-note { display: none; }
  .pd-image img { max-height: calc(100vh - 21rem); }
  .pd-visual .pd-detail { display: block; margin-top: 0; padding: 0.9rem; }
  .pd-visual .pd-detail .pd-detail-head { flex-direction: row; align-items: center; margin-bottom: 0.6rem; }
  .pd-visual .pd-detail .pd-detail-media { aspect-ratio: 5 / 4; max-height: calc(100vh - 26rem); min-height: 16rem; }
  .pd-visual .pd-detail.is-wide .pd-detail-media { aspect-ratio: auto; max-height: none; min-height: 0; }
  .pd-visual .pd-detail .pd-detail-cap { margin-top: 0.6rem; font-size: var(--text-sm); }
  .pd-visual .pd-detail .pd-detail-cta { grid-column: auto; margin-top: 0.5rem; }
  .pd-visual .pd-detail .pd-duo { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .pd-visual .pd-detail .pd-duo svg { max-height: none; height: auto; }
  .pd-visual .pd-detail .pd-detail-media video, .pd-visual .pd-detail .pd-detail-media > img { object-fit: contain; }
  .pd-visual.has-stage .pd-detail { animation: pd-stage-in 0.3s ease both; }
  .pd-visual > .pd-chip { position: static; margin-top: var(--space-3); width: fit-content; max-width: 100%; background: #fff; border: 1.5px solid var(--color-border); box-shadow: none; }
}
.pd-visual .pd-detail[hidden], .pd-detail[hidden] { display: none !important; }

/* Bewertung unter dem Modellnamen */
.pd-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin: 0.2rem 0 var(--space-3); font-size: var(--text-sm); }
.pd-rating[hidden] { display: none; }
.pd-stars { --p: 96%; display: inline-block; width: 6.2rem; height: 1.2rem; background: linear-gradient(90deg, #e8a500 var(--p), #d9d5cf var(--p)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.2l2.9 6.2 6.8.8-5 4.7 1.3 6.7L12 17.200 6 20.600l1.300-6.700-5-4.700 6.800-.8z'/%3E%3C/svg%3E") 0 0 / 1.24rem 1.2rem repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.2l2.9 6.2 6.8.8-5 4.7 1.3 6.7L12 17.200 6 20.600l1.300-6.700-5-4.700 6.800-.8z'/%3E%3C/svg%3E") 0 0 / 1.24rem 1.2rem repeat-x; }
.pd-rating-text { color: var(--color-text); }
.pd-rating-text strong { font-weight: 700; }

@keyframes pd-stage-in { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pd-visual.has-stage .pd-detail { animation: none; } }

/* ===== Funktionen: erst fragen, dann nacheinander ===== */
.pd-fn[hidden] { display: none; }
.pd-gate-sub { margin: -0.1rem 0 var(--space-3); font-size: var(--text-sm); font-weight: 300; line-height: 1.5; }
.pd-fn-gate legend { font-size: var(--text-base); }
.pd-fn-gate .opt-grid-3 .opt { font-size: var(--text-xs); min-height: 3.2rem; }
.pd-seqnav { margin-top: var(--space-4); }
.pd-seqnav[hidden] { display: none; }
.pd-seq-count { margin: 0 0 var(--space-2); font-size: var(--text-xs); font-weight: 500; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.pd-seqnav .pd-navrow { display: flex; align-items: center; gap: var(--space-4); }
.pd-seq-back { background: none; border: 0; padding: 0.5rem 0; font: inherit; font-size: var(--text-sm); text-decoration: underline; cursor: pointer; color: var(--color-text); }
.pd-seq-back[hidden], #fn-seq-next[hidden] { display: none; }
.pd-seq-back:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.pd-fn-gate { margin-bottom: var(--space-4); }
.pd-chip[hidden], .pd-chip.pd-colorbar[hidden] { display: none !important; }

/* Handy und Tablet: zuerst Name, Bewertung, Beschreibung und Preis, dann das Bild, dann die Schritte */
@media (max-width: 62rem) {
  .pd-grid { display: flex; flex-direction: column; gap: 0; }
  .pd-controls { display: contents; }
  .pd-intro { order: -1; margin-bottom: var(--space-6); }
  .pd-visual { margin-bottom: var(--space-6); }
}

/* ===== Casa: Micro-USPs, MwSt., Zusammenfassung erst am Ende ===== */
.pd-usps { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem var(--space-4); margin: 0 0 var(--space-6); padding: 0; list-style: none; }
.pd-usps li { display: flex; align-items: center; gap: 0.55rem; font-size: var(--text-sm); font-weight: 500; line-height: 1.3; }
.pd-usps img { width: 1.6rem; height: 1.6rem; flex: none; object-fit: contain; }
@media (max-width: 26rem) { .pd-usps { grid-template-columns: 1fr; } }
.pd-vat { font-size: var(--text-xs); font-weight: 400; color: var(--color-muted); margin-left: 0.25rem; white-space: nowrap; }
.pd-sum-price .pd-vat { display: inline; }
.pd-summary[hidden], .pd-bar[hidden] { display: none !important; }
.pd-summary.pd-reveal-sum { animation: pd-sum-in 0.45s ease both; }
@keyframes pd-sum-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pd-summary.pd-reveal-sum { animation: none; } }

/* ===== Abschnitte: Vier Versprechen / Und was sie für dich bedeuten ===== */
.usp-detail { padding-block: var(--space-16) var(--space-8); }
.usp-stories { padding-block: var(--space-12) var(--space-16); }
.section-intro { text-align: center; max-width: 40rem; margin: calc(var(--space-6) * -1) auto var(--space-10, 2.5rem); font-size: var(--text-base); font-weight: 300; line-height: 1.6; }
.usp-detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); list-style: none; padding: 0; margin: 0; }
.usp-detail-card { background: #fff; border-radius: var(--radius-lg); padding: var(--space-6); border: 1px solid rgba(0,0,0,0.08); }
.usp-detail-card img { width: 2.6rem; height: 2.6rem; object-fit: contain; margin-bottom: var(--space-3); }
.usp-detail-card h3 { font-size: var(--text-lg); margin: 0 0 var(--space-2); letter-spacing: -0.01em; }
.usp-detail-card p { margin: 0; font-size: var(--text-sm); font-weight: 300; line-height: 1.6; }
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.story-card { background: #fff; border-radius: var(--radius-lg); padding: var(--space-8); border: 1px solid rgba(0,0,0,0.08); display: flex; flex-direction: column; }
.story-tag { display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start; margin: 0 0 var(--space-4); padding: 0.3rem 0.75rem 0.3rem 0.4rem; border-radius: 999px; background: #efe4d3; color: var(--color-primary-dark); font-size: var(--text-xs); font-weight: 600; }
.story-tag img { width: 1.3rem; height: 1.3rem; object-fit: contain; }
.story-card h3 { font-size: var(--text-xl, 1.4rem); line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 var(--space-3); }
.story-card p { font-size: var(--text-base); font-weight: 300; line-height: 1.65; margin: 0 0 var(--space-4); }
.story-card .story-benefit { margin: auto 0 0; padding-top: var(--space-4); border-top: 1px solid rgba(0,0,0,0.1); font-size: var(--text-sm); font-weight: 400; }
.story-benefit strong { color: var(--color-primary-dark); font-weight: 700; }
@media (max-width: 62rem) { .usp-detail-grid { grid-template-columns: repeat(2, 1fr); } .story-grid { grid-template-columns: 1fr; } }
@media (max-width: 40rem) { .usp-detail-grid { grid-template-columns: 1fr; } .story-card { padding: var(--space-6); } .section-intro { margin-top: calc(var(--space-4) * -1); } }
.pd-usps li span { text-wrap: balance; }
.usp-detail-card h3, .story-card h3, .section-intro { text-wrap: balance; }

/* Vier Versprechen: offen, mittig, große Symbole, wenig Text */
.usp-detail-grid { gap: var(--space-8); }
.usp-detail-card { background: none; border: 0; padding: 0 var(--space-2); text-align: center; }
.usp-detail-card img { width: 4.5rem; height: 4.5rem; margin: 0 auto var(--space-4); display: block; }
.usp-detail-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.usp-detail-card p { font-size: var(--text-base); max-width: 16rem; margin-inline: auto; text-wrap: balance; }
.usp-detail-card p strong { font-weight: 600; }
@media (max-width: 40rem) { .usp-detail-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8) var(--space-4); } .usp-detail-card img { width: 3.5rem; height: 3.5rem; } .usp-detail-card p { font-size: var(--text-sm); } }

/* ===== "Und was sie für dich bedeuten": Kapitel statt Kästchen ===== */
.usp-stories { padding: 0; background: none; }
.st-intro { background: #1c1916; color: #efe8de; padding: var(--space-16) 0 var(--space-12); }
.st-title { color: #fff; text-align: center; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.05; letter-spacing: -0.035em; margin: 0 auto; max-width: 18ch; text-wrap: balance; }
.st-title span, .st-dark h3 span { color: #d9a866; }
.st-stats { list-style: none; padding: 0; margin: var(--space-12) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); text-align: center; }
.st-stats strong { display: block; font-size: 1.35rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; }
.st-stats em { font-style: normal; font-size: 2.8rem; color: #d9a866; letter-spacing: -0.03em; margin-right: 0.25rem; vertical-align: -0.12em; }
.st-stats span { display: block; margin-top: 0.3rem; font-size: var(--text-sm); font-weight: 300; color: #cbbfae; }
.st-chapter h3 { font-size: clamp(1.8rem, 3.3vw, 2.9rem); line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 var(--space-4); text-wrap: balance; }
.st-chapter p { font-size: var(--text-lg, 1.15rem); font-weight: 300; line-height: 1.6; margin: 0 0 var(--space-4); }
.st-tag { display: inline-flex; align-items: center; gap: 0.6rem; font-size: var(--text-xs) !important; font-weight: 600 !important; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: var(--space-4) !important; color: var(--color-primary); }
.st-tag::before { content: ""; width: 1.8rem; height: 2px; background: currentColor; }
.st-benefit { font-weight: 600 !important; padding-left: var(--space-4); border-left: 3px solid currentColor; font-size: var(--text-base) !important; }
/* Kapitel 1: dunkel, Bild rechts weich ausgeblendet */
.st-dark { background: #1c1916; color: #efe8de; padding: var(--space-8) 0 var(--space-16); overflow: hidden; }
.st-dark-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; }
.st-dark .st-tag { color: #d9a866; }
.st-dark h3 { color: #fff; }
.st-dark .st-benefit { color: #fff; border-color: #d9a866; }
.st-dark-media { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.st-dark-media img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.st-dark-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #1c1916 0%, rgba(28,25,22,0.25) 30%, rgba(28,25,22,0) 55%); }
/* Kapitel 2: hell, Überschrift und Text nebeneinander, breites Bild darunter */
.st-wide { background: var(--color-bg); padding: var(--space-16) 0; }
.st-wide-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-12); align-items: end; margin-bottom: var(--space-8); }
.st-wide-head h3 { margin: 0; }
.st-wide-head h3 span, .st-split h3 span { color: var(--color-primary); }
.st-wide-media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.st-wide-media img { width: 100%; height: auto; display: block; }
/* Kapitel 3: Typografie auf Braun */
.st-type { background: var(--color-primary); color: #fff; padding: var(--space-16) 0; overflow: hidden; }
.st-type-grid { display: grid; grid-template-columns: auto 1fr; gap: var(--space-12); align-items: center; }
.st-big { font-size: clamp(8rem, 20vw, 17rem) !important; font-weight: 800 !important; line-height: 0.8 !important; letter-spacing: -0.07em; margin: 0 !important; color: #fff; }
.st-big span { font-size: 0.45em; vertical-align: 0.9em; margin-left: 0.05em; color: #f1d9b0; }
.st-type .st-tag { color: #f1d9b0; }
.st-type h3 span { color: #f1d9b0; }
.st-type .st-benefit { border-color: #f1d9b0; }
.st-type .st-copy { max-width: 34rem; }
/* Kapitel 4: Text links, Grundriss-Skizze rechts */
.st-split { background: var(--color-bg); padding: var(--space-16) 0 var(--space-12); }
.st-split-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-12); align-items: center; }
.st-plan { margin: 0; filter: drop-shadow(0 12px 30px rgba(0,0,0,0.08)); }
.st-plan svg { width: 100%; height: auto; display: block; }
.st-cta { margin-top: var(--space-4); }
@media (max-width: 62rem) {
  .st-stats { grid-template-columns: 1fr 1fr; gap: var(--space-8) var(--space-4); }
  .st-dark-grid, .st-wide-head, .st-split-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .st-dark-media::after { background: linear-gradient(180deg, #1c1916 0%, rgba(28,25,22,0) 30%); }
  .st-dark-media { order: -1; }
  .st-type-grid { grid-template-columns: 1fr; gap: var(--space-4); }
}
@media (max-width: 40rem) {
  .st-intro, .st-wide, .st-type, .st-split { padding-block: var(--space-12); }
  .st-stats em { font-size: 2.2rem; }
  .st-stats strong { font-size: 1.05rem; }
  .st-chapter p { font-size: var(--text-base); }
}
.st-title { max-width: 26ch; }
.st-dark-media::after { content: none; }
.st-dark-media { box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
@media (max-width: 40rem) { .st-wide-media img { aspect-ratio: 16 / 9; object-fit: cover; } }
/* Mehr Luft zwischen "Vier Versprechen" und "Und was sie für dich bedeuten" */
.usp-detail { padding-block: var(--space-16) 7rem; }
@media (max-width: 40rem) { .usp-detail { padding-bottom: 4.5rem; } }
