/* OPDPRO.CARE Praxisworkshop (site/workshop.html, Bennett 09.10.2026): Inhalte aus seinem Mockup, Gestaltung der
   Landingpage. Baut auf styles.css auf (Tokens, Blöcke, Knöpfe, Karten, Schritte, FAQ, Footer, Fakten-Reihe).
   Farben nur über die Tokens bzw. rgba() aus Palettenfarben – keine neuen HEX-Werte. */

/* Kein Film: Seite hell, Kopfzeile immer als weiße Leiste (film-passed steht fest am <html>). */
html.seite-workshop,
html.seite-workshop body {
  background: var(--surface);
  color-scheme: light;
}

/* Fünf Anker passen erst ab 1100 px neben Logo und Knopf (bei 900 px liefen sie über). */
.seite-workshop .site-nav__link {
  display: none;
}

@media (min-width: 1100px) {
  .seite-workshop .site-nav__link {
    display: inline-flex;
  }
}

/* „Workshop buchen“ ist breiter als „Erstgespräch“: Unter 420 px passt die Pille nicht neben das Logo (bei 375 px
   gemessen: rechte Kante 378 px, also 3 px über den Rand und ohne Randabstand; passt erst ab ~400 px). Dort entfällt sie wie im Mockup (Handy: nur Logo); „Workshop konfigurieren“ steht im Hero. */
@media (max-width: 419px) {
  .seite-workshop .site-nav__cta {
    display: none;
  }
}

/* Lange Knopftexte („Jetzt Workshop konfigurieren“) dürfen am Handy umbrechen statt überzulaufen. */
.seite-workshop .button {
  padding-block: 12px;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

/* hidden muss gewinnen: .button setzt display und hob das hidden-Attribut auf – „Angebot anfordern“ stand ohne
   HubSpot-Link sichtbar im Dialog (09.10. im Browser gesehen). */
.seite-workshop [hidden] {
  display: none !important;
}

/* .button ist für <a> gebaut – als <button> erbte er Rahmen (2px outset) und Schrift des Browsers (code-reviewer 09.10.). */
button.button {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

/* Zweiter Knopf: Kontur statt Fläche. */
.button--zweit {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.button--zweit:hover {
  background: var(--ink);
  color: var(--surface);
}

.seite-workshop button:focus-visible,
.seite-workshop input:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ---------- 1 Hero ---------- */

.ws-hero {
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 112px));
}

.ws-hero__titel {
  margin: 0;
  font-size: clamp(32px, 7vw, 88px);
}

.ws-hero__titel > span {
  display: block;
}

.ws-aktionen {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.ws-hero__preis {
  color: var(--text-2);
  font-size: 15px;
}

/* Fotos: Radius wie die Karten, Hellgrau als Platzhalter, bis das Bild da ist. */
.ws-foto {
  position: relative;
  margin: 0;
}

.ws-foto img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  background: var(--surface-2);
  object-fit: cover;
}

.ws-foto--hero {
  margin-top: clamp(48px, 6vw, 80px);
}

.ws-foto--hero img {
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-card);
}

