/* ============================================================
   EasyUsenet - special-offer.css
   Permanent offer, variant D: in the colours of the other pages.

   Builds on ../css/base.css and ../css/checkout.css. The hero, the
   plan cards (.pcard), the markers (.mk, .eyebrow) and the form come
   from there unchanged - only what this page needs on top is here.
   ============================================================ */

/* The hero is the home page construction. This page does not load the home page
   stylesheet (index.css), hence the two lines the hero needs from it. */
.hero{position:relative;overflow:hidden}
.hero-grid{padding-right:56px}

/* Knopfreihe im Held: Hauptknopf plus leiser Textlink. */
.sp-cta{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.sp-more{font-family:'Sora','Sora Fallback',sans-serif;font-size:14px;font-weight:800;color:var(--muted);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px;transition:color .16s ease}
.sp-more:hover{color:var(--text)}

/* Tarifbereich: zwei bestehende Karten nebeneinander. */
/* The plans area uses the .plans container from base.css: grid, flex kicker, card
   width and the order reversal on narrow windows all come from there. A grid rule
   of its own would be a copy that drifts apart.
   The selected card is deliberately not highlighted - the link between the click
   and the order summary explains itself. */

/* The price line carries three parts here: amount, unit and discount. On the home
   page there are only two. With nowrap the label pushes out of the card at mid
   widths and gets clipped by the hero overflow:hidden - measured at 620px, 21px
   past the edge. */
.pcard .price{flex-wrap:wrap}

/* The currency switch itself is a system component and lives in base.css
   (.cswitch). Only its placement remains here. */
.cswitch-box{margin:0 0 34px}

.specs-note{text-align:center;font-family:'Sora','Sora Fallback',sans-serif;font-size:12px;font-weight:800;letter-spacing:1.3px;text-transform:uppercase;color:var(--muted);margin:38px 0 14px}
.specs-row{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 26px}
.spec{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--muted)}
.spec svg{color:var(--green)}

/* Kasse einspaltig, mittig. */
.sp-checkout-one{max-width:620px;margin:0 auto}

@media (max-width:920px){
  .hero-grid{padding-right:0}
}
@media (max-width:620px){
  .sp-cta{gap:14px}
}

/* ── Kopf ───────────────────────────────────────────────────────────── */
.sp-head .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px}
.sp-logo{display:block;width:auto;height:30px}
.sp-seit{font-family:'Sora','Sora Fallback',sans-serif;font-size:12px;font-weight:800;letter-spacing:1.3px;text-transform:uppercase}
/* The strapline and the currency switcher form the right-hand group of the header.
   .pick itself comes from base.css unchanged and needs no rule. */
.sp-head-r{display:flex;align-items:center;gap:16px}

/* ── Abschnittskopf ─────────────────────────────────────────────────── */
.sp-sec-head{max-width:620px;margin:0 auto 38px;text-align:center}
.sp-sec-head--l{margin:0 0 26px;text-align:left}
.sp-sec-head h2{font-family:'Sora','Sora Fallback',sans-serif;font-size:clamp(25px,3.2vw,36px);font-weight:800;letter-spacing:-1px;line-height:1.14;margin:12px 0 10px}
.sp-sec-head p{font-size:16px;line-height:1.62;margin:0}

/* ── Kasse ──────────────────────────────────────────────────────────── */
.sp-checkout-in{display:grid;grid-template-columns:.92fr 1.08fr;gap:52px;align-items:start;max-width:1000px;margin:0 auto}
.sp-form .qhead .nm{font-family:'Sora','Sora Fallback',sans-serif;font-size:18px;font-weight:800}
.sp-form .lb--pay{display:block;margin:20px 0 9px}
.sp-sec-head--l .trustline{margin-top:22px}

/* ── FAQ ────────────────────────────────────────────────────────────── */
.sp-help{max-width:740px;margin:24px auto 0;text-align:center;font-size:14.5px;line-height:1.6}
.sp-help a{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:2px;font-weight:600}

/* ── Fuss ───────────────────────────────────────────────────────────── */
/* Footer on the green ground of the page, with no black rule -
   like .site-foot on every other page. */
