/* =============================================================
   Workshop-Seiten (Schulen, Jugend, Erwachsenenbildung, Teamprojekte)
   Eine Vorlage, Präfix ws-. Jede Seite setzt nur ihre Akzentfarbe:
   <main class="ax-page ws-page ws--schulen"> usw.
   ============================================================= */

.ws--schulen     { --m-accent: #e2552b; --ws-akzent-text: #b23d17; }
.ws--jugend      { --m-accent: #e0457b; --ws-akzent-text: #a8285a; }
.ws--fortbildung { --m-accent: #3f7fe0; --ws-akzent-text: #2559a8; }
.ws--team        { --m-accent: #3f9b6b; --ws-akzent-text: #2a7350; }

.ws-page { background: var(--m-paper); }
.ws-page p { margin: 0 0 1em; color: var(--m-muted-light); }
.ws-page strong { color: var(--m-ink); font-weight: 600; }
.ws-page a:not([class]) { color: var(--ws-akzent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ws-page a:not([class]):hover { color: var(--m-ink); }
.ws-page h2 { margin: 0 0 24px; max-width: 22ch; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.ws-page h3 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.3rem); }
.ws-page h4 { margin: 0 0 8px; font-family: var(--m-display); font-weight: 500; font-size: 1.02rem; line-height: 1.3; letter-spacing: -0.01em; color: var(--m-ink); }

/* Abschnitte: zwei helle Töne im Wechsel, keine Zierbalken */
.ws-section { padding: clamp(72px, 9vw, 120px) 0; }
.ws-section--cream, .ws-section--white { background: var(--m-paper); }
.ws-section--beige, .ws-section--sand { background: var(--m-ivory); }
.ws-section + .ws-section { border-top: 1px solid var(--m-line-light); }
.ws-section-inner { width: min(var(--m-wrap), calc(100% - 2 * var(--m-gutter))); margin: 0 auto; }

/* Einstieg */
.ws-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: end; }
.ws-intro h1 { margin: 0 0 28px; font-size: clamp(2.3rem, 4.4vw, 3.9rem); line-height: 1.04; overflow-wrap: normal; hyphens: auto; -webkit-hyphens: auto; }
.ws-intro h1::before {
  content: "Workshops";
  display: block;
  margin-bottom: 22px;
  color: var(--ws-akzent-text);
  font-family: var(--m-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.ws-intro__text, .ws-intro__content > p { max-width: 58ch; font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--m-muted-light); }
.ws-intro__image { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--m-ink-3); }
.ws-intro__image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Haltung (früher Kästen mit Farbbalken) */
.ws-approach, .ws-approach-box {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: 40px;
  border-top: 1px solid var(--m-line-light);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 0 clamp(32px, 6vw, 88px);
}
.ws-approach__title, .ws-approach-box__title {
  color: var(--ws-akzent-text);
  font-family: var(--m-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.ws-approach__text, .ws-approach-box > p { grid-column: 2; margin: 0 0 1em; color: var(--m-ink); font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; }

/* Angebot: typografisch statt Symbolkacheln */
.ws-offer__intro, .ws-formats__intro, .ws-process__intro, .ws-pricing__intro { max-width: 760px; margin-bottom: 48px; }
.ws-offer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; counter-reset: ws-angebot; }
.ws-offer__item { padding: 22px 0 26px; border-top: 1px solid var(--m-line-light); counter-increment: ws-angebot; }
.ws-offer__item::before { content: counter(ws-angebot, decimal-leading-zero); display: block; margin-bottom: 14px; color: var(--m-accent); font-family: var(--m-display); font-size: 13px; }
.ws-offer__icon { display: none; }
.ws-offer__item p { margin: 0; font-size: 15px; line-height: 1.5; }

/* Workshop-Block */
.ws-workshop__header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--m-line-light); }
.ws-workshop__badge {
  color: var(--ws-akzent-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ws-workshop__badge::before { content: ""; display: inline-block; width: 28px; height: 2px; margin-right: 12px; vertical-align: middle; background: var(--m-accent); }
.ws-workshop__text { max-width: 68ch; }
.ws-workshop__text p { font-size: 17.5px; }

/* Bilder */
.ws-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 48px; }
.ws-gallery__item { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--m-ink-3); }
.ws-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s cubic-bezier(.2,.7,.2,1); }
.ws-gallery__item:hover img { transform: scale(1.04); }
.ws-camp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 48px; }
.ws-camp-gallery__item { aspect-ratio: 2 / 3; overflow: hidden; background: var(--m-ink-3); }
.ws-camp-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ws-photo-card { overflow: hidden; background: var(--m-ink-3); min-height: 260px; }
.ws-photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Video */
.ws-videos, .ws-media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.ws-video, .ws-video-card { margin: 0; overflow: hidden; }
.ws-video > img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 16 / 9; }
.ws-video__embed, .ws-video-card__embed { position: relative; aspect-ratio: 16 / 9; background: var(--m-ink); }
.ws-video__embed iframe, .ws-video-card__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ws-video__caption, .ws-video-card__caption { padding-top: 16px; }
.ws-video__caption p, .ws-video-card__caption p { margin: 0; font-size: 15px; }

