/* ==========================================================
   helpyou — Stylesheet
   Alle Farben und Größen stehen hier oben. Willst du etwas
   ändern, änderst du es hier – einmal, für die ganze Seite.
   ========================================================== */

/* ---------- Farben: heller Modus ---------- */
:root{
  --ground:      #FBFBFD;
  --ground-2:    #F0F0F4;
  --nav:         rgba(251,251,253,0.72);
  --ink:         #141417;
  --ink-2:       #6B6B77;
  --hairline:    rgba(20,20,30,0.11);
  --accent:      #0F55DC;
  --accent-soft: rgba(15,85,220,0.10);

  --display: "SF Pro Display","Segoe UI Variable Display","Helvetica Neue",system-ui,-apple-system,sans-serif;
  --text:    "SF Pro Text","Segoe UI Variable Text",-apple-system,system-ui,"Helvetica Neue",sans-serif;

  --edge: clamp(22px, 5vw, 40px);
  --wide: 1080px;
  --read: 62ch;
}

/* ---------- Farben: dunkler Modus ---------- */
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --ground:      #0A0A0C;
    --ground-2:    #141418;
    --nav:         rgba(10,10,12,0.72);
    --ink:         #F3F3F7;
    --ink-2:       #93939F;
    --hairline:    rgba(255,255,255,0.13);
    --accent:      #6BA1FF;
    --accent-soft: rgba(107,161,255,0.14);
  }
}

:root[data-theme="dark"]{
  --ground:      #0A0A0C;
  --ground-2:    #141418;
  --nav:         rgba(10,10,12,0.72);
  --ink:         #F3F3F7;
  --ink-2:       #93939F;
  --hairline:    rgba(255,255,255,0.13);
  --accent:      #6BA1FF;
  --accent-soft: rgba(107,161,255,0.14);
}

/* ---------- Basis ---------- */
*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a{ color: var(--accent); text-decoration: none; }
a:hover{ text-decoration: underline; text-underline-offset: 3px; }

:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.wrap{
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: var(--edge);
}

