/* Loliki Landingpage – umgesetzt aus Figma (Frame „Landingpage“, 1512 px) */

:root {
  /* Corporate Design */
  --primaer: #2c3e50;
  --sonnengelb: #fedb5f;
  --sonnengelb-hell: #fffdf0;
  --hintergrund-aufgehellt: #fffef8; /* 50 % Weiß auf #fffdf0 */
  --apfelrot: #e75d5d;
  --gruen: #80ac3d;
  --blau: #5aafcf;
  --lila: #8d75bf;
  --weiss: #fff;
  --weiss-50: rgba(255, 255, 255, .5);
  --schwarz-10: rgba(0, 0, 0, .1);

  /* Typografie */
  --sans: "Shantell Sans", "Comic Sans MS", system-ui, sans-serif;
  --h1: clamp(30px, 2.2vw + 20px, 46px);
  --h3: clamp(21px, 1.2vw + 16px, 30px);
  --h4: 26px;
  --h5: 22px;
  --teaser: 20px;
  --copy-m: 18px;

  /* Abstände, Radien, Effekte */
  --klein-8: 8px;
  --medium-24: 24px;
  --rand: clamp(20px, 6.35vw, 96px);
  --schatten: 6px 6px 0 var(--schwarz-10);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sonnengelb-hell);
  color: var(--primaer);
  font-family: var(--sans);
  font-variation-settings: "BNCE" 0, "INFM" 0, "SPAC" 0;
  font-size: var(--copy-m);
  line-height: normal;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: none; }
p, h1, h2, h3, ul { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* Seite: Papierstruktur über die ganze Höhe, 40 % Deckkraft */
.page {
  position: relative;
  max-width: 1512px;
  margin-inline: auto;
  overflow: hidden;
  background: var(--sonnengelb-hell);
}
.page::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../assets/bg-paper.png") center / cover;
  opacity: .4;
  pointer-events: none;
}
.page > * { position: relative; }

/* Farben der Wortmarke */
.c-red { color: var(--apfelrot); }
.c-yellow { color: var(--sonnengelb); }
.c-green { color: var(--gruen); }
.c-blue { color: var(--blau); }
.c-purple { color: var(--lila); }

/* Textstile */
.h1 { font-size: var(--h1); font-weight: 700; }
.h3 { font-size: var(--h3); font-weight: 600; }

/* Button */
.btn {
  display: inline-flex; align-items: center; gap: var(--klein-8);
  height: 48px;
  padding: var(--klein-8) var(--medium-24);
  border: 1px solid var(--weiss);
  border-radius: 50px;
  background: var(--sonnengelb);
  color: var(--primaer);
  font: 600 var(--h5) / normal var(--sans);
  font-variation-settings: inherit;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  white-space: nowrap;
  filter: drop-shadow(var(--schatten));
  cursor: pointer;
  transition: transform .15s ease;
}
a.btn:hover, button.btn:hover { transform: translate(2px, 2px); }
.btn:focus-visible, .site-footer a:focus-visible, .brand:focus-visible {
  outline: 3px solid var(--blau); outline-offset: 3px;
}
.btn--icon { height: 47px; }
.btn--icon img { width: 20px; height: 20px; }
.btn--dark { background: var(--primaer); color: var(--weiss); }
.btn--dark img { width: 20px; height: 20px; }

/* ---------- Kopfzeile ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 122px;
  padding: 0 clamp(20px, 5.5vw, 84px) 0 clamp(20px, 5.09vw, 77px);
  background: var(--hintergrund-aufgehellt);
}
.brand { display: flex; align-items: center; gap: 21px; }
.logo {
  font-size: 64px; font-weight: 700; line-height: normal;
  text-shadow: 0 4px 4px rgba(0, 0, 0, .25);
  white-space: nowrap;
}
.brand__claim { font-size: var(--h4); font-weight: 500; line-height: 1.385; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  aspect-ratio: 1512 / 860;
  overflow: hidden;
}
.hero__image {
  position: absolute; left: 0; top: -22.77%;
  width: 100%; height: 122.8%;
}
.hero__more {
  position: absolute; left: 50%; bottom: 13.26%;
  translate: -50% 0;
}

/* ---------- Dunkle Bänder (Claim, Vormerken) ---------- */
.band {
  display: flex; flex-direction: column; align-items: center;
  padding: 80px var(--rand);
  background: var(--primaer);
  color: var(--sonnengelb-hell);
  text-align: center;
  scroll-margin-top: 0;
}
.band__inner { display: flex; flex-direction: column; align-items: center; gap: 39px; max-width: 979px; }
.band__inner .h1 { margin-bottom: -11px; } /* 28 px Abstand zur Unterzeile */
.band__sub { max-width: 834px; color: var(--hintergrund-aufgehellt); }