/* Hörbeispiele */
.ws-audio-section { margin-top: 56px; }
.ws-audio-section__title { margin-bottom: 20px; color: var(--ws-akzent-text); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.ws-audio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.ws-audio-card { padding: 24px 26px; background: var(--m-ink); color: var(--m-ivory); }
.ws-audio-card__header { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.ws-audio-card__icon { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--m-accent); border-radius: 50%; }
.ws-audio-card__icon svg { width: 18px; height: 18px; fill: var(--m-accent); }
.ws-audio-card h4 { margin: 0 0 2px; color: var(--m-ivory); font-size: 0.95rem; }
.ws-audio-card p, .ws-audio-card__title { margin: 0; color: var(--m-muted-dark); font-size: 14.5px; }
.ws-audio-player audio { width: 100%; height: 40px; display: block; color-scheme: dark; }

/* Formate */
.ws-formats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--m-line-light); }
.ws-format-card { padding: 28px 24px 32px 0; }
.ws-format-card + .ws-format-card { padding-left: 24px; border-left: 1px solid var(--m-line-light); }
.ws-format-card__duration { display: block; margin-bottom: 18px; color: var(--ws-akzent-text); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.ws-format-card__title { margin-bottom: 12px; }
.ws-format-card__desc { margin: 0; font-size: 15px; line-height: 1.55; }

/* Preise */
.ws-pricing__table { width: 100%; border-collapse: collapse; font-size: 16px; }
.ws-pricing__table th { padding: 0 16px 14px 0; text-align: left; color: var(--m-muted-light); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; border-bottom: 1px solid var(--m-ink); }
.ws-pricing__table td { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--m-line-light); color: var(--m-ink); vertical-align: top; }
.ws-price { font-family: var(--m-display); font-weight: 500; white-space: nowrap; }
.ws-pricing__note { margin-top: 28px; max-width: 72ch; font-size: 15px; }
.ws-pricing__note p { font-size: 15px; }

/* Ablauf */
.ws-process__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 24px; }
.ws-process__step { padding-top: 22px; border-top: 2px solid var(--m-ink); }
.ws-process__number { margin-bottom: 18px; color: var(--m-accent); font-family: var(--m-display); font-size: 2.2rem; font-weight: 500; line-height: 1; }
.ws-process__step p { margin: 0; font-size: 15px; line-height: 1.5; }

/* Konzepte, Präsentationen */
.ws-concepts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 28px 0; }
.ws-concept-tag { color: var(--m-ink); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding-bottom: 4px; border-bottom: 2px solid var(--m-accent); }
.ws-presentations { margin-top: 40px; }
.ws-presentations__title { margin-bottom: 14px; color: var(--ws-akzent-text); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.ws-presentations__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--m-line-light); }
.ws-presentations__item { padding: 14px 0; border-bottom: 1px solid var(--m-line-light); color: var(--m-ink); }

