/* ==========================================================================
 * lp_trial.css — /3-monate-kostenlos
 * --------------------------------------------------------------------------
 * ★ THIS FILE IS A DESIGN DELIVERABLE AND IS MEANT TO BE REPLACED. ★
 *
 * What is here is a BASELINE, not a design: enough structure that the page is
 * legible, responsive, RTL-correct and accessible while the visual design is
 * being produced, and a working reference for the tokens and the rules that
 * the replacement must keep.
 *
 * RULES THE REPLACEMENT MUST KEEP (each is a requirement, not a preference):
 *
 *  1. LIGHT ONLY. The page pins `color-scheme: light`. It must not react to
 *     the OS dark theme, because the campaign creative is produced against
 *     one look and Meta's review compares the two.
 *
 *  2. LOGICAL PROPERTIES ONLY — margin-inline, padding-inline, inset-inline,
 *     text-align: start/end. Arabic is RTL and mirrors the whole layout; a
 *     single `margin-left` breaks it. (Known trap in this codebase:
 *     `text-align: start` misbehaves on `inline-flex` elements in some
 *     engines — use `text-align: left/right` only inside an @dir override if
 *     you hit it, never as the default.)
 *
 *  3. NO `overflow-x: hidden` ON html/body. It turns the root into a scroll
 *     container and silently kills `position: sticky` anywhere on the page —
 *     this exact bug cost the main landing page its sticky header for months.
 *     Use `overflow-x: clip` if clipping is genuinely needed.
 *
 *  4. ARABIC: no `letter-spacing` on Arabic text (it severs the joins), and
 *     line-height >= 1.5 with padding-block-end on headings so Cairo's
 *     descenders are not clipped. Numbers stay Latin — never Arabic-Indic.
 *
 *  5. THE CONSENT BANNER IS NOT A MODAL. It must not cover the page, must not
 *     lock scrolling, and its three actions must be visually equal in weight —
 *     "Ablehnen darf nicht unnötig schwieriger sein als Akzeptieren" is
 *     measured on the rendered box, not on intent.
 *
 *  6. THE FIRST VIEWPORT must contain, on a 360px phone without scrolling:
 *     product name, the one-line description, the "3 months free / no payment
 *     details / no commitment" promise, the German-provider line and the
 *     primary CTA. That is §1 and §7 combined and it is the single hardest
 *     constraint of the whole page.
 * ========================================================================== */

.lpt-root { color-scheme: light; }

:root {
  /* Pulled from the existing landing design so the campaign page reads as the
     same brand. Do not invent a second palette. */
  --lpt-ink:        #0b1220;
  --lpt-ink-soft:   #526178;
  --lpt-base:       #f7f8fc;
  --lpt-surface:    #ffffff;
  --lpt-alt:        #f1f4fa;
  --lpt-brand:      #c14a00;
  --lpt-brand-dark: #a63f00;
  --lpt-brand-soft: #fff6ef;
  --lpt-kicker:     #b04600;
  --lpt-line:       rgba(11, 18, 32, 0.12);
  --lpt-ok:         #0f7b4f;
  --lpt-err:        #b3261e;
  --lpt-radius:     14px;
  --lpt-shell:      1120px;
}

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

