/* Mut zum ersten Strich */
@font-face { font-family: "Staatliches"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/staatliches-latin-400-normal.woff2") format("woff2"), url("../fonts/staatliches-latin-400-normal.woff") format("woff"); }
@font-face { font-family: "Marck Script"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/marck-script-latin-400-normal.woff2") format("woff2"), url("../fonts/marck-script-latin-400-normal.woff") format("woff"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/nunito-sans-latin-400-normal.woff2") format("woff2"), url("../fonts/nunito-sans-latin-400-normal.woff") format("woff"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/nunito-sans-latin-600-normal.woff2") format("woff2"), url("../fonts/nunito-sans-latin-600-normal.woff") format("woff"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-sans-latin-700-normal.woff2") format("woff2"), url("../fonts/nunito-sans-latin-700-normal.woff") format("woff"); }

/* Layout: ein zerrissenes Blatt als Auftakt (im Bild hero.png), darunter ruhige Abschnitte auf Weiß.
   Hart (Blockschrift) trägt Struktur, weich (Schreibschrift) trägt Mut. */
:root {
  --font-display: "Staatliches", "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --font-script: "Marck Script", "Segoe Script", "Brush Script MT", cursive;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  color-scheme: light;
  --bg: #ffffff;
  --surface: #f8f2f9;
  --page: #f5eef8;       /* Seitenhintergrund unterhalb des Heros */
  --page-deep: #eadff0;  /* Bildungsträger-Bereich */
  --fg: #2f2a33;
  --muted: #5b5560;
  --line: #e3d6e7;
  --accent: #8a4a92;
  --on-accent: #ffffff;
  --claim: #b472ba;

  /* Beige Akzente: nur punktuell einsetzen, Flieder bleibt die Grundfarbe */
  --beige-1: #e4d6b4;
  --beige-1-strong: #b59a62;
  --beige-2: #d8c8a4;
  --beige-2-strong: #a58d5a;
  --beige-3: #cdb98c;
  --beige-3-strong: #977f4f;

  /* Papier-Töne (aktuell nicht im Einsatz, für spätere Verwendung) */
  --paper-a: #f2e9d3;
  --paper-b: #e6dac0;
  --paper-c: #d8c8a4;
  --on-paper: #5a565b;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.wrap {
  width: 100%;
  max-width: 62rem;
  margin-inline: auto;
  padding-inline: max(1rem, env(safe-area-inset-left, 0px));
}

/* ---------- Auftakt ---------- */
.hero { padding-top: 1.25rem; }
.hero-frame { max-width: 46rem; margin-inline: auto; overflow: hidden; }
h1 { margin: 0; line-height: 0; }
.hero-img { display: block; width: 100%; height: auto; }
/* Auf dem Handy etwas heranzoomen, damit der Claim groß genug bleibt */
@media (max-width: 40rem) {
  .hero-frame { margin-inline: calc(-1 * max(1rem, env(safe-area-inset-left, 0px))); }
  .hero-img { width: 150%; max-width: none; margin-left: -25%; }
}

/* ---------- Schaltfläche ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .6rem 1.6rem;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
}
.btn:hover { filter: brightness(1.08); }

/* ---------- Abschnitte und Überschriften ---------- */
main { background: var(--page); }
footer { background: #fff; }
section { padding-block: 4rem; }
h2 {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--claim);
  text-wrap: balance;
  overflow-wrap: anywhere;
  hyphens: auto;
}
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--claim);
  text-wrap: balance;
  overflow-wrap: anywhere;
  hyphens: auto;
}
/* Kleiner beiger Strich unter den Abschnittsüberschriften */
section h2::after,
section h3::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 4px;
  margin-top: .6rem;
  border-radius: 2px;
  background: var(--paper-c);
}
section h2::after { margin-inline: auto; }

.lead { color: var(--muted); margin-top: .75rem; max-width: 38rem; text-wrap: pretty; }
.lead2 {
  color: var(--muted);
  margin-top: .75rem;
  max-width: 38rem;
  margin-inline: auto;
  text-align: center;
  text-wrap: pretty;
}

