/* S.T.S. Sucht-Treff St. Wendel e.V. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --green: #1f3b2f;
  --green-2: #2f5a47;
  --cream: #f4ede1;
  --sand: #e9dfcd;
  --sand-2: #c9b79a;
  --coral: #e8674a;
  --yellow: #f5c95a;
  --display: "Bricolage Grotesque", sans-serif;
  --pad-x: clamp(20px, 6vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--green);
  font-family: "Atkinson Hyperlegible", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-decoration-color: var(--coral); text-underline-offset: 3px; }
a:hover { color: var(--coral); }
::selection { background: var(--yellow); color: var(--green); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.page { min-height: 100vh; overflow-x: clip; }
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  padding: 10px 16px; background: var(--green); color: var(--cream); border-radius: 8px;
}
.skip-link:focus { left: 8px; color: var(--cream); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 103, 74, .45); }
  50% { box-shadow: 0 0 0 18px rgba(232, 103, 74, 0); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(244, 237, 225, .85);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  border: 2.5px dashed var(--coral); display: grid; place-items: center;
}
.brand-mark span { width: 20px; height: 20px; border-radius: 50%; background: var(--green); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.brand-text small { font-size: 13px; opacity: .75; }
.main-nav { display: none; gap: 26px; font-size: 16px; font-weight: 700; }
.main-nav a { text-decoration: none; }
@media (min-width: 981px) { .main-nav { display: flex; } }
.call-pill {
  padding: 10px 18px; border-radius: 999px; background: var(--green); color: var(--cream);
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.call-pill:hover { background: var(--coral); color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 220vh; }
.hero-inner {
  position: sticky; top: 0; min-height: 100vh;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  align-items: center; gap: clamp(48px, 4vw, 64px);
  padding: 80px var(--pad-x) 40px; max-width: 1360px; margin: 0 auto;
}
html.stacked .hero { height: auto; }
html.stacked .hero-inner { position: relative; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; position: relative; z-index: 2; }
.badge {
  align-self: flex-start; padding: 6px 14px; border-radius: 999px;
  background: var(--yellow); font-weight: 700; font-size: 15px; white-space: nowrap;
}
.hero h1 {
  margin: 0; font-family: var(--display); font-weight: 800;
  font-size: clamp(46px, 7vw, 104px); line-height: .95; letter-spacing: -.035em; text-wrap: balance;
}
.hero h1 span { color: var(--coral); }
.hero-lead { margin: 0; max-width: 500px; font-size: clamp(18px, 1.5vw, 21px); text-wrap: pretty; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  padding: 16px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--green); color: #fff; }
.btn-outline { border: 2px solid var(--green); }
.btn-outline:hover { background: var(--green); color: var(--cream); }

.ring { position: relative; width: min(100%, 560px, 62vh); aspect-ratio: 1; justify-self: center; margin-top: 48px; }
.ring-bg { position: absolute; inset: 14%; border-radius: 50%; background: var(--sand); }
.ring-center {
  position: absolute; inset: 30%; border-radius: 50%; display: grid; place-items: center; text-align: center;
  font-family: var(--display); font-weight: 600; font-size: clamp(15px, 1.6vw, 20px); line-height: 1.2;
  opacity: var(--centerO, 0);
}
.ring-rotor { position: absolute; inset: 0; transform: rotate(var(--rot, 0deg)); }
.chair {
  position: absolute; width: 13%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
}
.chair-free {
  position: absolute; left: 50%; top: 4%; width: 16%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; border: 3px dashed var(--coral); display: grid; place-items: center;
  animation: pulse 2.6s ease-in-out infinite;
}
.chair-free span {
  width: 100%; height: 100%; border-radius: 50%; background: var(--coral);
  transform: scale(var(--fill, 0)); transition: transform .2s;
}
.ring-label {
  position: absolute; left: 50%; top: -14%; transform: translateX(-50%);
  font-weight: 700; font-size: 15px; color: var(--coral); white-space: nowrap; opacity: calc(1 - var(--fill, 0));
}

/* ---------- Laufband ---------- */
.marquee { padding: 40px 0; background: var(--green); color: var(--cream); overflow: hidden; }
.marquee-track {
  display: flex; gap: 48px; white-space: nowrap; font-family: var(--display); font-weight: 800;
  font-size: clamp(44px, 7vw, 96px); letter-spacing: -.03em; line-height: 1.1;
  transform: translateX(var(--mq, 0px));
}
.marquee-track .star { color: var(--yellow); }
.marquee-track .light { font-weight: 400; }
.marquee-track .accent { color: var(--coral); }

