/* Kursportal Der Laden – im Stil des Relaunch-Designs ("Atelier-Zuschnitt"):
   Schnittmuster-Details (Passzeichen, gestrichelte Schnittkanten, Fadenlauf), Maßband, pflaumentiefe Bühnen. */
:root {
  --paper: #faf5f8;
  --paper-2: #f3e8ee;
  --ink: #3b2634;
  --ink-soft: #6b5462;
  --plum: #5f244e;
  --plum-deep: #401131;
  --rose: #d8a8b9;
  --rose-soft: #ecd3dc;
  --line: #dccdd5;
  --on-plum: #faf5f8;
  --on-plum-soft: #dcc3d0;
  --brass: #b48e5c;
  --ok: #2f6f4b;
  --danger: #a0283c;

  --f-display: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --f-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-hero: clamp(2.9rem, 6vw, 6.6rem);
  --fs-h1: clamp(2.5rem, 5vw, 4.6rem);
  --fs-h2: clamp(2.1rem, 4vw, 3.8rem);
  --fs-h3: clamp(1.55rem, 2vw, 1.95rem);
  --fs-lead: clamp(1.06rem, 1.3vw, 1.25rem);
  --fs-body: clamp(1rem, 1.02vw, 1.075rem);
  --fs-small: .875rem;
  --fs-label: .72rem;

  --gutter: clamp(16px, 4.2vw, 64px);
  --maxw: 1320px;
  --tape-h: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: var(--fs-body); line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--plum); color: var(--on-plum); }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft); display: flex; align-items: center; gap: .8em;
}
.eyebrow::before { content: ""; width: .7em; height: .7em; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); flex: none; opacity: .8; }
.eyebrow.on-dark { color: var(--on-plum-soft); }
.h1 { font-family: var(--f-display); font-size: var(--fs-h1); line-height: .98; letter-spacing: -.012em; font-weight: 500; }
.h2 { font-family: var(--f-display); font-size: var(--fs-h2); line-height: 1; letter-spacing: -.012em; font-weight: 500; }
.h1 em, .h2 em { font-style: italic; font-weight: 400; color: var(--plum); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-soft); max-width: 46ch; }
.mono { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .08em; }
.hinweis { color: var(--ink-soft); font-size: .95rem; }
.hinweis a, .lead a, .prose a { color: var(--plum); text-underline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--plum); --fg: var(--on-plum); --fill: var(--plum-deep);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  padding: 1.05em 1.7em; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border: 1.5px solid var(--bg); overflow: hidden; isolation: isolate; cursor: pointer;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--fill); transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--ease); z-index: -1; }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn .arr { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-ghost { --bg: transparent; --fg: var(--ink); --fill: var(--ink); border-color: var(--ink); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--on-plum); }
.btn-light { --bg: var(--on-plum); --fg: var(--plum-deep); --fill: var(--rose); }
.btn-danger { --bg: var(--danger); --fill: #7d1a2c; }
.btn-small { padding: .8em 1.25em; font-size: .7rem; }
.btn-block { width: 100%; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .6em; font-family: var(--f-mono); font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding-bottom: 4px; border-bottom: 1.5px dashed currentColor;
}
.link-arrow:hover { color: var(--plum); }
.aktionen { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Maßband (Scroll-Fortschritt, ohne JavaScript) ---------- */
.tape { position: fixed; top: 0; left: 0; right: 0; height: var(--tape-h); z-index: 60; pointer-events: none; }
.tape-body { position: absolute; inset: 0; background: #e9cfd9; box-shadow: inset 0 -1px 0 rgba(64, 17, 49, .18); overflow: hidden; }
.tape-body::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--plum-deep) 0 1px, transparent 1px 3.7795px); opacity: .55; }
.tape-body::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: repeating-linear-gradient(90deg, var(--plum-deep) 0 1px, transparent 1px 18.8975px); opacity: .75; }
/* Zahlen genau unter jedem Zentimeterstrich: jede Zelle 1 cm breit, um einen halben Zentimeter versetzt */
.tape-nums { position: absolute; left: 18.8975px; bottom: 0; display: flex; font-family: var(--f-mono); font-size: 7.5px; line-height: 1; color: var(--plum-deep); padding-bottom: 1px; }
.tape-nums span { flex: none; width: 37.795px; text-align: center; }
.tape-hook { position: absolute; top: 0; left: 0; width: 9px; height: calc(var(--tape-h) + 5px); background: linear-gradient(90deg, #8a7a63, #cdb894 45%, #8a7a63); border-radius: 0 2px 2px 0; box-shadow: 1px 1px 2px rgba(0, 0, 0, .18); }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .tape-body { animation: tape-roll linear both; animation-timeline: scroll(root); }
    .tape-hook { animation: tape-hook linear both; animation-timeline: scroll(root); }
  }
}
@keyframes tape-roll { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes tape-hook { from { left: 0; } to { left: calc(100% - 9px); } }

/* ---------- Kopf ---------- */
.site-header {
  position: sticky; top: var(--tape-h); z-index: 50; margin-top: var(--tape-h);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { flex: none; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a, .nav .link-btn { position: relative; text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--ink); padding-block: 6px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: repeating-linear-gradient(90deg, var(--plum) 0 5px, transparent 5px 9px); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a:focus-visible::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--plum); }
.nav a.btn { color: var(--on-plum); padding: .8em 1.25em; }
.nav a.btn::after { display: none; }
.inline { display: inline; margin: 0; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink-soft); }
.link-btn:hover { color: var(--plum); }