body.lpt-page {
  margin: 0;
  background: var(--lpt-base);
  color: var(--lpt-ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Cairo for Arabic — the platform's local font, loaded by the shared stack.
   line-height and padding-block-end keep the descenders off the baseline. */
body.cairo-font { font-family: "Cairo", system-ui, sans-serif; }
body.cairo-font h1,
body.cairo-font h2,
body.cairo-font h3 { line-height: 1.5; padding-block-end: 0.12em; letter-spacing: normal; }

img { max-width: 100%; height: auto; }
a { color: inherit; }

.lpt-shell {
  width: 100%;
  max-width: var(--lpt-shell);
  margin-inline: auto;
  padding-inline: 20px;
}

.lpt-skip {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  background: var(--lpt-surface);
  padding: 12px 18px;
  z-index: 100;
}
.lpt-skip:focus { inset-inline-start: 0; }

/* ---- type ------------------------------------------------------------- */

.lpt-eyebrow {
  margin: 0 0 8px;
  color: var(--lpt-kicker);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
body.cairo-font .lpt-eyebrow { letter-spacing: normal; text-transform: none; }

.lpt-h2 { margin: 0 0 16px; font-size: clamp(26px, 4vw, 38px); line-height: 1.15; font-weight: 800; }
.lpt-h3 { margin: 0 0 10px; font-size: clamp(19px, 2.4vw, 23px); line-height: 1.3; font-weight: 700; }

.lpt-link { color: var(--lpt-brand); text-decoration: underline; }
.lpt-link--button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* ---- buttons ---------------------------------------------------------- */

.lpt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--lpt-radius);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  min-height: 48px; /* touch target */
}
.lpt-btn--primary { background: var(--lpt-brand); color: #fff; }
.lpt-btn--primary:hover { background: var(--lpt-brand-dark); }
.lpt-btn--ghost { background: var(--lpt-surface); color: var(--lpt-ink); border-color: var(--lpt-line); }
.lpt-btn--lg { padding: 16px 28px; font-size: 17px; }
.lpt-btn:focus-visible { outline: 3px solid rgba(193, 74, 0, 0.45); outline-offset: 2px; }
.lpt-btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---- header ----------------------------------------------------------- */

.lpt-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 248, 252, 0.9);
  backdrop-filter: blur(12px);
  border-block-end: 1px solid var(--lpt-line);
}
.lpt-header__inner { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.lpt-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.lpt-brand__logo { width: 32px; height: 32px; }
.lpt-langs { display: flex; gap: 4px; margin-inline-start: auto; }
.lpt-langs__item {
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: var(--lpt-ink-soft);
}
.lpt-langs__item.is-current { background: var(--lpt-brand-soft); color: var(--lpt-brand); }
.lpt-header__cta { display: none; }

/* ---- hero ------------------------------------------------------------- */

.lpt-hero { background: linear-gradient(180deg, var(--lpt-brand-soft) 0%, var(--lpt-base) 70%); }
.lpt-hero__grid { display: grid; gap: 28px; padding-block: 32px 40px; }
.lpt-hero__h1 { margin: 0 0 14px; font-size: clamp(30px, 6.4vw, 50px); line-height: 1.1; font-weight: 800; }
.lpt-hero__intro { margin: 0 0 20px; font-size: clamp(17px, 2vw, 20px); color: var(--lpt-ink-soft); }
.lpt-hero__points { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 8px; }
.lpt-hero__points li { position: relative; padding-inline-start: 26px; font-weight: 600; }
.lpt-hero__points li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--lpt-ok);
  font-weight: 800;
}
.lpt-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-end: 20px; }
.lpt-hero__origin { margin: 0; font-size: 14px; color: var(--lpt-ink-soft); }
.lpt-hero__origin-label {
  display: inline-block;
  background: var(--lpt-surface);
  border: 1px solid var(--lpt-line);
  border-radius: 999px;
  padding: 5px 12px;
  font-weight: 700;
  color: var(--lpt-ink);
  margin-block-end: 6px;
}
.lpt-hero__origin-company { display: block; }
.lpt-hero__figure { margin: 0; }
.lpt-hero__figure img { border-radius: var(--lpt-radius); box-shadow: 0 18px 40px rgba(11, 18, 32, 0.14); }

/* ---- sections --------------------------------------------------------- */

.lpt-offer, .lpt-benefits, .lpt-media, .lpt-soon, .lpt-trust, .lpt-formsec, .lpt-faq {
  padding-block: 44px;
}
.lpt-offer   { background: var(--lpt-surface); }
.lpt-benefits{ background: var(--lpt-base); }
.lpt-media   { background: var(--lpt-surface); }
.lpt-soon    { background: var(--lpt-alt); }
.lpt-trust   { background: var(--lpt-surface); }
.lpt-formsec { background: var(--lpt-base); }
.lpt-faq     { background: var(--lpt-surface); }

.lpt-offer__list { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 12px; }
.lpt-offer__list li { position: relative; padding-inline-start: 28px; }
.lpt-offer__list li::before {
  content: "•";
  position: absolute;
  inset-inline-start: 6px;
  color: var(--lpt-brand);
  font-weight: 800;
}
.lpt-offer__price {
  margin: 0;
  padding: 18px 20px;
  background: var(--lpt-brand-soft);
  border: 1px solid var(--lpt-line);
  border-radius: var(--lpt-radius);
}
.lpt-offer__price-label { display: block; font-size: 14px; color: var(--lpt-ink-soft); }
.lpt-offer__price-value { font-size: 30px; font-weight: 800; }
.lpt-offer__price-per { font-size: 16px; }
.lpt-offer__price-note { display: block; font-size: 14px; color: var(--lpt-ink-soft); }
.lpt-offer__vat { margin: 12px 0 0; font-size: 13px; color: var(--lpt-ink-soft); }