.ws-foto__etikett {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

/* „02 Tage für Ihre Wertschöpfung.“: am Handy unter dem Bild, ab 700 px als weiße Karte im Bild. */
.ws-foto__marke {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.ws-foto__zahl {
  color: var(--red);
  font-size: clamp(44px, 4.6vw, 64px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.04em;
}

.ws-foto__worte {
  display: grid;
  gap: 2px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.35;
}

.ws-foto__worte strong {
  color: var(--ink);
  font-size: 17px;
}

.ws-foto__unterschrift {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.4;
}

@media (min-width: 700px) {
  .ws-foto--hero img {
    aspect-ratio: 2400 / 1484;
  }

  .ws-foto__etikett {
    top: 24px;
    left: 24px;
  }

  .ws-foto__marke {
    position: absolute;
    left: 24px;
    bottom: 24px;
    margin: 0;
    padding: 16px 24px 16px 20px;
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow-card);
  }
}

/* ---------- 2 Kundenstimmen ---------- */

.ws-stimme,
.ws-versprechen {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 3.4vw, 48px);
  border-radius: 24px;
}

.ws-stimme {
  border: 1px solid var(--hairline);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.ws-platzhalter {
  display: grid;
  gap: 10px;
  margin: 0;
}

.ws-platzhalter__bild {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 4px;
  aspect-ratio: 3 / 2;
  border: 1.5px dashed var(--line-strong);
  border-radius: 20px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 14px;
  text-align: center;
}

.ws-platzhalter__bild svg {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}

.ws-platzhalter__bild strong {
  color: var(--ink);
  font-size: 17px;
}

.ws-platzhalter__text {
  color: var(--text-2);
  font-size: 14px;
  text-align: center;
}

.ws-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}

.ws-kopf__titel {
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* Status „Entwurf · Freigabe offen“: neutrale Pille mit rotem Punkt – fällt auf, ohne zu warnen. */
.ws-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.ws-status::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.ws-zitat {
  margin: 24px 0 0;
  color: var(--text);
  font-size: clamp(21px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.ws-zitat p {
  margin: 0;
}

.ws-zitat strong {
  color: var(--ink);
  font-weight: 700;
}

.ws-zitat__schluss {
  margin-top: 12px;
}

.ws-person {
  display: grid;
  gap: 2px;
  margin-top: 24px;
}

.ws-person__name {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.ws-person__rolle {
  color: var(--text-2);
  font-size: 14px;
}

.ws-hinweis {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.45;
}

/* Kevin Jung: dunkle Karte wie die Bühne der Startseite, Porträt links. */
.ws-versprechen {
  margin-top: 24px;
  background-color: var(--dark);
  background-image: var(--flaeche-dunkel);
  box-shadow: var(--shadow-card);
  color: var(--on-dark-2);
}

.ws-versprechen__bild {
  max-width: 240px;
  margin: 0;
}

.ws-versprechen__bild img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  background: rgba(245, 245, 243, 0.08);
  object-fit: cover;
  object-position: 50% 15%;
}

.ws-versprechen .ws-kopf__titel,
.ws-versprechen .ws-zitat strong,
.ws-versprechen .ws-zitat__schluss,
.ws-versprechen .ws-person__name {
  color: var(--on-dark);
}

.ws-versprechen .ws-zitat,
.ws-versprechen .ws-person__rolle,
.ws-versprechen .ws-hinweis {
  color: var(--on-dark-2);
}

.ws-versprechen .ws-status {
  background: rgba(245, 245, 243, 0.08);
  box-shadow: inset 0 0 0 1px rgba(245, 245, 243, 0.24);
  color: var(--on-dark);
}

@media (min-width: 900px) {
  .ws-stimme,
  .ws-versprechen {
    grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
    gap: 56px;
    align-items: center;
  }

  .ws-platzhalter__bild {
    aspect-ratio: 4 / 5;
  }

  .ws-versprechen__bild {
    max-width: none;
  }
}

/* Leistungszusagen: vier weiße Kacheln mit rotem Haken. */
.ws-zusagen {
  margin-top: clamp(56px, 7vw, 96px);
}

.ws-zusagen__kopf {
  display: grid;
  gap: 12px;
}

.ws-zusagen__liste {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.ws-zusage {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: var(--surface);
}

.ws-zusage__haken {
  flex: none;
  width: 28px;
  height: 28px;
  padding: 4px;
  border-radius: 50%;
  background: var(--red);
  color: var(--surface);
}

.ws-zusage > div {
  display: grid;
  gap: 4px;
}

.ws-zusage__titel {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.3;
}

.ws-zusage__text {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.45;
}

@media (min-width: 700px) {
  .ws-zusagen__liste {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .ws-zusagen__liste {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Weitere Zitatentwürfe: aufklappbar wie die FAQ. */
.ws-mehr {
  margin-top: 48px;
  border-top: 1px solid var(--line-strong);
}

.ws-mehr__inhalt {
  display: grid;
  gap: 16px;
  padding-bottom: 32px;
}

.ws-mehr__karten {
  display: grid;
  gap: 16px;
}

.ws-entwurf {
  padding: 24px;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: var(--surface);
}

.ws-entwurf .ws-zitat {
  margin-top: 16px;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.45;
}

@media (min-width: 900px) {
  .ws-mehr__karten {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 3 Für wen? ---------- */

.ws-intro .lead {
  max-width: 760px;
}

.ws-rollen {
  display: grid;
  gap: 16px;
  margin-top: 56px;
}

.ws-rollen__knoepfe {
  display: grid;
  gap: 8px;
  align-content: start;
}

.ws-rolle {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 14px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ws-rolle:hover {
  border-color: var(--ink);
}

/* Nummer 20 px fett = großer Text, OPD Red reicht dort auf Weiß (4,13:1 ≥ 3:1) und auf Schwarz. */
.ws-rolle__nr {
  flex: none;
  color: var(--red);
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ws-rolle[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.ws-rollen__panel .h3 {
  margin-bottom: 4px;
}

.ws-branchen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.ws-branchen__label {
  color: var(--text-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ws-branchen__liste {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ws-branchen__liste li {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

@media (min-width: 900px) {
  .ws-rollen {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 24px;
  }
}

/* ---------- 4 Ihr Nutzen (dunkel) ---------- */

.ws-nutzen {
  display: grid;
  gap: 48px;
}

.ws-nutzen__links {
  display: grid;
  gap: 24px;
  align-content: start;
}

.ws-nutzen__intro,
.ws-paket__intro {
  color: var(--on-dark-2);
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.45;
}

.ws-kette {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.ws-kette__glied {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(245, 245, 243, 0.06);
  box-shadow: inset 0 0 0 1px rgba(245, 245, 243, 0.14);
  color: var(--on-dark);
  font-size: 15px;
  font-weight: 700;
}

.ws-kette__glied .icon {
  width: 40px;
  height: 40px;
}

.ws-nutzen__ergebnis {
  hyphens: manual;
  -webkit-hyphens: manual;
  padding-left: 16px;
  border-left: 3px solid var(--red);
  color: var(--on-dark);
  font-size: clamp(20px, 1.9vw, 24px);
  font-weight: 700;
  line-height: 1.3;
}

@media (min-width: 600px) {
  .ws-kette {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .ws-nutzen {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }

  .ws-nutzen .schritte {
    margin-top: 0;
  }
}

/* ---------- 5 Ablauf ---------- */

.ws-ablauf {
  display: grid;
  gap: 48px;
  margin-top: 56px;
}

/* Reiter als Segmentschalter; am Handy zwei gleich breite Hälften. */
.ws-reiter {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-2);
}

.ws-reiter__knopf {
  min-height: 44px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ws-reiter__knopf[aria-selected="true"] {
  background: var(--ink);
  color: var(--surface);
}

.ws-tag {
  margin-top: 24px;
}

.ws-tag + .ws-tag:not([hidden]) {
  margin-top: 40px;
}

.ws-punkte {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.ws-punkt {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.ws-punkt__nr {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--red);
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ws-punkt__titel {
  margin: 6px 0 4px;
  color: var(--ink);
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.ws-punkt__text {
  color: var(--text-2);
}

.ws-ablauf__hinweis {
  margin-top: 24px;
  color: var(--text-2);
  font-size: 15px;
}

.ws-mitnehmen {
  gap: 14px;
}

.ws-foto--klein img {
  aspect-ratio: 3 / 2;
  border-radius: 16px;
}

.ws-mitnehmen__kicker {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ws-zertifikat {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  padding: 16px;
  border-radius: 16px;
  background: var(--surface-2);
}

.ws-zertifikat__icon {
  flex: none;
  width: 40px;
  height: 40px;
  stroke-width: 1.7;
}

.ws-zertifikat p {
  display: grid;
  gap: 2px;
  font-size: 14px;
  line-height: 1.4;
}

.ws-zertifikat strong {
  color: var(--ink);
  font-size: 16px;
}

@media (min-width: 600px) {
  .ws-reiter {
    display: inline-grid;
    grid-template-columns: auto auto;
  }

  .ws-reiter__knopf {
    padding: 0 22px;
  }
}

@media (min-width: 900px) {
  .ws-ablauf {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
    align-items: start;
  }
}

/* ---------- 6 Ort ---------- */

.ws-ort {
  display: grid;
  gap: 48px;
}

.ws-ort__text {
  display: grid;
  gap: 24px;
  align-content: start;
}

.ws-ort__punkte {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.ws-ort__punkte li {
  display: grid;
  gap: 4px;
  padding-top: 16px;
  border-top: 2px solid var(--red);
}

.ws-ort__punkte strong {
  color: var(--ink);
  font-size: 17px;
}

.ws-ort__punkte span {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.45;
}

.ws-foto--ort img {
  aspect-ratio: 3 / 2;
  box-shadow: var(--shadow-card);
}

@media (min-width: 600px) {
  .ws-ort__punkte {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 900px) {
  .ws-ort {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 64px;
    align-items: center;
  }
}

/* ---------- 7 Komplettpaket (dunkel) ---------- */

.ws-paket {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
}

.ws-paket__text {
  display: grid;
  gap: 24px;
  align-content: start;
}

.ws-paket__liste {
  margin-top: 8px;
  hyphens: manual;
  -webkit-hyphens: manual;
}

.ws-paket__rahmen {
  color: var(--on-dark-2);
  font-size: 15px;
}

.ws-paket__inhouse {
  color: var(--on-dark);
}

.ws-paket__inhouse a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* Preiskarte: die Paketkarte der früheren Einstiegspakete (styles.css .paket), hier allein. */
.ws-preiskarte .preis {
  margin-top: 16px;
}

.ws-anzahl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.ws-anzahl__label {
  color: var(--ink);
  font-weight: 700;
}

.ws-stepper {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
}

.ws-stepper__knopf {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(64, 53, 50, 0.16);
  color: var(--ink);
  font: inherit;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.ws-stepper__knopf[aria-disabled="true"] {
  background: transparent;
  box-shadow: none;
  color: var(--line-strong);
  cursor: not-allowed;
}

.ws-stepper__feld {
  width: 48px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.ws-stepper__feld::-webkit-inner-spin-button,
.ws-stepper__feld::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.ws-klein {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.45;
}

.ws-klein--mitte {
  text-align: center;
}

.ws-rechnung {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.ws-zeile {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 15px;
}

.ws-zeile strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ws-zeile--summe {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.ws-zeile--summe strong {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.ws-preiskarte__knopf {
  width: 100%;
  margin-top: 24px;
}

/* Auf der dunklen Bühne wird ein Knopf beim Überfahren weiß (styles.css) – in der hellen Karte bliebe er unsichtbar. */
.ws-preiskarte .button:hover {
  background: var(--ink);
  color: var(--surface);
}

@media (min-width: 600px) {
  .ws-paket__liste {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }
}

@media (min-width: 900px) {
  .ws-paket {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 64px;
    align-items: start;
  }

  /* styles.css macht .paket ab 900 px zu einer Subgrid-Karte über drei Zeilen – hier steht sie allein. */
  .ws-paket .ws-preiskarte {
    display: flex;
    grid-row: auto;
    grid-template-rows: none;
  }
}

/* ---------- 8/9 Fragen, Schluss, Footer ---------- */

.wrap--faq .block__intro + .faq {
  margin-top: 48px;
}

.block--marke .ws-schluss__text {
  color: var(--ink);
}

.block--kontakt .ws-schluss__text {
  margin-top: -16px;
}

.site-footer__adresse a {
  color: inherit;
  text-decoration: none;
}

.site-footer__adresse a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ws-fuss {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  font-size: 13px;
}

.ws-fuss a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Buchungsübersicht ---------- */

.ws-dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: clamp(24px, 4vw, 36px);
  border: 0;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.45);
  color: var(--text);
  color-scheme: light;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  overflow: auto;
}

/* Ohne <dialog>-Unterstützung: zu bleibt zu, offen steht fest in der Mitte (Rückfall in workshop.js). */
.ws-dialog:not([open]) {
  display: none;
}

.ws-dialog.ws-dialog--offen {
  position: fixed;
  inset: 0;
  z-index: 30;
  margin: auto;
}

.ws-dialog::backdrop {
  background: rgba(11, 12, 14, 0.6);
}

:where(.ws-dialog) :where(p, h2) {
  margin: 0;
}

.ws-dialog__kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Bei 375 px ragte × 5 px über den Rand (Eyebrow ohne Umbruch, code-reviewer 09.10.). */
.ws-dialog__kopf .paket__name {
  flex-wrap: wrap;
  min-width: 0;
}

.ws-dialog__zu {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink);
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.ws-dialog .h3 {
  margin-top: 16px;
}

.ws-dialog__text {
  margin-top: 12px;
}

.ws-vorschau {
  display: grid;
  gap: 4px;
  margin-top: 20px;
  padding: 16px;
  border-radius: 16px;
  background: var(--surface-2);
  font-size: 14px;
}

.ws-vorschau strong {
  color: var(--ink);
}

.ws-dialog__knoepfe {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.ws-dialog .button {
  width: 100%;
}

/* Knöpfe der Buchung (Bennett 09.10.: „cleaner“): flacher, mit Pfeil. Schrift bleibt 19 px fett – nur so zählt Weiß auf
   OPD Red (4,13:1) als großer Text (ab 18,66 px fett, 3:1); bei 17 px fiele er unter 4,5:1 (code-reviewer 09.10.). */
.ws-knopf {
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  font-size: 19px;
  font-weight: 700;
}

.ws-knopf__pfeil {
  flex: none;
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.ws-knopf:hover .ws-knopf__pfeil {
  transform: translateX(3px);
}

.ws-dialog__angebot {
  margin-top: -4px;
  text-align: center;
}

/* Zusammenfassung als Dateikarte: PDF-Symbol, Titel, Umfang, Pfeil nach unten. */
.ws-datei {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.ws-datei:hover {
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.ws-datei:focus-visible,
.ws-zurueck:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.ws-datei__icon {
  width: 40px;
  height: 40px;
  color: var(--red);
}

.ws-datei__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ws-datei__text strong {
  font-size: 16px;
  line-height: 1.25;
}

.ws-datei__text > span {
  color: var(--text-2);
  font-size: 13px;
}

.ws-datei__pfeil {
  width: 20px;
  height: 20px;
}

/* „Zurück zum Workshop“: schlichter Textknopf. */
.ws-zurueck {
  justify-self: center;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.ws-zurueck:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Angebotsformular (Schritt 2 der Buchungsübersicht) ---------- */

.ws-dialog [tabindex="-1"]:focus {
  outline: none;
}

.ws-felder {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.ws-feld {
  display: grid;
  align-content: start;
  gap: 6px;
}

.ws-feld__name {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.ws-feld__eingabe {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
}

.ws-feld__eingabe--text {
  min-height: 96px;
  resize: vertical;
}

.ws-feld__eingabe:hover {
  border-color: var(--text-2);
}

.ws-feld__eingabe:focus-visible {
  border-color: var(--ink);
  outline: 2px solid var(--red);
  outline-offset: 1px;
}

/* Fehler: rote Kante am Feld (Nicht-Text, ≥ 3:1), Hinweis in Old Burgundy mit rotem Punkt – OPD Red nie als Fließtext. */
.ws-feld__eingabe[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: inset 0 0 0 1px var(--red);
}

.ws-feld__fehler {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
}

.ws-feld__fehler::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

/* Spamfalle: für Menschen unsichtbar, für Bots ein normales Feld. */
.ws-falle {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ws-einwilligung {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 6px 10px;
  align-items: start;
  margin-top: 18px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.ws-einwilligung__haken {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--red);
}

.ws-einwilligung a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ws-einwilligung .ws-feld__fehler {
  grid-column: 2;
}

.ws-fehler {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  box-shadow: inset 3px 0 0 var(--red);
  color: var(--ink);
  font-size: 14px;
}

.ws-knopf[aria-busy="true"] {
  cursor: progress;
  opacity: 0.75;
}

@media (min-width: 480px) {
  .ws-felder {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ws-feld--breit {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ws-rolle,
  .ws-reiter__knopf,
  .ws-knopf__pfeil,
  .ws-datei {
    transition: none;
  }
}
