/* ==========================================================
   EasyRegen – coming-soon page
   Same colours and font as the main site (assets/css/site.css there).
   Font: Inter, self-hosted (SIL Open Font License, see /assets/fonts/OFL-LICENSE.txt).
   No requests to Google or any other outside server when the page loads.
   ========================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ---------- Brand palette (same as the main site) ---------- */
:root {
  --brand: #1E3A5F;          /* navy – headline fill, button, links */
  --brand-dark: #142A47;     /* hover */
  --brand-tint: #E8EEF5;     /* light navy background */
  --brand-empty: #DCE4EE;    /* headline before it fills ("empty air chambers") */
  --ink: #0E1116;
  --ink-2: #2B323C;
  --muted: #4A5260;
  --line: #E5E5EA;
  --line-2: #D2D2D7;
  --page: #FBFBFD;
  --page-2: #F5F5F7;
  --card: #FFFFFF;
  --error: #9B2C2C;
  --shadow: 0 1px 2px rgba(14,17,22,.04), 0 12px 32px rgba(14,17,22,.07);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Page frame: header / main / footer ---------- */
.cs { position: relative; overflow: hidden; isolation: isolate; min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto;
  background: radial-gradient(1100px 700px at 50% 38%, #FFFFFF 0%, #F4F6FA 55%, #E7ECF3 100%); }

/* Background: only the product, large and out of focus, as if the camera were focused on the text.
   Images: assets/img/bg-boots.webp and bg-controller.webp (any cut-out with a transparent background works). */
.cs-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cs-bg img { position: absolute; width: auto; max-width: none; }
.cs-bg .bg-boots { right: 2%; top: 52%; height: 112vh; transform: translateY(-50%) rotate(-7deg); filter: blur(20px); opacity: .30; }
.cs-bg .bg-ctrl { left: 7%; top: 60%; height: 70vh; transform: translateY(-50%) rotate(10deg); filter: blur(24px); opacity: .22; }
.cs-bg .bg-veil { position: absolute; inset: 0; background: radial-gradient(48% 52% at 50% 46%, rgba(251,251,253,.78), rgba(251,251,253,0) 75%); }

.cs-header { width: 100%; max-width: 1200px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cs-logo { color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.cs-logo:hover { color: var(--ink); text-decoration: none; }

/* Language switch (slides between DE and EN) – same as the main site */
.lang-toggle { position: relative; display: inline-grid; grid-template-columns: 38px 38px; align-items: center; height: 40px; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--muted); text-decoration: none !important; cursor: pointer; flex: none; }
.lang-toggle:hover { border-color: var(--brand); }
.lang-toggle .lt-knob { position: absolute; top: 3px; bottom: 3px; left: 3px; width: 38px; border-radius: 999px; background: var(--brand); transition: transform .25s ease; }
.lang-toggle[data-lang="en"] .lt-knob { transform: translateX(38px); }
.lang-toggle .lt-opt { position: relative; z-index: 1; text-align: center; transition: color .25s ease; }
.lang-toggle[data-lang="de"] .lt-opt[lang="de"],
.lang-toggle[data-lang="en"] .lt-opt[lang="en"] { color: #fff; }

/* ---------- Hero ---------- */
.cs-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px 72px; }
.cs-hero { width: 100%; max-width: 1200px; display: flex; flex-direction: column; align-items: center; text-align: center; }

/* The big headline. Two copies of the word sit on top of each other:
   the pale one is the "empty boot", the navy one fills it from the bottom up
   in six steps – like the six air chambers filling from foot to thigh. */
.cs-title {
  position: relative;
  margin: 0;
  font-size: clamp(64px, 15.5vw, 212px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: .92;
  padding: 0 .04em .22em;          /* room for the last letter's overhang and the tail of g, p, y */
  margin-bottom: -.16em;
  color: var(--brand-empty);
}
.cs-title.is-long { font-size: clamp(44px, 11.2vw, 160px); }   /* "Coming Soon…" is longer than one word */
.cs-title .cs-fill {
  position: absolute;
  inset: 0;
  padding: inherit;
  color: var(--brand);
  /* A soft-edged mask rises from the bottom, like air slowly filling the boot. */
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 40.8%, transparent 59.2%, transparent 100%);
          mask-image: linear-gradient(to top, #000 0%, #000 40.8%, transparent 59.2%, transparent 100%);
  -webkit-mask-size: 100% 245%;      /* sized so the soft edge crosses the word over the whole animation */
          mask-size: 100% 245%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: 0 0%;
          mask-position: 0 0%;
  animation: csFill 7s cubic-bezier(.37, 0, .63, 1) .3s forwards;   /* 7s = how long the rise takes; higher = slower */
}
@keyframes csFill {
  from { -webkit-mask-position: 0 0%;   mask-position: 0 0%; }
  to   { -webkit-mask-position: 0 100%; mask-position: 0 100%; }
}

.cs-lead { margin: 28px 0 0; max-width: 42ch; font-size: clamp(19px, 2.1vw, 23px); line-height: 1.45; color: var(--ink-2); letter-spacing: -0.01em; }
.cs-lead strong { color: var(--ink); font-weight: 600; }

/* ---------- Sign-up box ---------- */
.cs-box { width: 100%; max-width: 580px; margin-top: 40px; }

.cs-field { display: flex; align-items: center; gap: 6px; padding: 6px; background: var(--card); border: 1px solid var(--line-2); border-radius: 999px; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.cs-field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30,58,95,.14), var(--shadow); }
.cs-field.is-invalid { border-color: var(--error); }
.cs-field input { flex: 1; min-width: 0; height: 52px; padding: 0 8px 0 20px; border: 0; background: transparent; font: inherit; font-size: 17px; color: var(--ink); }
.cs-field input::placeholder { color: #7D8591; }
.cs-field input:focus { outline: none; }

.cs-btn { flex: none; height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s; }
.cs-btn:hover { background: var(--brand-dark); }
.cs-btn:disabled { opacity: .65; cursor: progress; }
.cs-btn:focus-visible { outline-offset: 2px; border-radius: 999px; }

.cs-consent { display: flex; gap: 12px; align-items: flex-start; margin: 18px 4px 0; text-align: left; font-size: 13.5px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.cs-consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); cursor: pointer; }
.cs-consent.is-invalid input { outline: 2px solid var(--error); outline-offset: 2px; border-radius: 3px; }

.cs-msg { min-height: 0; margin: 12px 4px 0; text-align: left; font-size: 14px; font-weight: 600; color: var(--error); }
.cs-msg:empty { display: none; }

/* ---------- After signing up ---------- */
.cs-done { display: flex; flex-direction: column; align-items: center; gap: 0; padding: 32px 28px 30px; background: var(--card); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.cs-done:focus { outline: none; }
.cs-check { width: 56px; height: 56px; border-radius: 999px; background: var(--brand-tint); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.cs-check path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: csTick .45s .1s ease-out forwards; }
@keyframes csTick { to { stroke-dashoffset: 0; } }
.cs-done h2 { margin: 18px 0 6px; font-size: 26px; font-weight: 700; letter-spacing: -0.025em; }
.cs-done p { margin: 0; max-width: 40ch; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.cs-done .cs-email { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.cs-follow { width: 100%; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.cs-follow p { margin: 0 auto 14px; font-size: 15px; color: var(--muted); }
.cs-redo { margin-top: 18px; padding: 6px 10px; border: 0; background: none; font: inherit; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cs-redo:hover { color: var(--ink); }

/* ---------- Social links ---------- */
.cs-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cs-social > a, .cs-social > span { display: inline-flex; align-items: center; gap: 7px; min-height: 46px; padding: 0 15px 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); color: var(--ink); font-size: 15px; font-weight: 600; }
.cs-social a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.cs-social svg { flex: none; }

/* small round icons in the footer */
.cs-social-mini { display: flex; gap: 8px; }
.cs-social-mini a { width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); background: var(--card); }
.cs-social-mini a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Header: language switch + contact button ---------- */
.cs-nav { display: flex; align-items: center; gap: 12px; }
.cs-contact { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }
.cs-contact:hover { background: #2B323C; color: #fff; text-decoration: none; }

/* ---------- "Follow us" row under the sign-up box ---------- */
.cs-follow-row { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cs-follow-row p { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.cs-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cs-icons > a, .cs-icons > span { width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--card); color: var(--ink); }
.cs-icons > a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.is-soon { opacity: .45; cursor: default; }

/* ---------- Contact page ---------- */
.cs-title.is-page { font-size: clamp(40px, 6vw, 76px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; padding: 0; margin: 0; color: var(--ink); }
.cs-card { width: 100%; max-width: 580px; margin-top: 40px; padding: 30px 28px; background: var(--card); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; }
.cs-card .label { margin: 0 0 4px; font-size: 14px; color: var(--muted); }
.cs-card .addr { margin: 0 0 20px; font-size: clamp(22px, 3vw, 28px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); overflow-wrap: anywhere; }
.cs-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cs-btn-link { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 16px; font-weight: 600; }
.cs-btn-link:hover { background: var(--brand-dark); color: #fff; text-decoration: none; }
.cs-btn-ghost { height: 52px; padding: 0 22px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); color: var(--ink); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.cs-btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.cs-note { margin: 22px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
.cs-footer { border-top: 1px solid var(--line); background: var(--page-2); }
.cs-footer .in { max-width: 1200px; margin: 0 auto; padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; font-size: 14px; color: var(--muted); }
.cs-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.cs-footer nav a { color: var(--ink-2); }
.cs-footer .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }

/* ---------- Legal pages (Impressum, Datenschutz) ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 40px 24px 96px; line-height: 1.65; font-size: 16px; color: var(--ink-2); }
.page h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.035em; line-height: 1.1; color: var(--ink); margin: 0 0 12px; }
.page h2 { font-size: 22px; letter-spacing: -0.02em; color: var(--ink); margin: 40px 0 8px; }
.page h3 { font-size: 17px; color: var(--ink); margin: 24px 0 4px; }
.page .lead { font-size: 18px; color: var(--muted); margin: 0 0 32px; }
.page .box { background: var(--page-2); border-radius: 20px; padding: 24px 28px; margin: 24px 0; }
.page ul { padding-left: 22px; }
.page li { margin: 0 0 6px; }
.ph { border-bottom: 1.5px dashed currentColor; padding: 0 2px; }
.draft-note { background: #FFF6E0; border: 1px solid #F0D58A; border-radius: 14px; padding: 14px 18px; font-size: 14px; color: #5B4500; margin: 0 0 32px; }
.back { display: inline-block; margin-top: 40px; font-weight: 600; }

/* ---------- Phones ---------- */
@media (max-width: 560px) {
  .cs-header { padding: 16px 20px; }
  .cs-nav { gap: 8px; }
  .cs-contact { padding: 0 14px; }
  .cs-actions > * { flex: 1 1 100%; }
  .cs-title.is-long { font-size: clamp(52px, 16.5vw, 72px); }   /* two lines on phones: "Coming / Soon…" */
  .cs-bg .bg-boots { right: -30%; height: 92vh; top: 46%; opacity: .26; filter: blur(18px); }
  .cs-bg .bg-ctrl { left: -10%; top: 78%; height: 50vh; }
  .cs-main { padding: 24px 20px 56px; align-items: flex-start; padding-top: 8vh; }
  .cs-field { flex-direction: column; align-items: stretch; border-radius: 26px; padding: 6px; }
  .cs-field input { flex: none; height: 54px; padding: 0 16px; text-align: center; }
  .cs-btn { width: 100%; }
  .cs-done { padding: 28px 20px 26px; }
  .cs-footer .in { flex-direction: column; align-items: flex-start; }
}

/* People who turned on "reduce motion" see the finished headline right away */
@media (prefers-reduced-motion: reduce) {
  .cs-title .cs-fill { animation: none; -webkit-mask-image: none; mask-image: none; }
  .cs-check path { animation: none; stroke-dashoffset: 0; }
  .lang-toggle .lt-knob, .lang-toggle .lt-opt { transition: none; }
}