.lpt-benefits__grid { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.lpt-benefit {
  background: var(--lpt-surface);
  border: 1px solid var(--lpt-line);
  border-radius: var(--lpt-radius);
  padding: 18px;
}
.lpt-benefit__title { margin: 0 0 6px; font-size: 18px; }
.lpt-benefit__text { margin: 0; color: var(--lpt-ink-soft); }

.lpt-media__grid { display: grid; gap: 18px; }
.lpt-media__item { margin: 0; }
.lpt-media__item img { border-radius: var(--lpt-radius); border: 1px solid var(--lpt-line); }
.lpt-media__item figcaption { margin-block-start: 8px; font-size: 14px; color: var(--lpt-ink-soft); }

.lpt-soon__badge {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--lpt-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body.cairo-font .lpt-soon__badge { letter-spacing: normal; text-transform: none; }
.lpt-soon__text { margin: 0; color: var(--lpt-ink-soft); }

.lpt-trust__stats { display: grid; gap: 16px; margin-block-end: 28px; }
.lpt-trust__stat {
  background: var(--lpt-alt);
  border-radius: var(--lpt-radius);
  padding: 18px;
}
.lpt-trust__stat strong { display: block; font-size: 19px; }
.lpt-trust__stat span { display: block; margin-block-start: 6px; font-size: 14px; color: var(--lpt-ink-soft); }
.lpt-trust__address { margin: 12px 0; }

/* ---- form ------------------------------------------------------------- */

.lpt-formsec__inner { display: grid; gap: 28px; }
.lpt-formsec__lead { color: var(--lpt-ink-soft); }
.lpt-formsec__points { margin: 0; padding-inline-start: 20px; color: var(--lpt-ink-soft); }

.lpt-form {
  background: var(--lpt-surface);
  border: 1px solid var(--lpt-line);
  border-radius: var(--lpt-radius);
  padding: 22px;
}
.lpt-form__hint { margin: 0 0 16px; font-size: 14px; color: var(--lpt-ink-soft); }
.lpt-field { margin-block-end: 16px; }
.lpt-field__label { display: block; margin-block-end: 6px; font-weight: 600; font-size: 15px; }
.lpt-field__input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--lpt-line);
  border-radius: 10px;
  font: inherit;
  min-height: 48px;
  background: var(--lpt-surface);
  color: var(--lpt-ink);
}
.lpt-field__input:focus-visible { outline: 3px solid rgba(193, 74, 0, 0.45); outline-offset: 1px; }
.lpt-field.has-error .lpt-field__input { border-color: var(--lpt-err); }
.lpt-field__error { margin: 6px 0 0; min-height: 0; font-size: 14px; color: var(--lpt-err); }
.lpt-field__error:empty { margin: 0; }
.lpt-form__summary { margin: 0 0 12px; font-size: 15px; color: var(--lpt-err); }
.lpt-form__summary:empty { margin: 0; }
.lpt-form__submit { width: 100%; }
.lpt-form__privacy { margin: 14px 0 0; font-size: 13px; color: var(--lpt-ink-soft); }

/* Honeypot: off-screen but NOT display:none — bots skip display:none fields,
   and a screen reader never reaches it because of aria-hidden + tabindex=-1. */