/* ---------- Haltung ---------- */
.section-pad { padding: clamp(80px, 12vw, 160px) var(--pad-x); }
.section-pad-b { padding: 0 var(--pad-x) clamp(80px, 12vw, 160px); }
.wrap { max-width: 1180px; margin: 0 auto; }
.statement {
  margin: 0; max-width: 820px; font-family: var(--display); font-weight: 600;
  font-size: clamp(28px, 3.6vw, 48px); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance;
}
.values { display: flex; flex-direction: column; border-top: 2px solid var(--green); margin-top: clamp(40px, 6vw, 72px); }
.value {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 12px 40px; align-items: baseline; padding: clamp(22px, 3vw, 36px) 0; border-bottom: 2px solid var(--green);
}
.value h3 {
  margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4.4vw, 60px);
  letter-spacing: -.03em; line-height: 1;
}
.value p { margin: 0; max-width: 460px; }

/* ---------- Themen ---------- */
.topics {
  padding: clamp(32px, 5vw, 64px); border-radius: 40px; background: var(--yellow);
  display: flex; flex-direction: column; gap: 32px;
}
.topics-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.h2 {
  margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1; letter-spacing: -.03em; text-wrap: balance;
}
.topics-head p { margin: 0; max-width: 340px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.chips li {
  padding: 14px 22px; border-radius: 999px; background: var(--cream); font-weight: 700;
  font-size: clamp(17px, 1.6vw, 21px);
}
.chips li.dark { background: var(--green); color: var(--cream); }

/* ---------- Treffen ---------- */
.meeting { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 20px; }
.ticket { border-radius: 32px; background: var(--green); color: var(--cream); display: flex; flex-direction: column; }
.ticket-top { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.ticket-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.eyebrow { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; }
.ticket .eyebrow { color: var(--yellow); }
.countdown { padding: 5px 12px; border-radius: 999px; background: var(--coral); color: #fff; font-weight: 700; font-size: 14px; }
.ticket-day { font-family: var(--display); font-weight: 800; font-size: clamp(60px, 8vw, 112px); line-height: .9; letter-spacing: -.04em; }
.ticket-time { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; }
.ticket-next { opacity: .8; }
.perforation { position: relative; height: 0; border-top: 3px dashed rgba(244, 237, 225, .35); margin: 0 28px; }
.perforation::before, .perforation::after {
  content: ""; position: absolute; top: -18px; width: 34px; height: 34px; border-radius: 50%; background: var(--cream);
}
.perforation::before { left: -46px; }
.perforation::after { right: -46px; }
.ticket-facts {
  padding: clamp(24px, 3vw, 36px) clamp(28px, 4vw, 48px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px;
}
.ticket-facts div { display: flex; flex-direction: column; }
.ticket-facts dt { font-size: 14px; opacity: .65; }
.ticket-facts dd { margin: 0; font-weight: 700; }
.ticket-facts dd.room { font-family: var(--display); font-size: 32px; line-height: 1.1; }
.ticket-actions { padding: 0 clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 12px; }
.btn-yellow {
  padding: 14px 22px; border-radius: 999px; border: 0; background: var(--yellow); color: var(--green);
  font: 700 16px "Atkinson Hyperlegible", sans-serif; cursor: pointer;
}
.btn-yellow:hover { background: #fff; }
.btn-ghost {
  padding: 14px 22px; border-radius: 999px; border: 2px solid rgba(244, 237, 225, .4);
  color: var(--cream); font-weight: 700; font-size: 16px; text-decoration: none;
}
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }

.map {
  position: relative; min-height: 440px; border-radius: 32px; overflow: hidden; background: var(--sand);
  display: grid; place-items: center; padding: 28px; text-align: center;
}
.map-consent { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 360px; }
.map-consent p { margin: 0; font-size: 15px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.7) sepia(.15); }

/* ---------- Erster Abend ---------- */
.abend-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.abend-head .eyebrow { color: var(--coral); }
.timeline { position: relative; margin: clamp(36px, 5vw, 60px) 0; }
.steps { margin: 0; padding: 0; list-style: none; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 3px; background: var(--sand);
}
.timeline-fill {
  position: absolute; left: 27px; top: 28px; width: 3px; background: var(--coral);
  height: calc(var(--tl, 0) * (100% - 56px));
}
.step {
  position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 32px); padding: 14px 0;
}
.step-dot {
  width: 58px; height: 58px; border-radius: 50%; background: var(--sand); color: var(--green);
  display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 22px;
  position: relative; z-index: 1; transition: background .4s, color .4s;
}
.step.active .step-dot { background: var(--coral); color: #fff; }
.step-body {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 4px 40px; padding: 10px 0 24px; border-bottom: 1px solid #e0d5c2;
}
.step-body h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; }
.step-body p { margin: 0; max-width: 480px; opacity: .85; }
.note {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 24px 28px; border-radius: 24px; background: var(--sand);
}

/* ---------- Gedanken / Sprüche ---------- */
.voices { padding: clamp(80px, 12vw, 140px) var(--pad-x); background: var(--coral); color: #fff; }
.voices .eyebrow { color: var(--green); }
.voices-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-top: 40px;
}
.voice {
  margin: 0; padding: 32px; border-radius: 28px; display: flex; flex-direction: column;
  justify-content: space-between; gap: 28px; transform: rotate(var(--tilt, 0deg)); transition: transform .35s;
}
.voice { --tilt: -1.5deg; background: var(--cream, #f4ede1); color: #1f3b2f; }
.voice:nth-child(3n+2) { --tilt: 1deg; background: #1f3b2f; color: #f4ede1; }
.voice:nth-child(3n+3) { --tilt: -.5deg; background: #f5c95a; color: #1f3b2f; }
.voice:hover { transform: rotate(0deg) translateY(-6px); }
.voice blockquote {
  margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2; letter-spacing: -.01em;
}
.voice figcaption { font-size: 15px; opacity: .75; }

/* ---------- Weitere Hilfe ---------- */
.help-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.help-head p { margin: 0; max-width: 360px; }
.help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin-top: 40px; }
.help-card {
  padding: 28px; border-radius: 28px; text-decoration: none; display: flex; flex-direction: column;
  gap: 16px; min-height: 200px; justify-content: space-between; transition: transform .3s;
}
.help-card:hover { transform: translateY(-4px); }
.help-card small { display: block; font-size: 14px; font-weight: 700; opacity: .75; }
.help-card strong { display: block; font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.15; }
.help-card .num-wrap { display: flex; flex-direction: column; gap: 4px; }
.help-card .cost { display: block; font-size: 14px; font-weight: 700; opacity: .75; }
.help-card .num { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -.01em; }
.help-dark { background: var(--green); color: var(--cream); }
.help-dark:hover { color: var(--cream); }
.help-sand { background: var(--sand); color: var(--green); }
.help-coral { background: var(--coral); color: #fff; }
.help-coral:hover { color: #fff; }

/* ---------- Kontakt ---------- */
.contact {
  border-radius: 40px; background: var(--green); color: var(--cream);
  padding: clamp(32px, 6vw, 80px); display: flex; flex-direction: column; gap: 48px;
}
.contact h2 {
  margin: 0; max-width: 760px; font-family: var(--display); font-weight: 800;
  font-size: clamp(36px, 5.4vw, 76px); line-height: .98; letter-spacing: -.035em; text-wrap: balance;
}
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px 48px; }
.contact-item { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 2px solid rgba(244, 237, 225, .25); }
.contact-item span { font-size: 15px; opacity: .7; }
.contact-item a { color: var(--cream); }
.contact-item a.phone {
  color: var(--yellow); font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -.02em; text-decoration: none; line-height: 1.1;
}
.contact-item a.phone:hover { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { padding: 0 var(--pad-x) 40px; }
.footer-inner {
  max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 16px; padding-top: 24px; border-top: 2px solid var(--green); font-size: 15px;
}
.footer-links { display: flex; gap: 24px; }

/* ---------- Rechtliche Unterseiten ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 60px var(--pad-x) 100px; }
.legal h1 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5vw, 60px); letter-spacing: -.03em; line-height: 1.05; }
.legal h2 { font-family: var(--display); font-weight: 600; font-size: 26px; margin-top: 2em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chair-free { animation: none; }
}