/* ---------- Kurskarten ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: start;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.65rem 1.3rem 1rem;
  min-width: 0;
  box-shadow: inset 0 5px 0 var(--c);
}
.cards .card:nth-child(1) { --c: var(--beige-1);    --c-strong: var(--beige-1-strong); }
.cards .card:nth-child(2) { --c: var(--beige-2); --c-strong: var(--beige-2-strong); }
.cards .card:nth-child(3) { --c: var(--beige-3);       --c-strong: var(--beige-3-strong); }
.card .facts li {
  background: color-mix(in srgb, var(--c) 32%, #fff);
  border-color: color-mix(in srgb, var(--c) 75%, #fff);
}
h4 {
  margin: 0 0 .4rem;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.1;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--accent);
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.sub { font-family: var(--font-script); font-size: 1.3rem; line-height: 1.3; color: var(--muted); margin-top: .35rem; }
.card p.text { margin-top: .9rem; }

.facts { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.facts li {
  font-size: .9rem;
  font-weight: 600;
  padding: .15rem .65rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--bg);
}

details { margin-top: .75rem; border-top: 1px solid var(--line); }
summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 3rem;
  font-weight: 700;
  color: var(--accent);
}
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; font-size: 1.4rem; line-height: 1; width: 1rem; text-align: center; }
details[open] summary::before { content: "\2013"; }

.detail-body { padding-bottom: .9rem; }
.detail-body h4 { margin: .6rem 0 .25rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.detail-body ul { display: grid; gap: .3rem; }
.detail-body li { display: flex; align-items: flex-start; gap: .7rem; }
.detail-body li::before {
  content: "";
  flex-shrink: 0;
  margin-top: .45em;
  border-left: .6rem solid var(--c-strong, var(--accent));
  border-top: .3rem solid transparent;
  border-bottom: .3rem solid transparent;
}
.detail-body p { font-size: .95rem; color: var(--muted); margin-top: .6rem; }

/* ---------- So arbeite ich ---------- */
#arbeitsweise { background: #fff; }
.ways-layout {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: start;
}
.ways-layout > * { min-width: 0; }
.ways { display: grid; gap: 1.25rem; }
.ways li { min-width: 0; }
.ways strong { display: block; font-size: 1.1rem; }
.ways span { color: var(--muted); }

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 5px 5px 0 var(--c);
}
.gallery img:nth-child(1) { --c: var(--beige-1); }
.gallery img:nth-child(2) { --c: var(--beige-2); }
.gallery img:nth-child(3) { --c: var(--beige-3); }
.gallery img:nth-child(4) { --c: var(--beige-1); }
.gallery img:nth-child(5) { --c: var(--beige-2); }
@media (prefers-reduced-motion: no-preference) {
  .gallery img { transition: transform .2s ease, box-shadow .2s ease; }
  .gallery img:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--c); }
}
.gallery img.wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (min-width: 52rem) {
  .ways-layout { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* ---------- Über mich ---------- */
.about-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  margin-top: 2rem;
  padding: calc(1.4rem + 5px) 1.3rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  --c: var(--beige-3);
  box-shadow: inset 0 5px 0 var(--c);
}
.about { min-width: 0; }
.about > p { margin-top: .9rem; text-wrap: pretty; }
.about p.pull { font-size: 1.1rem; }
.about .facts-label {
  margin-top: 1.4rem;
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 4px;
}
.about .facts + .facts-label { text-decoration-color: var(--beige-1); }
.about .pull + .facts-label { text-decoration-color: var(--beige-3); }
.about .facts li {
  background: color-mix(in srgb, var(--c) 32%, #fff);
  border-color: color-mix(in srgb, var(--c) 75%, #fff);
}
.about .facts li:nth-child(1) { --c: var(--beige-2); }
.about .facts li:nth-child(2) { --c: var(--beige-1); }
.about .facts-label + p { margin-top: .15rem; }
.profile {
  display: block;
  width: 100%;
  max-width: 12rem;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 5px 5px 0 var(--beige-1);
}
@media (min-width: 40rem) {
  .about-layout { grid-template-columns: 12rem 1fr; gap: 2rem; padding: calc(1.75rem + 5px) 1.75rem 1.75rem; }
}

/* ---------- Anfrage ---------- */
.request { background: var(--page-deep); }
.request-inner { max-width: 40rem; }
.facts-label {
  margin-top: 1.5rem;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.request .facts { margin-top: 1.25rem; }
.request .facts:nth-of-type(1) { --c: var(--beige-1); }
.request .facts:nth-of-type(2) { --c: var(--beige-2); }
.request .facts:nth-of-type(3) { --c: var(--beige-3); }
.request .facts:nth-of-type(4) { --c: var(--beige-1); }
.request .facts li {
  background: color-mix(in srgb, var(--c) 32%, #fff);
  border-color: color-mix(in srgb, var(--c) 75%, #fff);
}
.facts-card { margin-top: 1.75rem; }
.facts-card > .facts-label:first-child { margin-top: 0; }
.facts-card .plain { margin-top: .4rem; color: var(--fg); max-width: 38rem; text-wrap: pretty; }
.request .facts-label + .facts { margin-top: .5rem; }
.request .facts-label + .lead { margin-top: .5rem; }
.request-cta { margin-top: 1.25rem; }
.request .facts-label + .contact { margin-top: .5rem; }
.contact { margin-top: 1.75rem; display: grid; gap: 1rem; justify-items: start; }
.contact .who { color: var(--fg); line-height: 1.7; }
.contact .who a { color: var(--accent); text-underline-offset: 3px; }

/* ---------- Fußzeile ---------- */
footer { padding-block: 1.25rem; text-align: center; color: var(--muted); font-size: .9rem; }
footer a { color: var(--muted); display: inline-block; padding: .6rem .25rem; }
footer .copy { font-size: .85rem; margin-top: .1rem; }

/* ---------- Impressum und Datenschutz ---------- */
.legal { max-width: 40rem; padding-block: 1.5rem 3rem; }
.legal .back { display: inline-block; padding: .5rem 0; font-weight: 700; }
.legal h1 { color: var(--claim); font-size: clamp(2.4rem, 11vw, 3.6rem); line-height: 1; margin-top: 1rem; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .03em; }
.legal h3 { font-size: 1.6rem; margin-top: 2.25rem; }
.legal p { margin: .6rem 0 0; }
.legal address { font-style: normal; margin-top: .6rem; }
.legal .muted { color: var(--muted); }
.legal .todo { background: #fff3b0; padding: 0 .25rem; border-radius: 2px; }

/* ---------- Mitlaufende Kontakt-Pillen ---------- */
.float-contact {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: grid;
  gap: .6rem;
  justify-items: end;
  padding-right: env(safe-area-inset-right);
}
.float-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: .5rem .85rem;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 999px 0 0 999px;
  box-shadow: 0 2px 10px rgba(47, 42, 51, .28);
  text-decoration: none;
}
.float-contact a:hover,
.float-contact a:focus-visible { filter: brightness(1.1); }
.float-contact svg { flex: none; }

/* ---------- Sanftes Einblenden und gezeichneter Strich ---------- */
/* Die Klasse "js" setzt das Skript nur, wenn Bewegung erlaubt ist. Ohne Skript bleibt alles sichtbar. */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.in { opacity: 1; transform: none; }
.js section h2::after,
.js section h3::after {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.3, .7, .2, 1);
}
.js section h2.in::after,
.js section h3.in::after { transform: scaleX(1); }

/* ---------- Bild vergrößern ---------- */
.gallery img { cursor: zoom-in; }
.gallery img:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
html:has(dialog[open]) { overflow: hidden; }
.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(30, 22, 34, .88); }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: .75rem; padding: 3.5rem; }
.lightbox img {
  display: block;
  max-width: min(92vw, 70rem);
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .4);
}
.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--fg);
  font: 400 1.9rem/1 var(--font-body);
  cursor: pointer;
}
.lightbox button:hover { background: var(--page); }
.lightbox button:focus-visible { outline: 3px solid var(--beige-1); outline-offset: 2px; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: .75rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .75rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 40rem) {
  .lightbox figure { padding: 4rem .5rem 4.5rem; }
  .lb-prev, .lb-next { top: auto; bottom: .75rem; transform: none; }
  .lb-prev { left: calc(50% - 3.5rem); }
  .lb-next { right: calc(50% - 3.5rem); }
}

