/* ==============================================================
   Meet Me Outside – "Small things"
   Farben & Typo nach CI: Dunkles Navy, Gelb, Weiß, Rosé, Schiefer.
   Headlines: Block Berthold (lizenzierte Datei in /fonts ablegen),
   Fallback Anton. Fließtext: Quicksand.
   ============================================================== */

@font-face {
  font-family: 'Block Berthold';
  src: url('/fonts/blockberthold.otf') format('opentype');
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --ink: #03020e;
  --ink-2: #0c0b1f;
  --ink-3: #16152c;
  --yellow: #fff200;
  --pink: #efc3c3;
  --slate: #6e8f9b;
  --white: #ffffff;
  --muted: #a7b3ba;
  --line: rgba(255, 255, 255, 0.12);

  --f-display: 'Block Berthold', 'Anton', 'Impact', sans-serif;
  --f-body: 'Quicksand', system-ui, sans-serif;
  --f-logo: 'Rammetto One', 'Quicksand', sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 8px; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

/* ---------- Typo ---------- */
.display {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin: 0 0 0.4em;
}
.display em { font-style: normal; color: var(--yellow); }
.h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.h3 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.kicker {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before { content: ''; width: 22px; height: 3px; background: currentColor; border-radius: 3px; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: #dfe5e8; max-width: 34em; font-weight: 500; }
.body-lg { font-size: 1.12rem; color: #d3dadd; max-width: 38em; }

/* ---------- Logo / Wortmarke ---------- */
.wordmark {
  font-family: var(--f-logo);
  color: var(--yellow);
  text-transform: lowercase;
  display: inline-grid;
  grid-template-columns: auto auto;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.wordmark .w-meet { grid-column: 1; grid-row: 1; justify-self: end; padding-right: 0.05em; }
.wordmark .w-me { grid-column: 2; grid-row: 1 / span 2; align-self: center; padding-left: 0.04em; }
.wordmark .w-out { grid-column: 1; grid-row: 2; margin-top: -0.05em; }
.brand { text-decoration: none; display: inline-flex; font-size: 1.15rem; }
.brand img, .footer-logo img { height: 46px; width: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--white); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--bg);
  border-radius: 999px;
  padding: 0.95em 1.6em;
  font: 700 1rem/1 var(--f-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: 0 8px 0 -2px rgba(0,0,0,.35); }
.btn:active { transform: translateY(0); }
.btn-yellow { --bg: var(--yellow); --fg: var(--ink); }
.btn-ink { --bg: var(--ink); --fg: var(--yellow); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--white); box-shadow: none; }
.btn-sm { padding: 0.7em 1.2em; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(3, 2, 14, 0.86); backdrop-filter: blur(12px); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.nav { display: flex; gap: 26px; margin-left: auto; font-weight: 600; font-size: 0.95rem; }
.nav a { text-decoration: none; color: #cfd6da; }
.nav a:hover { color: var(--yellow); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 90px) 0 clamp(60px, 8vw, 110px); }
.hero.has-image { background-size: cover; background-position: center; }
.hero.has-image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,2,14,.94) 30%, rgba(3,2,14,.45)); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr 0.9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-title { font-size: clamp(3.4rem, 9.2vw, 8.2rem); margin-bottom: 0.3em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-visual { position: relative; }
.post {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--slate);
  padding: 28px;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
}
.post-next { transform: rotate(2.5deg); background-size: cover; background-position: center; }
.post-next > * { position: relative; }
.post-label { font: 700 0.82rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--white); text-align: center; }
.post-city { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(3.6rem, 7vw, 5.6rem); line-height: .9; text-align: center; margin: auto 0 6px; }
.post-date { font: 700 1.2rem/1.2 var(--f-body); text-align: center; letter-spacing: .04em; }
.post .wordmark { font-size: 1.35rem; margin: auto auto 0; }

.sticker {
  position: absolute;
  font: 700 0.95rem/1 var(--f-body);
  padding: 12px 18px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.6);
}
.sticker-a { background: var(--yellow); color: var(--ink); left: -26px; top: 16%; transform: rotate(-8deg); }
.sticker-b { background: var(--pink); color: var(--ink); right: -14px; bottom: 15%; transform: rotate(6deg); }

