/* ============================================================
   VORSORGE MIT PAUL · styles.css
   Statische One-Page (Linktree-Stil) · Mobile-first · kein Build
   Farbwelt: Navy #0F2A43 · Gold #E8B54B · Weiß · Hellgrau
   ============================================================ */

/* ------------------------------------------------------------
   1) Design-Tokens: zentrale Farben, Radien, Schatten, Schrift
   ------------------------------------------------------------ */
:root {
  /* Markenfarben */
  --navy:       #0F2A43;
  --gold:       #E8B54B;
  --gold-light: #F2C666;
  --white:      #FFFFFF;
  --grey:       #A9B8C8;   /* Sekundärtext */
  --grey-dim:   #8296AB;   /* Fußnoten, Mini-Hinweise */
  --text-soft:  #CBD7E3;   /* Fließtext auf Karten */

  /* Flächen & Linien (halbtransparent über Navy) */
  --card:        rgba(255, 255, 255, .05);
  --card-hover:  rgba(255, 255, 255, .09);
  --border:      rgba(255, 255, 255, .12);
  --gold-border: rgba(232, 181, 75, .40);

  /* Radien & Schatten */
  --radius-s: 12px;
  --radius-m: 14px;
  --radius-l: 16px;
  --shadow:      0 8px 24px rgba(0, 0, 0, .28);
  --shadow-gold: 0 10px 28px rgba(232, 181, 75, .25);

  /* Schrift: Inter (per <link> in den HTML-Dateien), sonst System-Fonts */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

/* ------------------------------------------------------------
   2) Basis
   ------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  color-scheme: dark;        /* dunkle Formular-Elemente & Scrollbars */
  scroll-behavior: smooth;   /* sanfter Sprung zum Formular (Sticky-CTA) */
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--white);
  background-color: var(--navy);
  /* dezenter Gold-Schein oben + Tiefe unten links = Premium-Look */
  background-image:
    radial-gradient(56rem 30rem at 50% -12rem, rgba(232, 181, 75, .13), transparent 60%),
    radial-gradient(48rem 32rem at -18% 115%, rgba(56, 110, 165, .25), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); }

::selection { background: var(--gold); color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Nur für Screenreader (z. B. Label des E-Mail-Felds) */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.text-gold { color: var(--gold); }

/* ------------------------------------------------------------
   3) Layout: zentrierte Spalte
   ------------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: 480px;          /* Desktop: schmale, zentrierte Spalte */
  margin: 0 auto;
  padding: 28px 20px 48px;
}

.wrap--page { max-width: 660px; }  /* Rechtstexte: etwas breiter, besser lesbar */

/* Auf Mobile Platz für den Sticky-CTA am unteren Rand lassen */
@media (max-width: 719.98px) {
  .wrap--home { padding-bottom: 110px; }
}

@media (min-width: 720px) {
  .wrap { padding-top: 56px; }
}

/* ------------------------------------------------------------
   4) Header: Logo, Name, Claim
   ------------------------------------------------------------ */
.hero { text-align: center; margin-bottom: 22px; }

.logo {
  position: relative;
  width: 96px; height: 96px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold-border);
  background: linear-gradient(150deg, rgba(232, 181, 75, .30), rgba(232, 181, 75, .06));
  box-shadow: var(--shadow);
}

/* Monogramm liegt UNTER dem Logo-Bild: lädt assets/logo.png, verdeckt es
   das "P"; fehlt die Datei, entfernt onerror das <img> und das P bleibt. */
.logo__fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; font-weight: 800; color: var(--gold);
}

.logo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero__name {
  margin: 0 0 6px;
  font-size: 26px; font-weight: 800; letter-spacing: -0.02em;
}

.hero__claim {
  margin: 0 auto;
  max-width: 42ch;
  font-size: 15px; color: var(--grey);
}

/* ------------------------------------------------------------
   5) Newsletter-Box (primärer CTA, above the fold)
   ------------------------------------------------------------ */
.signup {
  margin-bottom: 26px;
  padding: 22px 18px 18px;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-l);
  background: linear-gradient(165deg,
              rgba(232, 181, 75, .16),
              rgba(232, 181, 75, .05) 55%,
              rgba(255, 255, 255, .04));
  box-shadow: var(--shadow);
}

.signup__eyebrow {
  margin: 0 0 8px;
  font-size: 12px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--gold);
}

.signup__title {
  margin: 0 0 8px;
  font-size: 21px; line-height: 1.3; font-weight: 800;
}

.signup__subtitle {
  margin: 0 0 16px;
  font-size: 14.5px; color: var(--text-soft);
}

.signup__form { display: flex; flex-direction: column; gap: 10px; }

.signup__input {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;               /* 16px verhindert Auto-Zoom auf iOS */
  color: var(--white);
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
}
.signup__input::placeholder { color: var(--grey-dim); }
.signup__input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 181, 75, .22);
}

/* Hinweis, solange noch kein Newsletter-Embed verbunden ist (siehe JS) */
.signup__demo-note { margin: 2px 0 0; font-size: 13px; color: var(--gold); }