/* ---------- Einführung ---------- */
.intro { padding: 57px 0 36px; }
.intro__lead {
  display: flex; align-items: flex-start; gap: 27px;
  padding: 0 clamp(20px, 11.05vw, 167px) 0 clamp(20px, 5.62vw, 85px);
}
.intro__mascot { flex: none; width: clamp(110px, 13.95vw, 211px); height: auto; object-fit: cover; }
.card {
  flex: 1; margin-top: 23px;
  padding: 32px;
  border: 5px solid var(--hintergrund-aufgehellt);
  border-radius: 30px;
  background: var(--hintergrund-aufgehellt);
  font-size: var(--h5); font-weight: 500;
  filter: drop-shadow(var(--schatten));
}

/* Collage: Positionen in % des Figma-Frames (1512 × 1160 px Ausschnitt) */
.showcase {
  position: relative;
  aspect-ratio: 1512 / 1160;
  margin-top: 20px;
}
.ipad { position: absolute; }
.ipad__screen { position: absolute; inset: 0; overflow: hidden; }
.ipad__screen img { position: absolute; left: 0; top: 0; width: 100.01%; height: 100%; }
.ipad__frame {
  position: absolute; inset: -8.48% -6.09% -8.6% -5.93%;
  width: 112.02%; height: 117.08%;
  pointer-events: none;
}
.ipad--a { left: 44.69%; top: 1.19%; width: 44.23%; aspect-ratio: 668.822 / 505.272; }
.ipad--b { left: 10.92%; top: 25.74%; width: 39.55%; aspect-ratio: 597.937 / 394.157; rotate: -6.06deg; }
.ipad--b .ipad__screen img { left: -.19%; top: -.31%; width: 101.11%; height: 100.72%; }
.ipad--c { left: 30.82%; top: 60.6%; width: 39.95%; aspect-ratio: 604 / 397; }

.showcase__stufe { position: absolute; left: 54.29%; top: 23.79%; width: 9.98%; aspect-ratio: 1; }
.showcase__stufe img { position: absolute; left: -2.65%; top: 0; width: 105.3%; height: 105.3%; }
.showcase__hand {
  position: absolute; left: 57.49%; top: 22%;
  width: 26.64%; aspect-ratio: 402.809 / 604.214;
  object-position: bottom;
  rotate: 140.55deg;
  filter: drop-shadow(var(--schatten));
  pointer-events: none;
}

/* ---------- Vormerken ---------- */
.signup { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 979px; }
.signup .h1 { color: var(--apfelrot); margin-bottom: 28px; }
.signup .band__sub { margin-bottom: 39px; }
.signup__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px;
  width: 100%; max-width: 834px;
  text-align: left;
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--row-start { grid-column: 1; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--copy-m); font-weight: 600; color: var(--hintergrund-aufgehellt); }
.field input, .field select {
  width: 100%; height: 64px;
  padding: 0 24px;
  border: 5px solid var(--hintergrund-aufgehellt);
  border-radius: 22px;
  background-color: var(--hintergrund-aufgehellt);
  color: var(--primaer);
  font: 400 var(--copy-m) / normal var(--sans);
  font-variation-settings: inherit;
}
.field select {
  appearance: none;
  padding-right: 52px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' fill='none' stroke='%232c3e50' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 22px center;
  cursor: pointer;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--sonnengelb); }

.consent {
  display: flex; align-items: flex-start; gap: 14px;
  margin-top: 8px;
  color: var(--hintergrund-aufgehellt);
  font-size: var(--copy-m); line-height: 1.45;
  cursor: pointer;
}
.consent input {
  flex: none; width: 28px; height: 28px; margin: 0;
  accent-color: var(--sonnengelb);
  cursor: pointer;
}
.consent input:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; }
.consent a { color: var(--sonnengelb); text-decoration: underline; text-underline-offset: 3px; }

.signup__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup__error {
  width: 100%; max-width: 834px; margin-bottom: 24px;
  padding: 16px 24px;
  border-radius: 22px;
  background: var(--apfelrot); color: var(--weiss);
  font-weight: 600; text-align: left;
}
.signup__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; max-width: 834px; margin-top: 39px;
}
.signup__hint { color: var(--hintergrund-aufgehellt); font-size: 16px; }

/* ---------- Unterseiten (Datenschutz, Impressum, Kontakt, Danke) ---------- */
.subpage { padding: 80px var(--rand); }
.subpage__inner {
  max-width: 1022px; margin-inline: auto;
  padding: clamp(24px, 4vw, 56px);
  border: 5px solid var(--hintergrund-aufgehellt);
  border-radius: 30px;
  background: var(--hintergrund-aufgehellt);
  filter: drop-shadow(var(--schatten));
}
.subpage h1 { margin-bottom: 28px; }
.subpage h2 { margin: 39px 0 12px; }
.subpage p { font-size: var(--teaser); line-height: 1.5; }
.subpage p + p { margin-top: 12px; }
.subpage .btn { margin-top: 39px; }
.notice {
  padding: 16px 24px;
  border-radius: 22px;
  background: var(--apfelrot); color: var(--weiss);
}
.notice a { text-decoration: underline; text-underline-offset: 3px; }
.btn:disabled { opacity: .6; cursor: progress; }