.sp-foot{background:var(--footbg,#B8DC86);padding:34px 0 40px;text-align:center}
.sp-foot .trustline{justify-content:center;margin-bottom:16px}
.sp-foot-mk{font-size:14px;font-weight:600;margin:0 0 12px}
.sp-foot-l{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 20px}
.sp-foot-l a{font-size:13px;font-weight:600;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}

/* -- Gentle jumping --------------------------------------------------
   The plan buttons lead to #order. A hard jump breaks the connection - the page
   scrolls instead. As everywhere in the package the motion stops under
   prefers-reduced-motion (base.css, 404.css and member.css do the same), and the
   jump targets get the same 24px of lead-in as the headings in faq.css and
   legal.css. */
html[data-campaign="special"]{scroll-behavior:smooth}
html[data-campaign="special"] #offer,
html[data-campaign="special"] #order{scroll-margin-top:24px}
@media (prefers-reduced-motion:reduce){
  html[data-campaign="special"]{scroll-behavior:auto}
}

/* ── Schmale Fenster ────────────────────────────────────────────────── */
@media (max-width:620px){
  /* base.css sets .trustline to nowrap on narrow windows. On these pages it sits in
     tight boxes and next to the button - here it may wrap. The
     html[data-campaign="special"] keeps the rule limited to these pages. */
  html[data-campaign="special"] .trustline{flex-wrap:wrap}
  .sp-head .wrap{flex-direction:column;align-items:flex-start;gap:9px}
  /* Two switchers and the strapline get in each other’s way at 360px: the strapline
     would break onto two lines and the header would grow to 129px. It is
     decorative and appears in the footer anyway ("Usenet access since 2007."),
     so here it gives way to the switchers. */
  .sp-seit{display:none}
}

/* -- Header ------------------------------------------------------------
   The same ground as the hero below it, so the two form one surface.
   The rule runs through --rule and is therefore invisible, as on every page
   of the package. */
.sp-head{background:var(--plansbg,var(--ground));padding:20px 0;border-bottom:var(--rule,none)}

/* -- Sections ---------------------------------------------------------
   Backgrounds, padding and the (invisible) rule come from .sec and
   .sec--plans in base.css. Only the fine tuning is here. */
.sp-plaene .sp-sec-head,.sp-checkout .sp-sec-head,.sp-faq .sp-sec-head{margin-bottom:40px}

/* -- Order form -------------------------------------------------------
   checkout.css makes the fields shift by one pixel on focus and cast a hard
   shadow. The reset for that is called .co-v5 .inp:focus and hangs on the
   checkout page wrapper - outside it, it does not apply. Hence the same calm
   focus here as on checkout.html. */
.sp-form .inp:focus{transform:none;border-color:var(--black);box-shadow:none}

/* More room between the small print and the buy button. */
.sp-form .qnote{margin-bottom:26px}
.sp-form .sp-kauf{margin-top:0}

/* -- Less room between header and hero --------------------------------
   base.css gives the hero 88px at the top. On a campaign page the offer should
   sit higher, hence tighter here. */
.hero{padding-top:44px}
/* Below 1000px the hero becomes display:flex;flex-wrap:wrap (base.css). The text
   column then shrinks until it wraps - and just before that it is narrower than
   the marker: measured at 278px column against a 275px marker at a 592px window
   width; just below that the marker sticks out. .mk is white-space:nowrap and
   cannot give way. A minimum width makes the column wrap to full width earlier
   instead. */
@media (min-width:480px){
html[data-campaign="special"] .hero .page-head{min-width:330px}
}

/* -- Four focus points -------------------------------------------------
   The home page row of four: .quad with .tile from base.css, across the full
   width. .quad breaks to two columns at 1000px and to one at 720px - no rules of
   its own are needed for that. */
.sp-warum{padding-bottom:72px}

/* More room between the form and the rating. */
.sp-tp{display:flex;justify-content:center;margin-top:44px}

@media (max-width:620px){
  .hero{padding-top:34px}
  .sp-tp{margin-top:34px}
}

/* -- Focus points, two per row ----------------------------------------
   .duo from index.css is the home page two-column grid. Its margin-bottom is not
   needed here because nothing follows. */
.sp-duo{margin-bottom:0}

/* -- Our promise -------------------------------------------------------
   Its own green band behind the checkout. Section colour (.sec--promise), card
   (.prS), border, shadow and the three-column grid all come from base.css and
   index.css - nothing to add here. */
