/* wyn.link — Landingpage (Messe-Vorgeschmack)
   Designtoken aus der Vorlage übernommen: geometrische Schrift, warme
   Zwischentöne, große Radien, weiche getönte Schatten. */

:root {
  color-scheme: light;

  --burgundy:    #7a1c38;
  --burgundy-dp: #5c1429;
  --ink:         #333238;
  --ink-soft:    #56555f;
  --coral:       #cb8b89;
  --mist:        #f1e7e6;
  --stone:       #f8f2f1;
  --white:       #ffffff;
  --muted:       #857f82;
  --line:        rgba(51, 50, 56, .14);
  --line-strong: rgba(51, 50, 56, .24);

  --shadow:    0 24px 70px rgba(69, 39, 48, .10);
  --shadow-sm: 0 8px 24px rgba(69, 39, 48, .07);
  --shadow-lg: 0 30px 80px rgba(122, 28, 56, .18);

  --radius-lg: 34px;
  --radius-md: 24px;
  --max:       1180px;

  --ease-out:  cubic-bezier(.22, 1, .36, 1);

  /* Century Gothic auf Windows, Avenir auf Apple-Geräten — beide geometrisch
     und nah an der Logoform. Ohne externen Webfont, damit die Seite keine
     Google-Fonts-Anfrage auslöst (DSGVO). */
  --font: "Century Gothic", CenturyGothic, "Avenir Next", Avenir,
          "URW Gothic", "Trebuchet MS", AppleGothic, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: max(1.5rem, env(safe-area-inset-left, 0px));
}

h1, h2, h3 { line-height: 1.22; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
p { margin: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-block: calc(3rem + env(safe-area-inset-top, 0px)) 3rem;
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, var(--mist) 0%, transparent 62%),
    var(--stone);
}

/* fließende Linien — das Signature-Element */
.flow-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.flow-lines svg { width: 100%; height: 100%; display: block; }
.flow-lines path {
  fill: none;
  stroke-linecap: round;
  stroke-width: 1.6;
}
.flow-lines .base {
  stroke: var(--coral);
  opacity: .30;
}
.flow-lines .pulse {
  stroke: var(--burgundy);
  opacity: .55;
  stroke-dasharray: 260 1500;
  animation: stream 11s linear infinite;
}
.flow-lines .pulse.p2 { animation-duration: 14s; animation-delay: -4s; opacity: .38; }
.flow-lines .pulse.p3 { animation-duration: 17s; animation-delay: -9s; opacity: .30; }
@keyframes stream {
  from { stroke-dashoffset: 1760; }
  to   { stroke-dashoffset: 0; }
}

.hero-inner { position: relative; text-align: center; }

/* Weicher Schleier, damit die Linien nicht durch den Text laufen */
.hero-inner::before {
  content: "";
  position: absolute;
  inset: -6% -8%;
  background: radial-gradient(ellipse at center,
              rgba(248, 242, 241, .90) 0%,
              rgba(248, 242, 241, .58) 46%,
              transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner > * { position: relative; z-index: 1; }

.logo {
  width: clamp(17.5rem, 50vw, 33rem);
  height: auto;
  display: block;
  margin: 0 auto;
}
.lg-accent { fill: var(--burgundy); }
.lg-ink    { fill: var(--ink); }
.lg-ink-s  { fill: var(--ink); stroke: var(--ink); stroke-width: 3; stroke-miterlimit: 10; }

.claim {
  margin: clamp(3rem, 9vh, 5.5rem) auto 0;
  max-width: 30ch;
  font-size: clamp(1.375rem, 3.6vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.28;
}
.claim-sub {
  margin: 1.375rem auto 0;
  max-width: 46ch;
  font-size: clamp(1.0625rem, 2.2vw, 1.1875rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2.25rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.9375rem 1.5rem;
  border-radius: 100px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .26s var(--ease-out), box-shadow .26s ease,
              background-color .26s ease, border-color .26s ease, color .26s ease;
}
.btn-primary { background: var(--burgundy); color: var(--white); box-shadow: var(--shadow-sm); }
.btn .ico    { width: 1.125rem; height: 1.125rem; flex: none; }

@media (hover: hover) {
  .btn-primary:hover { background: var(--burgundy-dp); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
}
.btn:active        { transform: translateY(0) scale(.99); }
.btn:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding-block: 2rem;
  font-size: 0.8125rem;
  color: var(--muted);
  background: var(--white);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}
footer a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line-strong); }
footer a:hover { color: var(--burgundy); border-bottom-color: var(--burgundy); }

/* ---------- Einblenden ---------- */
.reveal { opacity: 0; animation: rise .85s var(--ease-out) both; }
.d1 { animation-delay: .05s; }
.d2 { animation-delay: .30s; }
.d3 { animation-delay: .48s; }
.d4 { animation-delay: .62s; }
.d5 { animation-delay: .74s; }
.d6 { animation-delay: .86s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .flow-lines .pulse { stroke-dasharray: none; opacity: .3; }
}