/* Mobiles Menü ohne JavaScript */
.menu { display: none; position: relative; }
.menu > summary {
  list-style: none; display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid var(--ink); border-radius: 999px;
  padding: .55em 1em; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu .bars { width: 16px; height: 8px; position: relative; }
.menu .bars::before, .menu .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu .bars::before { top: 0; } .menu .bars::after { bottom: 0; }
.menu[open] .bars::before { transform: translateY(3.25px) rotate(45deg); }
.menu[open] .bars::after { transform: translateY(-3.25px) rotate(-45deg); }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 12px); width: min(320px, calc(100vw - 32px));
  background: var(--plum-deep); color: var(--on-plum); padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 24px 50px -20px rgba(64, 17, 49, .6);
}
.menu-panel::before { content: ""; position: absolute; inset: 8px; border: 1.5px dashed rgba(250, 245, 248, .22); pointer-events: none; }
.menu-panel a, .menu-panel .link-btn { font-family: var(--f-display); font-size: 2rem; line-height: 1.2; text-decoration: none; color: var(--on-plum); text-align: left; }
.menu-panel .link-btn { color: var(--on-plum-soft); font-size: 1.5rem; margin-top: 6px; }
@media (max-width: 820px) {
  .nav { display: none; }
  .menu { display: block; }
  .brand img { height: 38px; }
  .header-inner { min-height: 64px; }
}

/* ---------- Meldungen ---------- */
.meldung {
  display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 14px 18px;
  background: #e8f1ec; color: var(--ok); border: 1.5px dashed rgba(47, 111, 75, .45); font-weight: 500;
}
.meldung::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.fehler { padding: 12px 16px; background: #f9e7ea; color: var(--danger); border: 1.5px dashed rgba(160, 40, 60, .4); }
.warnung { padding: 12px 16px; background: #f8efe2; border: 1.5px dashed rgba(180, 142, 92, .6); color: var(--ink); }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head { position: relative; padding-block: clamp(40px, 6vw, 88px) clamp(28px, 4vw, 48px); }
.page-head .h1 { margin-top: 16px; }
.page-head .lead { margin-top: 18px; }
.raster { position: relative; }
.raster::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 37.795px 37.795px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 75% 40%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 90% at 75% 40%, #000 10%, transparent 72%);
}
.raster > * { position: relative; }

/* ---------- Start: Hero ---------- */
.hero { padding-block: clamp(32px, 6vh, 72px) clamp(40px, 6vh, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: clamp(20px, 2.6vw, 30px); min-width: 0; }
.hero-title { font-family: var(--f-display); font-size: var(--fs-hero); line-height: .92; letter-spacing: -.02em; font-weight: 500; }
.ht-line { display: block; }
.ht-italic { font-style: italic; font-weight: 400; color: var(--plum); padding-left: .5em; }
.ht-mark {
  display: inline-block; padding-bottom: .1em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C 40 3, 80 13, 120 7 S 200 3, 238 8' fill='none' stroke='%235f244e' stroke-width='2.4' stroke-linecap='round' stroke-dasharray='9 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 0 96%; background-size: 100% .2em;
}
.status-chip {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: .55em 1em .55em .8em;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em;
}
.status-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #3e8a5f; flex: none; }
.hero-stage { position: relative; min-width: 0; }
.hero-stage img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(64, 17, 49, .45); }
.stage-caption {
  margin-top: 14px; display: flex; align-items: center; justify-content: flex-end; gap: .8em;
  font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
}
.stage-caption::before { content: ""; width: 28px; border-top: 1.5px dashed var(--ink-soft); }
@media (prefers-reduced-motion: no-preference) {
  .hero-title .ht-line { animation: rise 1s var(--ease) both; }
  .hero-title .ht-line:nth-child(2) { animation-delay: .08s; }
  .hero-title .ht-line:nth-child(3) { animation-delay: .16s; }
  .ht-mark { animation: draw 1.1s ease-in-out .7s both; }
  .hero-stage { animation: fade 1.2s var(--ease) .2s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(.45em); } to { opacity: 1; transform: none; } }
@keyframes draw { from { background-size: 0% .2em; } to { background-size: 100% .2em; } }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Band (Laufschrift) ---------- */
.ribbon-clip { overflow: hidden; padding-block: clamp(14px, 2.4vw, 32px); }
.ribbon {
  position: relative; background: var(--plum); color: var(--on-plum); padding-block: 18px; overflow: hidden;
  transform: rotate(-1.2deg); margin-inline: -2vw; box-shadow: 0 14px 30px -18px rgba(64, 17, 49, .6);
}
.ribbon::before, .ribbon::after { content: ""; position: absolute; left: 0; right: 0; height: 0; border-top: 1.5px dashed rgba(250, 245, 248, .45); }
.ribbon::before { top: 7px; } .ribbon::after { bottom: 7px; }
.ribbon-track { display: flex; width: max-content; }
.ribbon-group { display: flex; align-items: center; flex: none; }
.ribbon-item { font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.4rem); font-style: italic; white-space: nowrap; padding-inline: .55em; line-height: 1.1; }
.ribbon-x { font-family: var(--f-mono); font-size: 1rem; color: var(--rose); flex: none; }
@media (prefers-reduced-motion: no-preference) { .ribbon-track { animation: marquee 38s linear infinite; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(72px, 10vw, 150px); }
.section-tint { background: var(--paper-2); position: relative; }
.section-tint::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(95, 36, 78, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(95, 36, 78, .06) 1px, transparent 1px);
  background-size: 37.795px 37.795px;
}
.section-tint > * { position: relative; }
.section-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 18px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 72px); }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head .aktionen { justify-content: flex-end; }