.lpt-hp {
  position: absolute;
  inset-inline-start: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lpt-success {
  background: var(--lpt-surface);
  border: 1px solid var(--lpt-ok);
  border-radius: var(--lpt-radius);
  padding: 24px;
}
.lpt-success:focus-visible { outline: 3px solid rgba(15, 123, 79, 0.4); }
.lpt-success__note { margin: 10px 0 0; font-size: 14px; color: var(--lpt-ink-soft); }

/* ---- faq -------------------------------------------------------------- */

.lpt-faq__item { border-block-end: 1px solid var(--lpt-line); padding-block: 14px; }
.lpt-faq__q { font-weight: 700; cursor: pointer; }
.lpt-faq__a { padding-block-start: 8px; color: var(--lpt-ink-soft); }

/* ---- footer ----------------------------------------------------------- */

.lpt-footer { background: var(--lpt-ink); color: #fff; padding-block: 28px; }
.lpt-footer__inner { display: grid; gap: 14px; }
.lpt-footer__copy { margin: 0; font-size: 14px; opacity: 0.85; }
.lpt-footer__nav { display: flex; flex-wrap: wrap; gap: 16px; }
.lpt-footer .lpt-link { color: #fff; }

/* ==========================================================================
 * STAGE TWO — the restaurant data form (/3-monate-kostenlos/daten/).
 * Also a design deliverable; same rules as the campaign page apply, plus one
 * more: this is a NINETEEN-field form on a phone. Grouping, generous touch
 * targets and a visible sense of progress matter more here than anywhere else
 * on the site — a wall of inputs is how a half-finished lead happens.
 * ========================================================================== */

.lpt-page--form { background: var(--lpt-alt); }

.lpp-header { background: var(--lpt-surface); border-block-end: 1px solid var(--lpt-line); }
.lpp-header__inner { display: flex; align-items: center; min-height: 60px; }

.lpp-main { padding-block: 28px 56px; }

.lpp-intro { margin-block-end: 24px; }
.lpp-intro__lead { margin: 0 0 12px; color: var(--lpt-ink-soft); font-size: 17px; }
.lpp-intro__meta { margin: 0; display: grid; gap: 4px; font-size: 14px; color: var(--lpt-ink-soft); }

.lpp-form { display: grid; gap: 18px; }

.lpp-section {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--lpt-line);
  border-radius: var(--lpt-radius);
  background: var(--lpt-surface);
}
.lpp-section__legend { padding: 0; font-size: 18px; font-weight: 800; }
.lpp-section__hint { margin: 6px 0 16px; font-size: 14px; color: var(--lpt-ink-soft); }
.lpp-section__grid { display: grid; gap: 14px; }

.lpp-field { min-width: 0; }
.lpp-field__label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-block-end: 6px;
  font-weight: 600;
  font-size: 15px;
}
.lpp-field__flag { font-size: 12px; font-weight: 500; color: var(--lpt-ink-soft); }
.lpp-field__input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--lpt-line);
  border-radius: 10px;
  font: inherit;
  background: var(--lpt-surface);
  color: var(--lpt-ink);
}
.lpp-field__input--area { min-height: 96px; resize: vertical; }
.lpp-field__input:focus-visible { outline: 3px solid rgba(193, 74, 0, 0.45); outline-offset: 1px; }
.lpp-field.has-error .lpp-field__input { border-color: var(--lpt-err); }
.lpp-field__help { margin: 6px 0 0; font-size: 13px; color: var(--lpt-ink-soft); }
.lpp-field__error { margin: 6px 0 0; font-size: 14px; color: var(--lpt-err); }
.lpp-field__error:empty { margin: 0; }
.lpp-field__file { width: 100%; font: inherit; padding: 10px 0; }
.lpp-field__logoname { margin: 6px 0 0; font-size: 14px; font-weight: 600; }

.lpp-form__summary { margin: 0; font-size: 15px; color: var(--lpt-err); }
.lpp-form__summary:empty { margin: 0; }
.lpp-form__actions { display: grid; }

.lpp-success {
  background: var(--lpt-surface);
  border: 1px solid var(--lpt-ok);
  border-radius: var(--lpt-radius);
  padding: 24px;
}
.lpp-success:focus-visible { outline: 3px solid rgba(15, 123, 79, 0.4); }
.lpp-success__note { margin: 10px 0 0; font-size: 14px; color: var(--lpt-ink-soft); }

.lpp-gate { padding-block: 64px; }
.lpp-gate__inner { max-width: 560px; text-align: center; }
.lpp-gate__logo { margin-block-end: 18px; }
.lpp-gate__text { margin: 0 0 22px; color: var(--lpt-ink-soft); }

@media (min-width: 720px) {
  .lpp-main { padding-block: 40px 72px; }
  .lpp-section { padding: 24px; }
  .lpp-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
  .lpp-field--wide { grid-column: 1 / -1; }
  .lpp-form__actions { justify-content: start; }
}