/* ---------- Infoblatt-Download und Einladung ---------- */
.pdf-link { display: inline-flex; align-items: center; gap: .9rem; margin-top: 1.5rem; padding: .7rem 1.2rem .7rem .8rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; color: var(--fg); text-decoration: none; }
.pdf-link:hover { border-color: var(--accent); }
.pdf-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.pdf-ico { display: grid; place-items: center; width: 2.6rem; height: 3.2rem; background: var(--accent); color: var(--on-accent); font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .06em; border-radius: 3px; }
.pdf-link strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); line-height: 1.1; }
.pdf-link small { display: block; color: var(--muted); font-size: .85rem; margin-top: .15rem; }
.pdf-link + .facts-label { margin-top: 2rem; }
.invite { font-family: var(--font-script); font-size: 1.45rem; line-height: 1.35; color: var(--fg); margin-top: .35rem; max-width: 30rem; text-wrap: balance; }
.request .invite + .contact { margin-top: 1rem; }

/* ---------- Der Kurs: gilt für alle drei Workshops ---------- */
.course-facts { --c: var(--beige-1); margin-top: 2rem; text-align: center; }
.course-facts .facts-label { margin-top: 0; }
.course-facts .facts { justify-content: center; margin-top: 0; }
.course-facts .facts li {
  background: color-mix(in srgb, var(--c) 32%, #fff);
  border-color: color-mix(in srgb, var(--c) 75%, #fff);
}
.course-concept { margin-top: 1.75rem; text-align: center; }
.course-concept .facts-label { margin-top: 0; }
.course-concept .lead2 { margin-top: .5rem; }