/* Schritte */
.schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.schritt { padding: clamp(22px, 2.6vw, 36px) clamp(8px, 1.6vw, 24px) 0 0; border-right: 1.5px dashed var(--line); padding-right: clamp(16px, 2.4vw, 36px); }
.schritt + .schritt { padding-left: clamp(16px, 2.4vw, 36px); }
.schritt:last-child { border-right: 0; }
.schritt .nr { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .16em; color: var(--ink-soft); }
.schritt h3 { font-family: var(--f-display); font-size: var(--fs-h3); line-height: 1.05; margin: 14px 0 10px; }
.schritt p { color: var(--ink-soft); }

/* Über den Laden */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 112px); align-items: center; }
.about-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about figcaption { margin-top: 14px; font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.6; }
.about-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.about-copy p:not(.eyebrow) { color: var(--ink-soft); max-width: 54ch; }

/* ---------- Faktenliste ---------- */
.facts { border-top: 1.5px dashed var(--ink-soft); }
.facts li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 11px 0; border-bottom: 1.5px dashed var(--line); align-items: baseline; }
.facts .k { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.facts .v-strong { font-weight: 600; color: var(--plum); }

/* ---------- Filter ---------- */
.filter {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px; padding: 18px clamp(16px, 2vw, 24px);
  background: var(--paper); border: 1.5px dashed rgba(59, 38, 52, .35); margin-bottom: clamp(28px, 4vw, 48px);
}
.filter label { display: flex; flex-direction: column; gap: 6px; font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); flex: 1 1 180px; }
.filter .aktionen { align-items: center; }
.filter-reset { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Kurskarten als Schnittteile ---------- */
.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.piece {
  position: relative; display: flex; flex-direction: column; background: var(--paper);
  border: 1.5px dashed rgba(59, 38, 52, .45);
}
.piece::before, .piece::after { content: ""; position: absolute; width: 12px; height: 10px; background: rgba(59, 38, 52, .55); clip-path: polygon(50% 100%, 0 0, 100% 0); z-index: 2; }
.piece::before { top: -1.5px; left: 38%; }
.piece::after { bottom: -1.5px; left: 62%; transform: rotate(180deg); }
.scissor { position: absolute; top: -12px; right: 24px; width: 24px; height: 24px; background: var(--paper-2); color: var(--ink-soft); padding: 3px; z-index: 2; }
.scissor svg * { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.piece-media { position: relative; display: block; aspect-ratio: 4 / 3; margin: 10px 10px 0; overflow: hidden; background: var(--paper-2); }
.piece-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.piece:hover .piece-media img { transform: scale(1.035); }
.platzhalter { width: 100%; height: 100%; display: grid; place-items: center; background: var(--paper-2); color: var(--plum); }
.platzhalter svg { width: 30%; max-width: 110px; height: auto; }
.platzhalter svg * { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.chip {
  position: absolute; left: 12px; top: 12px; background: var(--paper); color: var(--plum);
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; padding: .45em .9em; border-radius: 999px;
}
.piece-body { display: flex; flex-direction: column; gap: 12px; padding: 20px 24px 24px; flex: 1; position: relative; }
.piece-label { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.piece h2, .piece h3 { font-family: var(--f-display); font-size: var(--fs-h3); line-height: 1.04; font-weight: 500; }
.piece h2 a, .piece h3 a { text-decoration: none; }
.piece h2 a:hover, .piece h3 a:hover { color: var(--plum); }
.datum { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .06em; color: var(--plum); }
.auszug { color: var(--ink-soft); font-size: .97rem; }
.piece .facts { margin-top: 4px; }
.piece .facts li { grid-template-columns: 96px minmax(0, 1fr); padding: 8px 0; font-size: .95rem; }
.piece-foot { margin-top: auto; padding-top: 8px; }
.status { display: inline-flex; align-items: center; gap: .6em; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-ok { color: var(--ok); }
.leer { padding: clamp(28px, 4vw, 48px); border: 1.5px dashed rgba(59, 38, 52, .35); background: var(--paper); font-family: var(--f-display); font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.25; }
.leer p + p { margin-top: 10px; font-family: var(--f-body); font-size: 1rem; color: var(--ink-soft); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: fade linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}

/* ---------- Kursdetail ---------- */
.zurueck { padding-top: clamp(24px, 3vw, 40px); }
.detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 88px); align-items: start; padding-block: clamp(24px, 3vw, 40px) clamp(72px, 9vw, 130px); }
.detail-media { position: sticky; top: 110px; }
.detail-media .bild { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); box-shadow: 0 30px 60px -30px rgba(64, 17, 49, .45); }
.detail-media .bild img { width: 100%; height: 100%; object-fit: cover; }
.detail-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.detail-copy .h1 { margin-top: 4px; }
.datum-gross { font-family: var(--f-display); font-style: italic; font-size: clamp(1.5rem, 2.2vw, 2rem); color: var(--plum); line-height: 1.15; }
.prose { color: var(--ink); max-width: 62ch; }
.prose p + p, .prose ul, .prose ol { margin-top: .8em; }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose ol { list-style: decimal; padding-left: 1.2em; }
.buchung {
  position: relative; background: var(--plum-deep); color: var(--on-plum); padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start; margin-top: 8px;
}
.buchung::before { content: ""; position: absolute; inset: 8px; border: 1.5px dashed rgba(250, 245, 248, .22); pointer-events: none; }
.buchung > * { position: relative; }
.buchung h2 { font-family: var(--f-display); font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1.05; }
.buchung p { color: var(--on-plum-soft); }
.buchung a:not(.btn) { color: var(--on-plum); }
.buchung .status { color: var(--rose); }
.buchung .preis { font-family: var(--f-display); font-size: 2.2rem; line-height: 1; color: var(--on-plum); }
.buchung .preis small { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-plum-soft); margin-left: .6em; }

/* ---------- Meine Kurse ---------- */
.anmeldungen { border-top: 1px solid var(--ink); }
.anmeldung {
  display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 14px clamp(16px, 3vw, 40px); align-items: center;
  padding: clamp(18px, 2.2vw, 28px) 0; border-bottom: 1px solid var(--line);
}
.anmeldung-bild { width: 112px; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.anmeldung-bild img { width: 100%; height: 100%; object-fit: cover; }
.anmeldung-bild .platzhalter svg { width: 50%; }
.anmeldung h2 { font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.02; }
.anmeldung h2 a { text-decoration: none; }
.anmeldung h2 a:hover { color: var(--plum); }
.anmeldung .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 8px; }
.badge { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; padding: .4em .9em; border-radius: 999px; background: var(--rose-soft); color: var(--plum-deep); }
.badge-bestätigt, .badge-bezahlt { background: #dcebe2; color: var(--ok); }
.vergangen { margin-top: 18px; border-top: 1.5px dashed var(--ink-soft); }
.vergangen li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 10px 0; border-bottom: 1.5px dashed var(--line); color: var(--ink-soft); }
.vergangen .mono { color: var(--ink-soft); }

/* ---------- Formulare ---------- */
.form-seite { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 88px); align-items: start; padding-block: clamp(40px, 6vw, 96px) clamp(72px, 9vw, 130px); }
.form-seite .intro { display: flex; flex-direction: column; gap: 18px; }
.form-seite .intro .h1 { margin-top: 4px; }
.form {
  position: relative; background: var(--paper-2); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px;
  border: 1.5px dashed rgba(59, 38, 52, .35);
}
.form::before, .form::after { content: ""; position: absolute; width: 12px; height: 10px; background: rgba(59, 38, 52, .45); clip-path: polygon(50% 100%, 0 0, 100% 0); }
.form::before { top: -1.5px; left: 24%; }
.form::after { bottom: -1.5px; left: 70%; transform: rotate(180deg); }
.form h2 { font-family: var(--f-display); font-size: var(--fs-h3); font-weight: 500; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
input[type=text], input[type=email], input[type=tel], select {
  font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 0;
  padding: .85em 1em; width: 100%; transition: border-color .3s, box-shadow .3s;
}
select {
  appearance: none; padding-right: 2.6em; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%235f244e' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1em center; background-size: 12px 8px;
}
input:focus, select:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(95, 36, 78, .12); }
input:disabled { color: var(--ink-soft); background: transparent; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); line-height: 1.5; cursor: pointer; }
.consent input { margin-top: .25em; accent-color: var(--plum); width: 16px; height: 16px; flex: none; }
.consent a { color: var(--plum); }
.karte-kurz { padding: 16px 18px; background: var(--paper); border-left: 3px solid var(--plum); }
.karte-kurz strong { font-family: var(--f-display); font-size: 1.5rem; font-weight: 500; display: block; line-height: 1.1; }

