/* WedPlanning · Ablauf-Abschnitt · neue Gestaltung vom 28.10.2026
   Drei Schritte als Papierkarten, darüber Siegel 1–2–3, verbunden durch einen gepunkteten Faden.
   Nur #schritte wird gestaltet; neue Klassen beginnen mit „ab-“. Nach den vorhandenen
   Landingpage-Stilen laden. Schriften stellt die bestehende Seite bereit, in der Vorschau vorschau.css. */
#schritte {
  --ablauf-berry: #79364c;
  --ablauf-deep: #542638;
  --ablauf-ink: #40323a;
  --ablauf-muted: #725d68;
  --ablauf-line: #e5d5db;
  --ablauf-surface: #f5e9e9;
  --ablauf-paper: #fffaf8;
  --ablauf-pink: #efb4c6;
  --ablauf-display: Cormorant, Georgia, serif;
  --ablauf-body: Manrope, "Segoe UI", sans-serif;
  box-sizing: border-box;
  padding: 96px 0 128px;
  background: var(--ablauf-surface);
  color: var(--ablauf-ink);
  border-block: 1px solid #eadadd;
  border-radius: 36px 36px 0 0;
  font: 400 16px/1.65 var(--ablauf-body);
  -webkit-font-smoothing: antialiased;
}
#schritte *, #schritte *::before, #schritte *::after { box-sizing: border-box; }
#schritte .wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
#schritte h2, #schritte h3, #schritte p, #schritte ol { margin: 0; }
#schritte h2, #schritte h3 { color: inherit; font-family: var(--ablauf-display); font-weight: 500; font-synthesis: none; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
#schritte p { text-wrap: pretty; }
#schritte svg { display: block; flex: none; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }

/* Kopf */
#schritte .ab-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: 56px; }
#schritte .ab-head h2 { max-width: none; font-size: clamp(40px, 4.4vw, 58px); line-height: 1.05; letter-spacing: -.035em; }
#schritte .headline-tail { color: var(--ablauf-berry); font-style: normal; font-weight: inherit; }
#schritte .ab-head > p { justify-self: end; max-width: 36ch; padding-bottom: 6px; color: var(--ablauf-muted); font-size: 16px; line-height: 1.7; }

/* Schritte: Siegel oben, Karte darunter, Faden zwischen den Siegeln */
#schritte .ab-steps { --ab-gap: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ab-gap); padding: 0; list-style: none; }
#schritte .ab-step { position: relative; display: grid; grid-template-rows: auto 1fr; justify-items: center; gap: 18px; }
#schritte .ab-step:not(:last-child)::after { content: ""; position: absolute; z-index: 0; top: 27px; left: 50%; width: calc(100% + var(--ab-gap)); height: 3px; background: radial-gradient(circle, var(--ablauf-berry) 1.3px, transparent 1.7px) 0 50% / 10px 3px repeat-x; opacity: .55; }
#schritte .ab-seal { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #a9506f, var(--ablauf-berry) 58%, #5c2638); box-shadow: 0 0 0 5px var(--ablauf-surface), 0 0 0 6px rgba(121, 54, 76, .28), 0 8px 16px rgba(84, 38, 56, .25); color: #fbe9ef; font: 500 28px/1 var(--ablauf-display); font-variant-numeric: lining-nums; }
#schritte .ab-card { display: grid; grid-template-rows: auto auto 1fr; justify-items: center; align-content: start; gap: 8px; width: 100%; padding: 26px 26px 30px; border-radius: 22px; background: linear-gradient(180deg, var(--ablauf-paper), #fcf2f4); box-shadow: inset 0 0 0 6px var(--ablauf-paper), inset 0 0 0 7px #ecd9df, 0 22px 40px -26px rgba(84, 38, 56, .42), 0 2px 4px rgba(84, 38, 56, .06); text-align: center; }
#schritte .ab-card h3 { font-size: 28px; line-height: 1.1; letter-spacing: -.02em; }
#schritte .ab-card p { max-width: 30ch; color: var(--ablauf-muted); font-size: 15px; line-height: 1.6; }