/* Anfrage: dunkle Fläche mit Bild */
.ws-cta-section { position: relative; isolation: isolate; padding: clamp(88px, 11vw, 150px) 0; color: var(--m-ivory); background: var(--m-ink); overflow: hidden; }
.ws-cta-bg { position: absolute; inset: 0; z-index: -1; }
.ws-cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; filter: grayscale(0.4); }
.ws-cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--m-ink) 25%, rgba(13,13,12,0.4)); }
.ws-cta__box { max-width: 640px; }
.ws-cta__title { margin: 0 0 28px; color: var(--m-ivory); font-size: clamp(2.2rem, 5vw, 4rem) !important; }
.ws-cta__contact p { margin: 0 0 4px; color: var(--m-muted-dark); }
.ws-cta__contact strong { color: var(--m-ivory); }
.ws-page .ws-cta__contact a { color: var(--m-ivory); text-decoration: none; border-bottom: 1px solid var(--m-accent); }
.ws-cta__button {
  display: inline-flex; align-items: center; min-height: 52px; margin-top: 32px; padding: 0 28px;
  background: var(--m-accent); color: var(--m-ink); border: 1px solid var(--m-accent); border-radius: 2px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.ws-cta__button:hover, .ws-cta__button:focus-visible { background: transparent; color: var(--m-ivory); }

/* Weiterführend */
.ws-related__title { margin-bottom: 22px; color: var(--m-muted-light); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.ws-related__links { display: flex; flex-wrap: wrap; gap: 14px 36px; }
.ws-related__link { color: var(--m-ink); font-family: var(--m-display); font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 500; text-decoration: none; }
.ws-related__link::after { content: " →"; color: var(--m-accent); }
.ws-related__link:hover { color: var(--ws-akzent-text); }

@media (max-width: 1020px) {
  .ws-intro { grid-template-columns: 1fr; }
  .ws-intro__image { aspect-ratio: 16 / 10; }
  .ws-approach, .ws-approach-box { grid-template-columns: 1fr; gap: 16px; }
  .ws-approach__text, .ws-approach-box > p { grid-column: 1; }
  .ws-offer__grid, .ws-formats__grid { grid-template-columns: 1fr 1fr; }
  .ws-format-card:nth-child(odd) { padding-left: 0; border-left: 0; }
  .ws-format-card:nth-child(n+3) { border-top: 1px solid var(--m-line-light); }
  .ws-process__steps { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
}
@media (max-width: 640px) {
  .ws-offer__grid, .ws-formats__grid, .ws-videos, .ws-media-row, .ws-audio-grid, .ws-process__steps { grid-template-columns: 1fr !important; }
  .ws-format-card, .ws-format-card + .ws-format-card { padding: 24px 0; border-left: 0; border-top: 1px solid var(--m-line-light); }
  .ws-gallery { grid-template-columns: 1fr 1fr; }
  .ws-gallery__item:first-child { grid-column: 1 / -1; }
  .ws-camp-gallery { grid-template-columns: 1fr 1fr; }
  .ws-pricing__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ws-pricing__table, .ws-pricing__table tbody, .ws-pricing__table tr, .ws-pricing__table td { display: block; width: 100%; }
  .ws-pricing__table tr { padding: 16px 0; border-bottom: 1px solid var(--m-line-light); }
  .ws-pricing__table td { padding: 2px 0; border: 0; }
  .ws-pricing__table td:first-child { font-family: var(--m-display); font-weight: 500; padding-bottom: 6px; }
  .ws-workshop__header { flex-direction: column; }
}

/* Übersichtsseite */
.ws--uebersicht { --m-accent: var(--m-gold); --ws-akzent-text: var(--m-gold-text); }
.ws-intro--breit { align-items: start; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.ws-intro--breit h1::before { content: none; }
.ws-unterzeile { margin: 0; color: var(--m-ink) !important; font-family: var(--m-display); font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.35; letter-spacing: -0.01em; }
.ws-bereiche h2 { color: var(--m-ivory); }
.ws-kacheln-4 { grid-template-columns: repeat(4, 1fr); margin-top: 40px; }
.ws-kacheln-4 .ax-kachel { min-height: 420px; }
.ws-kachel--schulen { --m-accent: #e2552b; }
.ws-kachel--jugend { --m-accent: #e0457b; }
.ws-kachel--team { --m-accent: #3f9b6b; }
.ws-kachel--fortbildung { --m-accent: #3f7fe0; }
.ws-zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
.ws-zweispaltig--mitte { align-items: center; }
.ws-abstand { margin-top: 64px; }
.ws-gross { color: var(--m-ink) !important; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; }
.ws-zwischentitel { margin: 0 0 18px !important; font-size: 1.15rem !important; }
.ws-liste { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--m-line-light); }
.ws-liste li { padding: 16px 0 16px 32px; border-bottom: 1px solid var(--m-line-light); position: relative; color: var(--m-muted-light); }
.ws-liste li::before { content: ""; position: absolute; left: 0; top: 27px; width: 16px; height: 2px; background: var(--m-accent); }
.ws-formats__grid--3 { grid-template-columns: repeat(3, 1fr); }
.ws-approach__text p { color: var(--m-ink); }
.ws-cta__lead { max-width: 56ch; margin: 0 0 28px !important; color: var(--m-muted-dark) !important; font-size: 1.1rem; }
@media (max-width: 1020px) {
  .ws-kacheln-4 { grid-template-columns: 1fr 1fr; }
  .ws-zweispaltig, .ws-formats__grid--3 { grid-template-columns: 1fr; }
  .ws-formats__grid--3 .ws-format-card { padding-left: 0; border-left: 0; border-top: 1px solid var(--m-line-light); }
}
@media (max-width: 640px) { .ws-kacheln-4 { grid-template-columns: 1fr; } .ws-kacheln-4 .ax-kachel { min-height: 300px; } }
.ws-kacheln-4 .ax-kachel h3 { font-size: clamp(1.05rem, 1.45vw, 1.3rem); hyphens: auto; -webkit-hyphens: auto; }
.ws-kacheln-4 .ax-kachel__text { padding: 22px; }
.ws-kacheln-4 .ax-kachel p { font-size: 14.5px; }
@media (max-width: 640px) { .ws-intro h1 { font-size: 2rem; } }
.ws-page:lang(it) .ws-intro h1::before { content: "Workshop"; }
.ws-page:lang(es) .ws-intro h1::before { content: "Talleres"; }
