/* LAUTER: kräftige Wortmarke, warmer Farbraum, bewusst viel freie Fläche. */
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #171717;
  --accent: #f35b2b;
  --page-space: clamp(1.5rem, 4vw, 4rem);
  font-family: "Manrope", Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-synthesis: none;
  color: var(--ink);
  background: #f49abd;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
img { max-width: 100%; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a, input { -webkit-tap-highlight-color: transparent; }
::selection { color: #fff; background: var(--ink); }
[hidden] { display: none !important; }

.background {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: #f49abd;
  animation: background-in 1.2s ease-out both;
}
.background::before {
  content: "";
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(ellipse 53% 59% at 50% 44%, #ffea43 0%, #ffe85e 21%, #ffc47d 44%, #f8a0b9 68%, #f395bd 85%, #ef8cbd 100%);
  animation: gradient-drift 32s ease-in-out infinite alternate;
  will-change: transform;
}
.page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding: max(var(--page-space), env(safe-area-inset-top)) max(var(--page-space), env(safe-area-inset-right)) max(1.75rem, env(safe-area-inset-bottom)) max(var(--page-space), env(safe-area-inset-left));
}
.site-header { display: flex; align-items: center; flex-shrink: 0; animation: appear 800ms 100ms both; }
.brand { display: inline-flex; padding: 5px; margin: -5px; transition: transform 180ms ease; }
.brand img { width: clamp(2.75rem, 4vw, 3.5625rem); height: auto; display: block; }
.brand:hover { transform: translateY(-2px); }
.brand:active { transform: scale(.96); }
.main { flex: 1 0 auto; display: grid; place-items: center; min-width: 0; padding: clamp(2rem, 7vh, 4rem) 0 clamp(1.75rem, 4vh, 3rem); }
.hero { width: min(100%, clamp(60rem, 58.33vw, 70rem)); min-width: 0; text-align: center; }
h1 { margin: 0; font-weight: 800; }
.intro { display: block; font-size: clamp(2rem, 4.8vw, 4rem); line-height: 1.1; letter-spacing: -.045em; margin-bottom: clamp(1rem, 2.4vw, 1.75rem); animation: appear 700ms 180ms both; }
.wordmark { display: block; animation: rise-in 850ms 380ms cubic-bezier(.2,.7,.2,1) both; }
.wordmark img { display: block; width: 100%; height: auto; }
.launch-block { container-type: inline-size; margin: clamp(2rem, 4.5vw, 3.5rem) auto 0; animation: rise-in 750ms 700ms both; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100%, 29rem); margin: 0 auto; gap: clamp(.625rem, 2vw, 1.5rem); }
.time-unit { display: flex; flex-direction: column; align-items: center; gap: .7rem; min-width: 0; }
.time-value { font-size: clamp(2.25rem, 4.16vw, 3.375rem); line-height: 1; font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.time-label { font-size: .75rem; line-height: 1.4; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; }
.launch-status, .no-script { margin: 0; font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -.035em; }
.signup { width: min(100%, 30rem); margin: 2.75rem auto 0; animation: appear 800ms 900ms both; }
.signup-heading { font-size: 1rem; line-height: 1.5; font-weight: 700; margin: 0 0 1rem; }
.email-form input, .email-form button, .site-footer a, .skip-link { font-weight: 600; }
.email-form { display: flex; align-items: stretch; min-height: 4rem; border: 1px solid rgb(23 23 23 / 34%); border-radius: 5px; background: rgb(255 255 255 / 22%); transition: background 200ms, border-color 200ms, box-shadow 200ms; }
.email-form:hover { border-color: rgb(23 23 23 / 65%); background: rgb(255 255 255 / 28%); }
.email-form:focus-within { border-color: var(--ink); background: rgb(255 255 255 / 36%); box-shadow: 0 0 0 3px rgb(23 23 23 / 10%); }
.email-form input { width: 100%; min-width: 0; flex: 1; padding: 1rem 1.125rem; border: 0; outline: 0; background: transparent; color: var(--ink); border-radius: 2px; }
.email-form input::placeholder { color: #423c36; opacity: 1; }
.email-form button { display: grid; place-items: center; flex-shrink: 0; width: 3.625rem; min-height: 2.75rem; margin: 5px; border: 0; border-radius: 3px; color: var(--ink); background: transparent; cursor: pointer; transition: transform 160ms cubic-bezier(.2,.8,.2,1.3), background 180ms; }
.email-form button span { font-size: 1.9rem; line-height: 1; }
.email-form button:hover { background: var(--accent); }
.email-form button:active { transform: scale(.95); }
.email-form button:disabled { cursor: default; opacity: .5; }
.form-message { min-height: 2.8rem; margin: .875rem 0 0; font-size: .875rem; line-height: 1.5; opacity: 0; transform: translateY(5px); transition: opacity 220ms ease, transform 220ms ease; }
.form-message[data-state] { opacity: 1; transform: translateY(0); }
.email-form input[aria-invalid="true"] { text-decoration: underline dotted; text-underline-offset: .3em; }
.site-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; flex-shrink: 0; gap: 1.25rem; font-size: .8125rem; line-height: 1.5; color: #443330; }
.instagram { justify-self: start; }
.copyright { justify-self: center; }
.legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; justify-self: end; gap: .6rem; }
.site-footer a { padding-block: .5rem; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .25rem; transition: color 180ms, text-decoration-color 180ms; }
.site-footer a:hover { color: var(--ink); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.email-form input:focus-visible { outline-offset: -4px; }
.skip-link { position: fixed; top: 1rem; left: 1rem; padding: .75rem 1rem; background: var(--ink); color: white; z-index: 10; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@keyframes background-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes gradient-drift { from { transform: translate(-.5%, -.5%) scale(1); } to { transform: translate(.5%, 1%) scale(1.045); } }

@media (max-width: 600px) {
  .page { padding-bottom: 1.25rem; }
  .main { padding: clamp(2rem, 6vh, 3.5rem) 0 2rem; }
  .intro { font-size: clamp(2rem, 7.5vw, 2.75rem); margin-bottom: 1.125rem; }
  .launch-block { margin-top: 2.5rem; }
  .countdown { gap: .625rem; max-width: 22rem; }
  .time-value { font-size: 2.375rem; }
  .time-label { font-size: .75rem; letter-spacing: .1em; }
  .signup { margin-top: 2.25rem; }
  .signup-heading { font-size: .9375rem; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: .65rem 1rem; }
  .copyright { justify-self: end; }
  .legal { grid-column: 1 / -1; justify-self: center; }
}
/* Unterseiten: dieselbe Marke, ruhigere Bewegung und gut lesbare Textbreite. */
.legal-page .background::before { animation: none; }
.legal-main { width: min(100%, 46rem); margin-inline: auto; padding-block: clamp(3rem, 7vw, 6rem) 3rem; flex: 1 0 auto; }
.legal-title { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.15; letter-spacing: -.04em; overflow-wrap: anywhere; margin-bottom: 1.5rem; }
.legal-content { font-size: 1rem; line-height: 1.8; overflow-wrap: anywhere; }
.legal-content h2 { font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 700; line-height: 1.4; letter-spacing: -.02em; margin: 2rem 0 .75rem; }
.legal-content p { margin: .75rem 0; }
.legal-content address { font-style: normal; }
.legal-content a, .back-link { text-decoration: underline; text-underline-offset: .25em; }
.draft-note { border-left: 3px solid var(--accent); padding-left: 1rem; font-size: .9375rem; }
.placeholder { font-weight: 600; }
.back-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 2.5rem; padding-block: .75rem; font-size: .9375rem; font-weight: 600; transition: transform 160ms; }
.back-link:active { transform: scale(.98); }
.legal-page .copyright { justify-self: center; }
@media (max-height: 650px) and (min-width: 601px) {
  .main { padding-block: 2rem; }
  .launch-block { margin-top: 2rem; }
  .signup { margin-top: 1.75rem; }
}
@media (max-width: 340px) {
  .countdown { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: 14rem; }
  .signup-heading { max-width: 15rem; margin-inline: auto; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .instagram, .copyright, .legal { justify-self: center; }
}
/* Reagiert auch auf vergrößerte Schrift, unabhängig von der Displaybreite. */
@container (max-width: 21rem) {
  .countdown { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: 14rem; }
}
@container (max-width: 12rem) {
  .countdown { grid-template-columns: minmax(0, 1fr); max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .background::before { will-change: auto; }
}