/* Kleine Motive: Ticket, Schlüssel mit Schleife, Planer-Bausteine */
#schritte .ab-art { display: grid; place-items: center; width: 100%; height: 96px; margin-bottom: 10px; }
#schritte .ab-art--ticket { filter: drop-shadow(0 8px 12px rgba(84, 38, 56, .16)) drop-shadow(0 1px 1px rgba(84, 38, 56, .12)); }
#schritte .ab-ticket {
  --ab-notch: 9px; --ab-stub: 70px; display: flex; height: 64px; rotate: -4deg; border-radius: 10px; overflow: hidden;
  -webkit-mask: radial-gradient(circle var(--ab-notch) at calc(100% - var(--ab-stub)) 0, #0000 96%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--ab-notch) at calc(100% - var(--ab-stub)) 100%, #0000 96%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle var(--ab-notch) at calc(100% - var(--ab-stub)) 0, #0000 96%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--ab-notch) at calc(100% - var(--ab-stub)) 100%, #0000 96%, #000) bottom / 100% 51% no-repeat;
}
#schritte .ab-ticket-main { display: grid; align-content: center; padding: 0 18px; background: linear-gradient(180deg, #fffdfb, #fbeef2); text-align: left; }
#schritte .ab-ticket-main b { color: var(--ablauf-berry); font: 600 21px/1.05 var(--ablauf-display); }
#schritte .ab-ticket-main span { color: var(--ablauf-muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
#schritte .ab-ticket-stub { display: grid; place-items: center; width: var(--ab-stub); border-left: 2px dashed #e2b9c7; background: linear-gradient(180deg, #f7dce6, #f0cbd8); color: var(--ablauf-berry); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
#schritte svg.ab-key { width: 170px; height: 84px; color: var(--ablauf-berry); stroke-width: 3.5; rotate: -8deg; filter: drop-shadow(0 6px 8px rgba(84, 38, 56, .18)); }
#schritte .ab-key .ab-ribbon { fill: #f3d6e0; stroke-width: 1.5; }
#schritte .ab-key .ab-ribbon-tail { stroke-width: 1.5; }
#schritte .ab-plan { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: 228px; padding: 12px; border-radius: 12px; background: var(--ablauf-paper); box-shadow: inset 0 0 0 1px #ecd9df, 0 10px 18px -10px rgba(84, 38, 56, .3); rotate: 2deg; }
#schritte .ab-plan span { padding: 2px 10px; border-radius: 99px; background: #f7ebee; color: var(--ablauf-deep); font-size: 11.5px; font-weight: 700; line-height: 1.6; }
#schritte .ab-plan .is-done { background: var(--ablauf-berry); color: #fff7f9; }
#schritte .ab-plan .is-done::before { content: "✓ "; }

/* Hinweis und Demo-Link */
#schritte .ab-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 40px; padding: 14px 14px 14px 22px; border-radius: 22px; background: rgba(255, 250, 248, .72); box-shadow: inset 0 0 0 1px #ecd9df; }
#schritte .ab-note { display: flex; align-items: center; gap: 10px; max-width: 64ch; color: var(--ablauf-muted); font-size: 13.5px; line-height: 1.55; }
#schritte .ab-note svg { width: 20px; height: 20px; color: var(--ablauf-berry); stroke-width: 1.7; }
#schritte .ab-button { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 12px 24px; border-radius: 999px; background: var(--ablauf-berry); color: #fff9f6; font: 700 15px/1.3 var(--ablauf-body); text-decoration: none; box-shadow: 0 10px 22px rgba(84, 38, 56, .22); touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: background-color .2s; }
#schritte .ab-button:hover { background: var(--ablauf-deep); }
#schritte .ab-button:focus-visible { outline: 2px solid var(--ablauf-berry); outline-offset: 4px; }
#schritte .ab-button svg { width: 18px; height: 18px; stroke-width: 1.8; }

@media (max-width: 1050px) {
  #schritte .wrap { width: calc(100% - 64px); }
  #schritte .ab-steps { --ab-gap: 20px; }
  #schritte .ab-card { padding: 24px 18px 26px; }
  #schritte .ab-art { zoom: .85; }
}