/* ---------- Leistungen ---------- */
.features {
  display: flex; flex-direction: column; align-items: center; gap: 60px;
  padding: 80px var(--rand);
}
.features__title { text-align: center; }
.features__body { position: relative; width: 100%; max-width: 1190px; }
.notes { display: flex; flex-direction: column; gap: 40px; list-style: none; }
.note {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 88px;
  padding: var(--medium-24);
  border: 2px solid var(--weiss-50);
  border-radius: 5px 5px 50px 5px;
  background: var(--sonnengelb);
  box-shadow: var(--schatten);
  overflow: hidden;
  font-size: var(--h3); font-weight: 600; text-align: center;
}
.note::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/note-texture.png") center / cover;
  opacity: .3;
}
.note span { position: relative; }
.note__corner { position: absolute; right: 0; bottom: 0; width: 60px; height: 60px; }

.deco { position: absolute; pointer-events: none; }
.deco--badge { width: 95.15px; height: 95.15px; }
.deco__circle { position: absolute; left: 11.3px; top: 11.3px; rotate: 23.03deg; transform-origin: 36.275px 36.275px; }
.deco__icon { position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
.deco__icon--vector { rotate: 15.02deg; margin-top: -5px; }
.deco__icon--volume { rotate: 10deg; width: 48px; height: 48px; }
.deco--badge-1 { right: 0; top: -49px; }
.deco--badge-2 { right: 42px; top: 291px; }
.deco--pill {
  left: -104px; top: 230px;
  display: flex; align-items: center; justify-content: center;
  width: 255.54px; height: 92.3px;
}
.deco--pill .btn { rotate: -10.35deg; }

/* ---------- Abschluss ---------- */
.outro {
  display: flex; align-items: center; justify-content: flex-end; gap: clamp(24px, 6.5vw, 99px);
  padding: 13px clamp(20px, 9.26vw, 140px) 13px clamp(20px, 10.75vw, 162.5px);
  background: var(--hintergrund-aufgehellt);
}
.outro__mascot { flex: 0 1 403px; min-width: 0; width: 403px; height: auto; object-fit: contain; }
.outro__text { flex: 0 1 707px; display: flex; flex-direction: column; align-items: flex-start; gap: 39px; padding: 67px 0; }
.outro__text .h3 { margin-bottom: -11px; }
.teaser { font-size: var(--teaser); }
.teaser p + p { margin-top: 6px; }

/* ---------- Fußzeile ---------- */
.site-footer {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px 80px;
  padding: 20px var(--rand);
  background: var(--sonnengelb);
}
.site-footer__copy { width: 303px; }
.site-footer__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 53px; }
.site-footer__nav a {
  padding: 10px;
  font-size: var(--h5); font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; white-space: nowrap;
}
.site-footer__nav a:hover { text-decoration: underline; }

/* ---------- Kleinere Bildschirme (im Figma ist nur 1512 px gestaltet) ---------- */
@media (max-width: 1400px) {
  .deco--pill { display: none; }
}
@media (max-width: 900px) {
  :root { --h5: 18px; --teaser: 18px; --copy-m: 16px; }
  .site-header { min-height: 84px; }
  .logo { font-size: 44px; }
  .brand__claim { display: none; }
  .band { padding-block: 56px; }
  .intro__lead { align-items: center; gap: 16px; }
  .card { margin-top: 0; padding: 20px; border-radius: 22px; }
  .features { gap: 40px; padding-block: 56px; }
  .notes { gap: 24px; }
  .note { padding-inline: 34px; border-bottom-right-radius: 34px; }
  .note__corner { width: 40px; height: 40px; }
  .deco { display: none; }
  .outro { flex-direction: column; padding-block: 32px; }
  .outro__mascot { flex: none; width: min(60%, 280px); }
  .outro__text { flex: none; padding: 0 0 24px; }
  .site-footer { flex-direction: column; text-align: center; }
  .site-footer__copy { width: auto; }
  .site-footer__nav { justify-content: center; gap: 0 20px; }
}
@media (max-width: 560px) {
  .site-header .btn { height: 40px; padding-inline: 16px; font-size: 15px; }
  .intro__lead { flex-direction: column; }
  .signup__grid { grid-template-columns: 1fr; }
  .subpage { padding-block: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
