/* Popcorn Pitch – Platzhalter (Stufe 0)
   Design-Variablen aus der Spezifikation §7, mit denselben Namen wie später in src/styles/tokens.css. */

@font-face {
  font-family: "Rubik";
  src: url("/assets/fonts/rubik-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #141414;
  --black: #0b0b0b;
  --paper: #f7f5f0;
  --yellow: #fce278;
  --accent: #7c3aed;
  --accent-dark: #6d28d9;
  --accent-light: #b793f5;
  --muted: rgba(255, 255, 255, 0.72);
  --faint: rgba(255, 255, 255, 0.6);
  --line: rgba(255, 255, 255, 0.08);
  --font-display: "Rubik", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
}

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

body {
  margin: 0;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

/* Kopf, Wort-Bild-Marke und Fuß: auf allen Seiten gleich */

.site-header {
  padding: 0.75rem var(--gutter);
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  text-decoration: none;
}

.lockup__bucket {
  width: 26px;
  height: auto;
}

.lockup__word {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.0625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1.5rem;
  padding: 0.5rem var(--gutter);
  background: var(--black);
  color: var(--faint);
  font-size: 0.875rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 1.25rem;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--yellow);
}

/* Vermerk der Agentur, wie bei fidesafinanz.de: eigene Zeile unter den Rechtslinks */
.site-footer__credit {
  flex-basis: 100%;
  font-size: 0.8125rem;
}

.site-footer .site-footer__credit a {
  min-height: 0;
  color: var(--muted);
}

.site-footer .site-footer__credit a:hover {
  color: var(--yellow);
}

.heart {
  color: var(--yellow);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 1rem 1.75rem;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-dark);
}

/* Startseite: mobil Kopf, Foto, Text und Fuß untereinander;
   ab 56em Text links und Foto rechts (Hero-Variante B) */

.home {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "header" "photo" "main" "footer";
  grid-template-rows: auto auto 1fr auto;
}

.home__header {
  grid-area: header;
}

.home__main {
  grid-area: main;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.25rem;
  padding: 2rem var(--gutter) 2.5rem;
}

.home__photo {
  grid-area: photo;
  position: relative;
  margin: 0;
}

.home__photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 40%;
}

.home__photo figcaption {
  position: absolute;
  left: 1rem;
  bottom: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  font-weight: 600;
}

.home__footer {
  grid-area: footer;
}

.kicker {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(min(3.25rem, 15vw), 7.5vw, 6rem);
  line-height: 0.92;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
}

.title span {
  display: block;
}

.motto {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.motto::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.intro {
  margin: 0;
  max-width: 30rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 0.5rem;
}

.note,
.soon {
  margin: 0;
  max-width: 30rem;
  font-size: 0.9375rem;
  color: var(--faint);
}

.soon a {
  color: #fff;
  font-weight: 600;
}

.soon a:hover {
  color: var(--yellow);
}

@media (min-width: 56em) {
  .home {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "header photo" "main photo" "footer photo";
  }

  .home__header {
    padding-top: 1.25rem;
    border-bottom: 0;
  }

  .home__photo img {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
  }

  .kicker {
    font-size: 1rem;
  }

  .motto {
    font-size: 0.9375rem;
  }
}

/* Impressum und Datenschutz: heller Lesegrund */

.legal {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
}

.legal__main {
  flex: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 3rem var(--gutter) 4rem;
}

.legal__main h1 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.1;
}

.legal__main h2 {
  margin: 2.25rem 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
}

.legal__main p {
  margin: 0 0 1rem;
}

.legal__main a {
  color: var(--accent);
}

.legal__main a:hover {
  color: var(--accent-dark);
}

.legal__main :focus-visible {
  outline-color: var(--accent);
}

.legal__main .legal__updated {
  margin-top: 2.5rem;
  color: rgba(20, 20, 20, 0.7);
  font-size: 0.875rem;
}

/* Fehlerseite (für 404 und 410) */

.error {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

.error__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  max-width: 44rem;
  padding: 3rem var(--gutter);
}

.error__code {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(5rem, 18vw, 9rem);
  line-height: 0.9;
  color: var(--yellow);
}

.error h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
}

.error__text {
  margin: 0;
  max-width: 30rem;
  color: var(--muted);
}