/* Smartphone: Siegel links auf einem senkrechten Faden, Karten daneben, Motiv klein rechts */
@media (max-width: 760px) {
  #schritte { padding: 64px 0 88px; border-radius: 28px 28px 0 0; }
  #schritte .wrap { width: calc(100% - 40px); }
  #schritte .ab-head { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 30px; }
  #schritte .ab-head > p { justify-self: start; padding-bottom: 0; font-size: 15px; }
  #schritte .ab-steps { --ab-gap: 14px; grid-template-columns: minmax(0, 1fr); }
  #schritte .ab-step { grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto; justify-items: stretch; align-items: start; gap: 0 12px; }
  #schritte .ab-step:not(:last-child)::after { top: 36px; left: 20.5px; width: 3px; height: calc(100% + var(--ab-gap)); background: radial-gradient(circle, var(--ablauf-berry) 1.3px, transparent 1.7px) 50% 0 / 3px 10px repeat-y; }
  #schritte .ab-seal { width: 44px; height: 44px; margin-top: 14px; font-size: 22px; box-shadow: 0 0 0 4px var(--ablauf-surface), 0 0 0 5px rgba(121, 54, 76, .28), 0 6px 12px rgba(84, 38, 56, .22); }
  #schritte .ab-card { grid-template-columns: minmax(0, 1fr) 88px; grid-template-rows: auto 1fr; justify-items: start; align-content: center; gap: 4px 10px; padding: 16px 14px 16px 18px; border-radius: 18px; text-align: left; box-shadow: inset 0 0 0 5px var(--ablauf-paper), inset 0 0 0 6px #ecd9df, 0 16px 28px -20px rgba(84, 38, 56, .4); }
  #schritte .ab-art { grid-column: 2; grid-row: 1 / 3; align-self: center; justify-self: center; width: auto; height: auto; margin: 0; zoom: .38; }
  #schritte .ab-card h3 { grid-column: 1; font-size: 24px; }
  #schritte .ab-card p { grid-column: 1; font-size: 14px; line-height: 1.55; }
  #schritte .ab-foot { flex-direction: column; align-items: stretch; margin-top: 28px; padding: 16px; }
  #schritte .ab-note { align-items: flex-start; font-size: 13px; }
}

/* Bewegung beim Hereinscrollen: Siegel erscheinen nacheinander, der Faden zieht sich weiter,
   die Karten gleiten herein. Nur ohne reduzierte Bewegung und in Browsern mit Scroll-Animationen. */
@media (prefers-reduced-motion: no-preference) {
  #schritte .ab-button svg { transition: translate .2s ease; }
  #schritte .ab-button:hover svg { translate: 3px 0; }
  @supports (animation-timeline: view()) {
    #schritte .ab-steps { view-timeline-name: --ab-steps; }
    #schritte :is(.ab-seal, .ab-card) { animation-duration: auto; animation-timing-function: linear; animation-fill-mode: both; animation-timeline: --ab-steps; }
    #schritte .ab-step:not(:last-child)::after { animation-duration: auto; animation-timing-function: linear; animation-fill-mode: both; animation-timeline: --ab-steps; animation-name: ab-draw; }
    #schritte .ab-seal { animation-name: ab-pop; }
    #schritte .ab-card { animation-name: ab-rise; }
    #schritte .ab-step:nth-child(1) :is(.ab-seal, .ab-card) { animation-range: entry 10% entry 45%; }
    #schritte .ab-step:nth-child(1)::after { animation-range: entry 35% entry 70%; }
    #schritte .ab-step:nth-child(2) :is(.ab-seal, .ab-card) { animation-range: entry 55% entry 90%; }
    #schritte .ab-step:nth-child(2)::after { animation-range: entry 80% contain 15%; }
    #schritte .ab-step:nth-child(3) :is(.ab-seal, .ab-card) { animation-range: entry 95% contain 30%; }
  }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 760px) {
  @supports (animation-timeline: view()) {
    #schritte .ab-step:not(:last-child)::after { animation-name: ab-draw-down; }
  }
}
@media (prefers-reduced-motion: reduce) {
  #schritte .ab-button { transition: none; }
}
@keyframes ab-pop { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }
@keyframes ab-rise { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
@keyframes ab-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ab-draw-down { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
