/* Website-Bausteine: Terminbuchung (erfundene Tischlerei) und Vorher-Nachher-Regler. */
/* ---- Terminbuchung ---- */
.termin-app { overflow: hidden; border: 1px solid #e3dccf; border-radius: 13px; background: #fbf8f3; }
.termin-kopf { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 28px; background: #5b3c22; color: #fff; }
.termin-marke { font-size: 17px; font-weight: 600; letter-spacing: .14em; }
.termin-marke span { display: block; margin-top: 4px; color: #ead9c6; font-size: 11px; font-weight: 400; letter-spacing: .03em; }
.termin-kopf .demo-klein { color: #ead9c6; }
.termin-schritte { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 16px 28px; list-style: none; border-bottom: 1px solid #e8e0d3; background: #fff; color: #7b6d5b; font-size: 12px; }
.termin-schritte [aria-current] { color: #5b3c22; font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }
.termin-form { padding: 28px; }
.termin-teil { max-width: 820px; }
.termin-teil h3 { margin: 0 0 18px; color: #3d2a19; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.termin-leistungen { display: grid; gap: 10px; }
.demo-sammlung .termin-option { display: flex; gap: 12px; margin: 0; padding: 16px; border: 1px solid #e3dccf; border-radius: 9px; background: #fff; color: #3d2a19; cursor: pointer; }
.demo-sammlung .termin-option:has(input:checked) { border-color: #7a5230; box-shadow: inset 0 0 0 1px #7a5230; }
.demo-sammlung .termin-option input, .demo-sammlung .termin-haken input { accent-color: #7a5230; }
.termin-option strong { display: block; font-size: 15px; font-weight: 600; }
.termin-option small { display: block; margin-top: 4px; color: #6f604d; font-size: 12px; }
.demo-sammlung .termin-gruppe legend { margin-bottom: 10px; color: #3d2a19; font-size: 14px; }
.termin-gruppe + .termin-gruppe { margin-top: 22px; }
.termin-tage, .termin-zeiten { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-sammlung .termin-chip { position: relative; margin: 0; }
.demo-sammlung .termin-chip input { position: absolute; opacity: 0; }
.termin-chip span { display: inline-block; min-width: 92px; padding: 10px 14px; border: 1px solid #e3dccf; border-radius: 8px; background: #fff; color: #3d2a19; font-size: 13px; text-align: center; cursor: pointer; }
.termin-chip input:checked + span { border-color: #7a5230; background: #7a5230; color: #fff; }
.termin-chip input:focus-visible + span { outline: 3px solid #155eef; outline-offset: 2px; }
.termin-chip input:disabled + span { color: #b2a796; background: #f4efe7; text-decoration: line-through; cursor: default; }
.termin-navigation { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #e8e0d3; }
.termin-app .knopf--haupt { border-color: #7a5230; background: #7a5230; }
.termin-app .knopf--haupt:hover { border-color: #5b3c22; background: #5b3c22; }
.termin-app .demo-textknopf { color: #7a5230; }
.termin-auswahl { margin: 0 0 16px; padding: 12px 14px; border-radius: 7px; background: #f1e9dd; color: #3d2a19; font-size: 14px; font-weight: 500; }
.termin-person { display: grid; gap: 3px; padding: 14px 16px; border: 1px solid #e3dccf; border-radius: 8px; background: #fff; font-size: 12px; color: #6f604d; }
.termin-person strong { color: #3d2a19; font-size: 15px; }
.demo-sammlung .termin-haken { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; color: #3d2a19; }
.termin-fertig .termin-bestaetigung { margin: 0 0 8px; color: #3d2a19; font-size: 17px; font-weight: 500; }
.termin-betrieb { margin-top: 26px; padding: 20px; border: 1px solid #e3dccf; border-radius: 10px; background: #fff; }
.termin-betrieb h4 { margin: 0 0 12px; color: #3d2a19; font-size: 14px; }
.termin-kalender { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.termin-kalender li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 9px 12px; border-radius: 7px; background: #f6f1ea; color: #6f604d; font-size: 13px; }
.termin-kalender strong { color: #3d2a19; font-family: var(--schrift-mono); font-weight: 500; }
.termin-kalender .neu { background: #7a5230; color: #fff; }
.termin-kalender .neu strong { color: #fff; }
/* ---- Vorher-Nachher ---- */
.vergleich-app { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(220px, 1fr); gap: 0 30px; padding: 26px; border: 1px solid var(--demo-linie, #dee5ee); border-radius: 13px; background: #fff; }
.vergleich-kopf { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 20px; }
.vergleich-kopf h3 { margin: 6px 0 0; color: #273c57; font-size: 20px; font-weight: 600; }
.vergleich-auswahl { display: flex; gap: 6px; padding: 4px; border-radius: 9px; background: #eef2f7; }
.vergleich-tab { min-height: 38px; padding: 8px 14px; border: 0; border-radius: 7px; background: transparent; color: #34465f; font: inherit; font-size: 13px; cursor: pointer; }
.vergleich-tab[aria-pressed="true"] { background: #fff; color: #081b33; font-weight: 600; box-shadow: 0 2px 8px #10284512; }
.vergleich-bild { margin: 0; }
.vergleich-flaeche { --teilung: 50%; position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 8 / 5; background: #dde2e6; user-select: none; }
.vergleich-flaeche img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.vergleich-nachher { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--teilung)); }
.vergleich-linie { position: absolute; top: 0; bottom: 0; left: var(--teilung); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px #00000026; pointer-events: none; }
.vergleich-linie span { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #081b33; font-size: 15px; font-weight: 700; letter-spacing: 2px; box-shadow: 0 4px 14px #0003; transform: translate(-50%, -50%); }
.vergleich-etikett { position: absolute; top: 14px; padding: 4px 10px; border-radius: 5px; background: #081b33cc; color: #fff; font-size: 12px; pointer-events: none; }
.vergleich-etikett--vorher { left: 14px; }
.vergleich-etikett--nachher { right: 14px; }
.vergleich-regler { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.vergleich-flaeche:has(.vergleich-regler:focus-visible) { outline: 3px solid #155eef; outline-offset: 3px; }
.vergleich-bild figcaption { margin-top: 10px; color: #526172; font-size: 12px; }
.vergleich-unterschiede { align-self: start; padding: 20px; border-radius: 10px; background: #f4f7fb; }
.vergleich-unterschiede h4 { margin: 0 0 8px; color: #273c57; font-size: 15px; }
.vergleich-unterschiede ul { margin: 0 0 8px; padding-left: 20px; color: #34465f; font-size: 14px; line-height: 1.9; }
@media (max-width: 760px) {
  .termin-kopf { align-items: flex-start; flex-direction: column; padding: 20px; }
  .termin-schritte { padding: 14px 20px; gap: 6px 14px; font-size: 11px; }
  .termin-form { padding: 20px 18px; }
  .termin-chip span { min-width: 0; padding: 10px 12px; }
  .vergleich-app { grid-template-columns: 1fr; padding: 18px 16px; }
  .vergleich-unterschiede { margin-top: 18px; }
  .vergleich-linie span { width: 38px; height: 38px; font-size: 13px; }
}