/* ---------- Ticker ---------- */
.ticker { background: var(--yellow); color: var(--ink); overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); margin: 0 -10px; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker-item { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.4rem, 2.6vw, 2rem); white-space: nowrap; padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; }
.ticker-item::after { content: '✶'; font-family: var(--f-body); font-size: .8em; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 10vw, 130px) 0; }
.section-tight { padding-top: clamp(40px, 6vw, 70px); }
.section-alt { background: var(--ink-2); border-radius: 40px; margin: 0 clamp(8px, 1.5vw, 20px); }
.section-head { margin-bottom: clamp(30px, 5vw, 56px); }
.section-head-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; }
.section-head-row .body-lg { margin-bottom: .6em; }

/* ---------- Manifest ---------- */
.manifesto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; counter-reset: p; }
.point {
  counter-increment: p;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  transition: transform .2s ease, border-color .2s ease;
}
.point:nth-child(4n+2) { transform: translateY(26px); }
.point:nth-child(4n+4) { transform: translateY(26px); }
.point:hover { border-color: var(--yellow); }
.point::before {
  content: counter(p, decimal-leading-zero);
  display: block;
  font: 700 0.85rem/1 var(--f-body);
  color: var(--yellow);
  margin-bottom: 18px;
}
.point h3 { font-family: var(--f-display); text-transform: uppercase; font-weight: 400; font-size: 1.6rem; line-height: 1; margin: 0 0 10px; }
.point p { margin: 0; color: #c9d1d5; font-size: 0.98rem; }

/* ---------- Termine & Anmeldung ---------- */
.signup-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }
.events { display: grid; gap: 16px; }
.event {
  position: relative;
  display: grid; grid-template-columns: 112px 1fr; gap: 22px;
  background: var(--ink-3);
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
  width: 100%;
  transition: border-color .2s ease, transform .2s ease;
}
.event:hover { transform: translateY(-2px); }
.event[aria-checked="true"] { border-color: var(--yellow); }
.event[aria-disabled="true"] { cursor: not-allowed; opacity: .55; }
.event-date {
  background: var(--slate);
  border-radius: var(--radius-sm);
  display: grid; place-content: center; text-align: center;
  aspect-ratio: 1;
  background-size: cover; background-position: center;
}
.event-day { font-family: var(--f-display); font-size: 3.1rem; line-height: .9; }
.event-month { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }
.event-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 4px; }
.event h3 { font-family: var(--f-display); text-transform: uppercase; font-weight: 400; font-size: 1.9rem; line-height: 1; margin: 0; }
.badge { font: 700 .72rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; background: var(--pink); color: var(--ink); padding: 6px 10px; border-radius: 999px; }
.badge-full { background: var(--white); }
.event p { margin: 6px 0 10px; color: #c9d1d5; font-size: .97rem; }
.event-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; font-weight: 600; color: var(--white); }
.event-facts li { display: inline-flex; gap: 6px; align-items: center; }
.event-facts li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.event-check {
  position: absolute; top: 16px; right: 16px;
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--line);
  display: grid; place-content: center;
  font-size: .85rem; color: transparent;
}
.event[aria-checked="true"] .event-check { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.events-empty { background: var(--ink-3); border-radius: var(--radius); padding: 30px; color: var(--muted); }

.signup {
  position: sticky; top: 96px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 36px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
}
.signup .display em { color: var(--ink); text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .08em; }
.signup p { font-weight: 500; }
.chosen { background: var(--ink); color: var(--yellow); border-radius: var(--radius-sm); padding: 12px 16px; font-weight: 700; font-size: .95rem; }
.chosen:empty { display: none; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.field input {
  width: 100%;
  font: 600 1.05rem/1.2 var(--f-body);
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.field input:focus { outline: none; box-shadow: 0 0 0 4px rgba(3,2,14,.25); }
.field input[aria-invalid="true"] { border-color: #c4002b; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .82rem; line-height: 1.45; margin: 6px 0 18px; font-weight: 500; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); }
.consent a { font-weight: 700; }
.form-msg { margin: 12px 0 0; font-weight: 700; font-size: .92rem; min-height: 1.2em; }
.form-msg.err { color: #a00024; }
.signup-success { text-align: center; padding: 20px 0; }
.success-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--ink); color: var(--yellow); display: grid; place-content: center; font-size: 2rem; margin: 0 auto 18px; font-weight: 700; }

/* ---------- Ablauf ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { counter-increment: s; position: relative; padding-top: 10px; }
.step::before {
  content: counter(s);
  display: block;
  font-family: var(--f-display);
  font-size: clamp(5rem, 9vw, 7.5rem);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 2px var(--slate);
  margin-bottom: 16px;
}
.step:hover::before { color: var(--yellow); -webkit-text-stroke-color: var(--yellow); }
.step h3 { font-family: var(--f-display); text-transform: uppercase; font-weight: 400; font-size: 1.7rem; line-height: 1; margin: 0 0 8px; }
.step p { color: #c9d1d5; margin: 0; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 22px;
  text-align: center;
  background: var(--slate);
  color: var(--white);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.04); }
.tile-caption { position: relative; z-index: 1; font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.7rem, 3.2vw, 2.8rem); line-height: .95; }
.tile.has-image .tile-caption { margin-top: auto; font-size: clamp(1.2rem, 2vw, 1.7rem); }
.tile .wordmark { position: absolute; z-index: 1; bottom: 18px; left: 50%; transform: translateX(-50%); font-size: .95rem; }
.tile-yellow { background: var(--yellow); color: var(--ink); }
.tile-yellow .wordmark { color: var(--ink); }
.tile-pink { background: var(--pink); color: var(--ink); }
.tile-pink .wordmark { color: var(--ink); }
.tile-white { background: var(--white); color: var(--ink); }
.tile-white .wordmark { color: var(--ink); }
.tile-ink { background: var(--ink-3); }

/* ---------- Community ---------- */
.community { background: var(--pink); color: var(--ink); border-radius: 40px; margin: 0 clamp(8px, 1.5vw, 20px); }
.community .display em { color: var(--ink); background: var(--yellow); padding: 0 .12em; border-radius: .08em; }
.community .body-lg { color: #2a2836; }
.kicker-ink { color: var(--ink); }
.community-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.socials { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.social {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center;
  background: var(--ink); color: var(--white);
  border-radius: var(--radius);
  padding: 14px 20px 14px 14px;
  text-decoration: none;
  transition: transform .2s ease;
}
.social:hover { transform: translateX(6px) rotate(-.6deg); }
.social-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--yellow); color: var(--ink); display: grid; place-content: center; }
.social-icon svg { width: 26px; height: 26px; }
.social strong { display: block; font-family: var(--f-display); text-transform: uppercase; font-weight: 400; font-size: 1.5rem; line-height: 1; }
.social small { color: var(--muted); font-size: .9rem; font-weight: 600; }
.social-arrow { color: var(--yellow); font-size: 1.4rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 22px 0;
  font-weight: 700; font-size: 1.15rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--line);
  display: grid; place-content: center;
  font-size: 1.3rem; line-height: 1; color: var(--yellow);
  transition: transform .25s ease, background .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.faq details p { color: #c9d1d5; margin: 0 0 22px; max-width: 40em; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(60px, 8vw, 100px) 0 40px; border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 80px); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.footer-logo .wordmark { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.footer-logo img { height: auto; width: min(320px, 100%); }
.footer-meta { color: var(--muted); }
.footer-social { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social a { display: grid; place-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); color: var(--white); }
.footer-social a:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.footer-social svg { width: 20px; height: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: .92rem; margin: 0; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--yellow); }

/* ---------- Einblend-Animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .hero-grid, .manifesto, .signup-grid, .community-inner, .faq-grid, .section-head-row, .footer-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 380px; margin: 10px auto 0; width: 82%; }
  .signup { position: static; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .points { grid-template-columns: 1fr; }
  .point:nth-child(n) { transform: none; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tile { padding: 14px; }
  .tile .wordmark { font-size: .75rem; bottom: 12px; }
  .event { grid-template-columns: 1fr; }
  .event-date { aspect-ratio: auto; grid-template-columns: auto auto; gap: 10px; justify-content: start; align-items: baseline; padding: 12px 16px; place-content: initial; }
  .event-day { font-size: 2.2rem; }
  .steps { grid-template-columns: 1fr; }
  .sticker-a { left: -10px; }
  .sticker-b { right: -6px; }
  .section-alt, .community { border-radius: 28px; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .social, .event, .tile img { transition: none; }
}
