/* the WHYKINGS — Methoden (Register /methoden/ und Methodenseiten)
   Vorlage: Design-Canvas „the WHYKINGS Methoden (Entwurf)“. Maße, Farben und Schriften
   stammen 1:1 aus dem Entwurf (Desktop 1280 px); ergänzt um Handy-/Laptop-Anpassung,
   lokal gehostete Fonts (vendor/fonts-local.css) und die Links im Fußbereich. */

:root { --gold: #B79F63; --gold-hell: #d1bb85; --gruen: #81a28d; --vh: 100vh; }
@supports (height: 100svh) { :root { --vh: 100svh; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: #181818; color: #f6f6f5; font-family: 'Albert Sans', sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1 { margin: 0; font-family: 'Jost', sans-serif; font-weight: 700; text-transform: uppercase; line-height: 1; letter-spacing: -.02em; }
p { margin: 0; }

.m-wrap { width: 100%; max-width: 1280px; margin: 0 auto; min-height: var(--vh); display: flex; flex-direction: column; }

/* ---- Fußbereich ---- */
.m-foot { margin-top: auto; font-size: 14px; line-height: 1.5; color: #8f8f8c; }
.m-foot a:hover { color: var(--gold-hell); }
.m-foot p a { text-decoration: underline; text-underline-offset: 3px; }
.m-legal { display: flex; flex-wrap: wrap; column-gap: 20px; margin-top: 4px; }
.m-legal a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---- Register /methoden/ ---- */
.m-register { padding: 96px 80px 120px; gap: 64px; }
.m-intro { display: flex; flex-direction: column; gap: 16px; }
.m-brand { align-self: flex-start; padding: 13px 0; margin: -13px 0; font-family: 'Jost', sans-serif; font-weight: 700; letter-spacing: .14em; font-size: 15px; color: #9a9a9a; }
.m-brand:hover { color: #f6f6f5; }
.m-intro h1 { font-size: 64px; }
.m-intro p { font-size: 19px; line-height: 1.5; color: #bcbcb9; max-width: 560px; }
.m-groups { display: flex; flex-direction: column; gap: 48px; }
.m-group { --farbe: #81a28d; --rahmen: #4a4a48; }
.m-group h2 { margin: 0 0 16px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--farbe); }
.m-tiles { display: flex; flex-wrap: wrap; gap: 16px; }
.tile, .soon { width: 176px; height: 176px; padding: 20px; display: flex; }
.tile { flex-direction: column; justify-content: space-between; background: var(--farbe); color: #181818; font-family: 'Jost', sans-serif; font-weight: 700; font-size: 24px; line-height: 1.05; text-transform: uppercase; letter-spacing: -.01em; transition: transform .2s cubic-bezier(.4, 0, .2, 1); }
a.tile:hover { transform: translateY(-3px); }
.tile .arr { font-size: 20px; font-weight: 500; }
.soon { align-items: flex-end; font-size: 15px; color: #9a9a9a; border: 1px dashed var(--rahmen); }

/* ---- Methodenseite ---- */
.m-method { padding: 72px 80px 96px; gap: 56px; align-items: center; }
.m-top { align-self: stretch; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 15px; }
.m-back { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold); }
.m-back:hover { color: var(--gold-hell); }
.m-cat { display: inline-flex; align-items: center; color: #8f8f8c; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.m-main { display: flex; flex-direction: column; align-items: center; gap: inherit; }
.m-title { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.m-title h1 { font-size: 56px; }
.m-title p { font-size: 21px; line-height: 1.5; color: #bcbcb9; max-width: 520px; }
.m-hint { font-size: 15px; line-height: 1.6; color: #8f8f8c; max-width: 520px; text-align: center; }
.m-method .m-foot { text-align: center; }
.m-method .m-legal { justify-content: center; }

/* ---- Atemkreis: 4 s einatmen (wachsen), 6 s ausatmen (schrumpfen) ----
   --d = Durchmesser. 440 px wie im Entwurf; auf kleinen oder niedrigen Fenstern
   kleiner, damit Kreis und Anweisung ohne Scrollen sichtbar bleiben. */
.breath { --d: max(220px, min(440px, calc(100vw - 48px), calc(var(--vh) - 380px))); position: relative; flex: none; width: var(--d); height: calc(var(--d) + 120px); }
.ring { position: absolute; left: 0; top: 0; width: var(--d); height: var(--d); border-radius: 50%; border: 2px solid rgba(183, 159, 99, .35); }
.dot { position: absolute; left: 0; top: 0; width: var(--d); height: var(--d); animation: breathe 10s ease-in-out infinite both; }
.dot div { width: 100%; height: 100%; border-radius: 50%; background: var(--gold); }
.l1, .l2 { position: absolute; left: 50%; top: calc(var(--d) + 50px); width: min(560px, calc(100vw - 24px)); transform: translateX(-50%); text-align: center; font-family: 'Jost', sans-serif; font-weight: 700; font-size: 44px; text-transform: uppercase; letter-spacing: -.01em; }
.l1 { color: #f6f6f5; animation: inl 10s linear infinite both; }
.l2 { color: var(--gruen); animation: outl 10s linear infinite both; }
@keyframes breathe { 0% { transform: scale(.45); } 40% { transform: scale(1); } 100% { transform: scale(.45); } }
@keyframes inl { 0%, 38% { opacity: 1; } 42%, 100% { opacity: 0; } }
@keyframes outl { 0%, 38% { opacity: 0; } 42%, 96% { opacity: 1; } 100% { opacity: 0; } }

/* niedrige Laptop-Fenster: Abstände straffen, damit die ganze Übung ins Bild passt */
@media (max-height: 880px) and (min-width: 761px) {
  .m-method { padding-top: 40px; gap: 36px; }
}

/* Handy */
@media (max-width: 760px) {
  .m-register { padding: 48px 24px 48px; gap: 48px; }
  .m-intro h1 { font-size: clamp(40px, 13vw, 64px); }
  .tile, .soon { width: calc(50% - 8px); max-width: 176px; height: auto; aspect-ratio: 1 / 1; padding: 16px; }
  .tile { font-size: 21px; }
  .m-method { padding: 20px 24px 40px; gap: 28px; }
  .m-title h1 { font-size: clamp(32px, 10vw, 56px); }
  .m-title p { font-size: 18px; }
  .breath { height: calc(var(--d) + 80px); }
  .l1, .l2 { top: calc(var(--d) + 28px); font-size: clamp(24px, 7.2vw, 44px); }
}