/* ---------- Textseiten ---------- */
.text-seite { max-width: 820px; padding-block: clamp(40px, 6vw, 96px) clamp(72px, 9vw, 130px); }
.text-seite .h1 { margin: 16px 0 32px; }
.text-seite h2 { font-family: var(--f-display); font-size: var(--fs-h3); margin: 36px 0 12px; }
.text-seite p + p { margin-top: 14px; }

/* ---------- Fuß ---------- */
.site-footer { background: var(--plum-deep); color: var(--on-plum); padding-top: clamp(64px, 8vw, 112px); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 32px; }
.footer-top img { height: 64px; width: auto; }
.footer-claim { margin-top: 18px; color: var(--on-plum-soft); max-width: 30ch; font-size: .95rem; }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: .95rem; color: var(--on-plum-soft); }
.footer-col h3 { font-family: var(--f-mono); font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--rose); font-weight: 500; margin-bottom: 6px; }
.footer-col a { text-decoration: none; color: var(--on-plum); }
.footer-col a:hover { color: var(--rose); }
.wordmark { font-family: var(--f-display); font-weight: 500; font-size: clamp(3.4rem, 21vw, 20rem); line-height: .8; letter-spacing: -.03em; white-space: nowrap; margin-top: clamp(48px, 7vw, 96px); display: flex; gap: .16em; }
.wordmark em { font-style: italic; font-weight: 400; color: var(--rose); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px 28px; margin-top: clamp(20px, 3vw, 40px);
  border-top: 1px dashed rgba(250, 245, 248, .25); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-plum-soft);
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--rose); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .about, .detail, .form-seite, .section-head { grid-template-columns: minmax(0, 1fr); }
  .section-head .aktionen { justify-content: flex-start; }
  .detail-media { position: static; }
  .detail-media .bild { aspect-ratio: 4 / 3; }
  .schritte { grid-template-columns: minmax(0, 1fr); }
  .schritt, .schritt + .schritt { padding: 22px 0; border-right: 0; border-bottom: 1.5px dashed var(--line); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .anmeldung { grid-template-columns: 76px minmax(0, 1fr); }
  .anmeldung-bild { width: 76px; }
  .anmeldung .aktion { grid-column: 1 / -1; }
  .anmeldung .aktion .btn { width: 100%; }
  .facts li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .piece .facts li { grid-template-columns: 90px minmax(0, 1fr); }
  .hero-copy .aktionen .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* Ergänzungen */
.abschluss { padding-bottom: clamp(72px, 9vw, 130px); }
.btn-ghost-light { --bg: transparent; --fg: var(--on-plum); --fill: var(--rose); border-color: var(--on-plum); }
.btn-ghost-light:hover, .btn-ghost-light:focus-visible { color: var(--plum-deep); }
.vergangen-titel { margin-top: clamp(56px, 7vw, 96px); font-size: clamp(1.8rem, 3vw, 2.6rem); }