/* ==========================================================================
 * CONSENT — baseline. See rule 5 in the header.
 * ========================================================================== */

.gzc-banner {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 90;
  background: var(--lpt-surface);
  border-block-start: 1px solid var(--lpt-line);
  box-shadow: 0 -10px 30px rgba(11, 18, 32, 0.14);
  padding: 16px 0;
}
.gzc-banner[hidden] { display: none; }
.gzc-banner__inner {
  width: 100%;
  max-width: var(--lpt-shell);
  margin-inline: auto;
  padding-inline: 20px;
  display: grid;
  gap: 14px;
}
.gzc-banner__title { margin: 0 0 6px; font-size: 17px; }
.gzc-banner__text { margin: 0; font-size: 14px; color: var(--lpt-ink-soft); }
.gzc-link { color: var(--lpt-brand); text-decoration: underline; margin-inline-end: 10px; }

/* The three first-layer actions are deliberately identical in box size. */
.gzc-banner__actions { display: grid; gap: 10px; }
.gzc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--lpt-line);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: var(--lpt-surface);
  color: var(--lpt-ink);
}
.gzc-btn--primary { background: var(--lpt-brand); color: #fff; border-color: var(--lpt-brand); }
.gzc-btn--ghost { background: var(--lpt-surface); }
.gzc-btn--plain { border-color: transparent; background: none; text-decoration: underline; }
.gzc-btn:focus-visible { outline: 3px solid rgba(193, 74, 0, 0.45); outline-offset: 2px; }

.gzc-dialog {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(11, 18, 32, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.gzc-dialog[hidden] { display: none; }
.gzc-dialog__panel {
  background: var(--lpt-surface);
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  border-start-start-radius: 18px;
  border-start-end-radius: 18px;
  padding: 22px 20px 28px;
}
.gzc-dialog__title { margin: 0 0 8px; font-size: 20px; }
.gzc-dialog__intro { margin: 0 0 18px; font-size: 14px; color: var(--lpt-ink-soft); }
.gzc-dialog__list { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 14px; }
.gzc-cat { border: 1px solid var(--lpt-line); border-radius: 12px; padding: 14px; }
.gzc-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gzc-cat__toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.gzc-cat__toggle input { inline-size: 22px; block-size: 22px; accent-color: var(--lpt-brand); }
.gzc-cat__title { font-weight: 700; }
.gzc-cat__badge { font-size: 12px; color: var(--lpt-ink-soft); white-space: nowrap; }
.gzc-cat__text { margin: 8px 0 0; font-size: 14px; color: var(--lpt-ink-soft); }
.gzc-dialog__actions { display: grid; gap: 10px; }

/* ==========================================================================
 * Larger viewports
 * ========================================================================== */

@media (min-width: 720px) {
  .lpt-hero__grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; padding-block: 56px 64px; }
  .lpt-benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .lpt-media__grid { grid-template-columns: repeat(2, 1fr); }
  .lpt-trust__stats { grid-template-columns: repeat(2, 1fr); }
  .lpt-formsec__inner { grid-template-columns: 0.9fr 1.1fr; align-items: start; gap: 36px; }
  .lpt-footer__inner { grid-template-columns: 1fr auto; align-items: center; }
  .gzc-banner__inner { grid-template-columns: 1fr auto; align-items: center; }
  /* Equal columns, not content-sized. With `auto` columns the three actions
     inherit the width of their label, so "Einstellungen"/"Sazkarî" rendered a
     third the width of "Alle akzeptieren" in tr/ku — a visual hierarchy between
     the choices that §3 does not allow. 1fr forces them identical in every
     language, which is also why the acceptance gate measures their boxes. */
  .gzc-banner__actions { grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); }
  .gzc-dialog { align-items: center; padding: 20px; }
  .gzc-dialog__panel { border-radius: 18px; }
  .gzc-dialog__actions { grid-auto-flow: column; justify-content: start; }
  .lpt-form__submit { width: auto; min-width: 240px; }
}

@media (min-width: 1000px) {
  .lpt-header__cta { display: inline-flex; margin-inline-start: 12px; }
  .lpt-benefits__grid { grid-template-columns: repeat(3, 1fr); }
  .lpt-offer, .lpt-benefits, .lpt-media, .lpt-soon, .lpt-trust, .lpt-formsec, .lpt-faq {
    padding-block: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