/* ---------- Schriftgrößen ---------- */
.display{
  font-family: var(--display);
  font-size: clamp(2.6rem, 7.2vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}

.title{
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.026em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

.lead{
  font-size: clamp(1.06rem, 1.7vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  max-width: 34ch;
  text-wrap: pretty;
}

.body{
  margin: 0;
  max-width: var(--read);
  color: var(--ink-2);
  text-wrap: pretty;
}

.label{
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0;
}

/* ---------- Die Marke ---------- */
.mark{
  display: block;
  color: var(--ink);
  overflow: visible;
}
.mark-ring,
.mark-dot{
  transform-box: fill-box;
  transform-origin: center;
}

/* ---------- Navigation ---------- */
.nav{
  position: sticky;
  top: 0;
  z-index: 10;
  height: 50px;
  display: flex;
  align-items: center;
  background: var(--nav);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.nav .wrap{
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin-right: auto;
}
.brand:hover{ text-decoration: none; }
.brand .mark{ width: 19px; height: 19px; }

.nav-link{
  color: var(--ink-2);
  font-size: 0.83rem;
}
.nav-link:hover{ color: var(--ink); text-decoration: none; }

/* ---------- Startseite: Hero ---------- */
.hero{
  min-height: min(86svh, 780px);
  display: flex;
  align-items: center;
  padding-block: clamp(72px, 13vw, 130px);
}
.hero .wrap{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 4.5vw, 46px);
  text-align: center;
}
.hero .mark{
  width: clamp(94px, 17vw, 158px);
  height: clamp(94px, 17vw, 158px);
}
.hero-copy{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 2.4vw, 26px);
}
.hero .lead{ max-width: 40ch; }

.actions{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}
.actions--start{ justify-content: flex-start; margin-top: 10px; }

.btn{
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding-inline: 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: opacity 0.2s ease;
}
.btn:hover{ opacity: 0.86; text-decoration: none; }

.btn-quiet{
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding-inline: 20px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 500;
}
.btn-quiet:hover{ text-decoration: none; opacity: 0.82; }

/* ---------- Abschnitte ---------- */
.panel{
  padding-block: clamp(78px, 12vw, 148px);
  border-top: 1px solid var(--hairline);
}
.panel--tint{ background: var(--ground-2); }

.stack{
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.6vw, 26px);
}

.areas{
  display: flex;
  flex-direction: column;
}
.area{
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: end;
  gap: 20px 32px;
  padding-block: clamp(34px, 5vw, 52px);
  border-top: 1px solid var(--hairline);
}
.area:first-of-type{ border-top: none; padding-top: clamp(28px, 4vw, 40px); }
.area-text{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.area .title{ font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.area .body{ max-width: 46ch; }

.status{
  align-self: end;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--ink-2);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 5px 13px;
  white-space: nowrap;
}

/* ---------- Rechtsseiten (Impressum, Datenschutz) ---------- */
.legal{
  padding-block: clamp(56px, 9vw, 96px) clamp(72px, 11vw, 120px);
}
.legal .wrap{
  max-width: 760px;
}
.legal-head{
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: clamp(28px, 4vw, 40px);
  margin-bottom: clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--hairline);
}
.legal-head .title{ font-size: clamp(1.9rem, 4.4vw, 2.8rem); }

.prose{
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.prose section{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prose h2{
  font-family: var(--display);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
}
.prose p{
  margin: 0;
  color: var(--ink-2);
  text-wrap: pretty;
}
.prose ul{
  margin: 0;
  padding-left: 1.2em;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.prose .plain{
  color: var(--ink);
  line-height: 1.75;
}

/* Platzhalter, die Hermann noch ausfüllen muss */
.fill{
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 5px;
  padding: 1px 7px;
  font-size: 0.94em;
  font-weight: 500;
  white-space: nowrap;
}

.note{
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--ground-2);
}
.note p{ margin: 0; color: var(--ink-2); font-size: 0.93rem; }
.note strong{ color: var(--ink); font-weight: 600; }

/* ---------- Fußzeile ---------- */
.foot{
  border-top: 1px solid var(--hairline);
  padding-block: 40px 52px;
  font-size: 0.79rem;
  color: var(--ink-2);
}
.foot .wrap{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}
.foot a{ color: var(--ink-2); }
.foot a:hover{ color: var(--ink); }
.foot .spacer{ margin-left: auto; }

/* ---------- Bewegung ---------- */
@keyframes ringIn{
  from{ transform: rotate(-105deg); opacity: 0; }
  to  { transform: rotate(0deg);    opacity: 1; }
}
@keyframes dotIn{
  from{ transform: scale(0.15); opacity: 0; }
  to  { transform: scale(1);    opacity: 1; }
}
@keyframes riseIn{
  from{ transform: translateY(14px); opacity: 0; }
  to  { transform: translateY(0);    opacity: 1; }
}

.hero .mark-ring{ animation: ringIn 1.15s cubic-bezier(0.16,1,0.3,1) both; }
.hero .mark-dot { animation: dotIn 0.72s cubic-bezier(0.34,1.42,0.5,1) 0.52s both; }
.hero .display  { animation: riseIn 0.85s cubic-bezier(0.16,1,0.3,1) 0.30s both; }
.hero .lead     { animation: riseIn 0.85s cubic-bezier(0.16,1,0.3,1) 0.42s both; }
.hero .actions  { animation: riseIn 0.85s cubic-bezier(0.16,1,0.3,1) 0.54s both; }

.js .reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.js .reveal.in{
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation: none !important; transition: none !important; }
  .js .reveal{ opacity: 1; transform: none; }
}

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 620px){
  .area{
    grid-template-columns: minmax(0,1fr);
    align-items: start;
  }
  .status{ justify-self: start; }
  .nav .wrap{ gap: 18px; }
}
