/* Newsletter-Fenster im LFDY-Stil (25.11.2026) – gemeinsam fuer alle Marken.
   Farben/Schrift kommen als Variablen aus window.NLF (einsetzen.py), nie hart pro Marke hier. */
@font-face { font-family: "NLF Archivo"; src: url("/assets/nlf-archivo-black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "NLF Anton"; src: url("/assets/nlf-anton.ttf") format("truetype"); font-weight: 400; font-display: swap; }

.nlf { position: fixed; inset: 0; z-index: 2147483000; display: none; align-items: center; justify-content: center;
  padding: 16px; background: rgba(0,0,0,0); transition: background .35s ease; -webkit-tap-highlight-color: transparent; }
.nlf.ist-da { display: flex; }
.nlf.ist-sichtbar { background: rgba(0,0,0,.6); }
.nlf * { box-sizing: border-box; }
.nlf__karte { position: relative; display: flex; width: 100%; max-width: 820px; max-height: calc(100dvh - 32px); overflow: hidden;
  background: var(--nlf-grund); color: var(--nlf-text); border-radius: 4px; box-shadow: 0 24px 80px rgba(0,0,0,.45);
  opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .35s ease, transform .35s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: normal; text-align: left; line-height: 1.4; }
.nlf.ist-sichtbar .nlf__karte { opacity: 1; transform: none; }

/* Bild: 4:5, oben freie Flaeche mit Logo – das Logo liegt nie auf einem Kopf. */
.nlf__bild { position: relative; flex: 0 0 46%; min-height: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: #111; }
.nlf__bild img.nlf__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0;
  opacity: 0; transition: none; }
.nlf__bild img.nlf__foto.ist-an { opacity: 1; }
.nlf__logo { position: absolute; z-index: 3; left: 50%; top: 22px; transform: translateX(-50%); height: 30px; width: auto; max-width: 56%;
  pointer-events: none; }
/* 27.11.: Motiv reicht bis knapp unter das Logo; leichter Verlauf oben haelt das Logo lesbar.
   ton-hell = helle Logozone -> dunkles Logo + heller Schleier, ton-dunkel umgekehrt. */
.nlf__verlauf { position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 24%; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,0) 100%); }
.nlf__bild.ton-hell .nlf__verlauf { background: linear-gradient(180deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,.25) 45%, rgba(255,255,255,0) 100%); }
.nlf__logo { z-index: 4; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)) drop-shadow(0 2px 10px rgba(0,0,0,.35)); }
.nlf__bild.ton-hell .nlf__logo { filter: drop-shadow(0 1px 2px rgba(255,255,255,.5)) drop-shadow(0 2px 10px rgba(255,255,255,.45)); }
.nlf__logo--dunkel, .nlf__bild.ton-dunkel .nlf__logo--hell { display: none; }
.nlf__bild.ton-dunkel .nlf__logo--dunkel { display: block; }
/* Glitch-Wechsel (~0,25 s): RGB-Versatz, Risse, Scanlines – wie das GIF in der Mail. */
.nlf__stoer { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.nlf__stoer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.nlf__stoer .nlf__r { mix-blend-mode: screen; filter: url(#nlf-rot); opacity: .75; }
.nlf__stoer .nlf__c { mix-blend-mode: screen; filter: url(#nlf-cyan); opacity: .75; }
.nlf__stoer::after { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 1px, transparent 1px 3px); }

.nlf__inhalt { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; padding: 44px 40px 30px; overflow-y: auto; }
.nlf__kicker { margin: 0 0 12px; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--nlf-akzent); }
.nlf.ist-hell .nlf__kicker { color: var(--nlf-text); opacity: .7; }
.nlf__kopf { margin: 0 0 14px; font-family: var(--nlf-schrift); font-weight: var(--nlf-gewicht); font-size: clamp(34px, 5.2vw, 50px);
  line-height: var(--nlf-zeile); letter-spacing: -.01em; text-transform: uppercase; color: var(--nlf-text); }
.nlf__kopf span { display: block; }
.nlf__kopf span + span { color: var(--nlf-akzent); }
.nlf.ist-hell .nlf__kopf span + span { color: var(--nlf-akzent); }
.nlf__satz { margin: 0 0 20px; font-size: 15px; line-height: 1.5; color: var(--nlf-text2); }
.nlf__feld { display: block; width: 100%; height: 50px; margin: 0 0 10px; padding: 0 16px; border: 1px solid var(--nlf-linie); border-radius: 2px;
  background: var(--nlf-flaeche); color: var(--nlf-text); font: inherit; font-size: 16px; outline: none; -webkit-appearance: none; appearance: none; }
.nlf__feld::placeholder { color: var(--nlf-text2); opacity: .75; }
.nlf__feld:focus { border-color: var(--nlf-akzent); }
.nlf__pillen { display: flex; align-items: center; gap: 8px; margin: 2px 0 14px; border: 0; padding: 0; }
.nlf__pillen legend { float: left; margin: 0 6px 0 0; padding: 0; font-size: 13px; color: var(--nlf-text2); }
.nlf__pille { position: relative; }
.nlf__pille input { position: absolute; opacity: 0; pointer-events: none; }
.nlf__pille span { display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border: 1px solid var(--nlf-linie); border-radius: 999px;
  font-size: 14px; color: var(--nlf-text); cursor: pointer; user-select: none; transition: background .15s, border-color .15s, color .15s; }
.nlf__pille input:checked + span { background: var(--nlf-akzent); border-color: var(--nlf-akzent); color: var(--nlf-aufakzent); }
.nlf__pille input:focus-visible + span { outline: 2px solid var(--nlf-akzent); outline-offset: 2px; }
.nlf__knopf { display: flex; align-items: center; justify-content: center; width: 100%; height: 54px; margin: 4px 0 0; border: 0; border-radius: 2px;
  background: var(--nlf-akzent); color: var(--nlf-aufakzent); font-family: var(--nlf-schrift); font-weight: var(--nlf-gewicht);
  font-size: 18px; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.nlf__knopf:disabled { opacity: .6; cursor: default; }
.nlf__fehler { margin: 8px 0 0; font-size: 13px; color: #e5484d; }
.nlf__klein { margin: 14px 0 0; font-size: 11.5px; line-height: 1.45; color: var(--nlf-text2); opacity: .85; }
.nlf__klein a { color: inherit; text-decoration: underline; }
.nlf__danke-haken { width: 46px; height: 46px; margin: 0 0 14px; color: var(--nlf-akzent); }
.nlf__zu { position: absolute; z-index: 5; top: 10px; right: 10px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; cursor: pointer; }
.nlf__zu svg { width: 16px; height: 16px; }
.nlf__frei { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 719px) {
  .nlf { align-items: flex-end; padding: 0; }
  .nlf__karte { flex-direction: column; max-width: none; max-height: 94dvh; border-radius: 14px 14px 0 0; transform: translateY(40px); }
  .nlf__bild { flex: 0 0 auto; aspect-ratio: auto; height: min(38dvh, 300px); min-height: 0; }
  .nlf__logo { top: 16px; height: 24px; }
  .nlf__inhalt { padding: 22px 20px calc(18px + env(safe-area-inset-bottom)); justify-content: flex-start; }
  .nlf__kopf { font-size: 34px; margin-bottom: 10px; }
  .nlf__satz { font-size: 14px; margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .nlf, .nlf__karte { transition: none; }
  .nlf__stoer { display: none; }
}

/* Reiter: nur Grundform. Wo die Seite eigene Regeln fuer .suit-nlp-reiter hat (SKIMS-Kopf,
   mr-dauergaeste.css), gewinnen diese – :where() hat keine Spezifitaet. */
:where(.suit-nlp-reiter) { position: fixed; left: 16px; bottom: 16px; z-index: 9000; display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border: 1px solid rgba(20,20,20,.12); border-radius: 999px; background: #fff; color: #141414;
  font: 500 13px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; cursor: pointer; box-shadow: 0 2px 14px rgba(0,0,0,.12);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .3s; }
:where(.suit-nlp-reiter.is-da) { opacity: 1; transform: none; pointer-events: auto; }
:where(.suit-nlp-reiter svg) { width: 16px; height: 16px; }