.signup__trust {
  margin: 14px 0 6px;
  font-size: 12.5px; font-weight: 600;
  color: var(--grey);
  text-align: center;
}

.signup__privacy {
  margin: 0;
  font-size: 12px; line-height: 1.55;
  color: var(--grey-dim);
  text-align: center;
}
.signup__privacy a { color: var(--grey); }

/* ------------------------------------------------------------
   6) Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px;
  padding: 14px 20px;
  font: inherit; font-size: 16px; font-weight: 700;
  border: 0; border-radius: var(--radius-s);
  cursor: pointer; text-decoration: none;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

/* Primärer CTA: Gold, dunkle Schrift (starker Kontrast) */
.btn--gold {
  width: 100%;
  color: var(--navy);
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover  { filter: brightness(1.06); transform: translateY(-1px); }
.btn--gold:active { filter: brightness(.97);  transform: translateY(0); }

/* ------------------------------------------------------------
   7) Link-Buttons (Linktree-Kern) – sekundär, dunkel
   ------------------------------------------------------------ */
.links {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 26px;
}

.link-btn {
  display: flex; align-items: center; gap: 14px;
  min-height: 60px;              /* gut tappbar (> 56px) */
  padding: 12px 14px;
  color: var(--white); text-decoration: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.link-btn:hover {
  background: var(--card-hover);
  border-color: var(--gold-border);
  transform: translateY(-2px);
}
.link-btn:active { transform: translateY(0); }

.link-btn__icon {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  font-size: 21px;
  background: rgba(255, 255, 255, .07);
  border-radius: 12px;
}

.link-btn__text {
  flex: 1 1 auto; min-width: 0;
  display: flex; flex-direction: column; gap: 3px;
}
.link-btn__title    { font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.link-btn__subtitle { font-size: 12.5px; line-height: 1.35; color: var(--grey); }

/* Zeile unter dem Titel: Badge + Untertitel nebeneinander */
.link-btn__meta {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 2px 8px;
}

/* Pflicht-Kennzeichnung für Affiliate-Links – wiederverwendbare Klasse:
   einfach <span class="badge">Werbung</span> in einen Button setzen
   (Platzierung: in der Zeile unter dem Titel, siehe link-btn__meta). */
.badge {
  flex: 0 0 auto;
  padding: 2px 7px;
  font-size: 10px; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--grey);
  border: 1px solid var(--border);
  border-radius: 999px;
}

/* ------------------------------------------------------------
   8) Trust-Block
   ------------------------------------------------------------ */
.trust {
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
}
.trust__title { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--gold); }
.trust p      { margin: 0; font-size: 14px; color: var(--text-soft); }
.trust p + p  { margin-top: 8px; }
.trust .trust__disclaimer {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--grey-dim);
}

/* ------------------------------------------------------------
   9) Footer
   ------------------------------------------------------------ */
.footer { margin-top: 30px; text-align: center; }

.footer__links {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  margin-bottom: 8px;
  font-size: 13px;
}
.footer__links a { color: var(--grey); text-decoration: none; }
.footer__links a:hover { color: var(--gold); text-decoration: underline; }
.footer__dot  { color: var(--grey-dim); }
.footer__copy { margin: 0; font-size: 12.5px; color: var(--grey-dim); }

/* ------------------------------------------------------------
   10) Unterseiten (Impressum / Datenschutz)
   ------------------------------------------------------------ */
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 26px;
  font-size: 14px; font-weight: 600;
  color: var(--gold); text-decoration: none;
}
.back-link:hover { text-decoration: underline; }

.legal h1 { margin: 0 0 18px; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.legal h2 { margin: 26px 0 8px; font-size: 17px; font-weight: 700; color: var(--gold); }
.legal h3 { margin: 20px 0 6px; font-size: 15px; font-weight: 700; color: var(--white); }

.legal p,
.legal li { margin: 0 0 12px; font-size: 15px; line-height: 1.65; color: var(--text-soft); }
.legal ul,
.legal ol { margin: 0 0 12px; padding-left: 20px; }
.legal li  { margin-bottom: 6px; }
.legal a   { color: var(--gold); }

.legal__placeholder { font-style: italic; color: var(--grey-dim); }

/* ------------------------------------------------------------
   11) Sticky-CTA (nur Mobile) – erscheint per JS, sobald das
       Anmeldeformular aus dem sichtbaren Bereich gescrollt ist
   ------------------------------------------------------------ */
.sticky-cta {
  position: fixed;
  left: 16px; right: 16px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: flex; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(16px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.sticky-cta.is-visible { opacity: 1; visibility: visible; transform: none; }

.sticky-cta .btn {
  width: 100%; max-width: 440px;
  min-height: 50px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45), var(--shadow-gold);
}

@media (min-width: 720px) { .sticky-cta { display: none; } }

/* ------------------------------------------------------------
   12) Reduzierte Bewegung respektieren (Barrierefreiheit)
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
