/* ==========================================================================
   SecuPerts Rescue Stick — Stylesheet v1
   Apple-clean editorial design with classic serif display type
   ========================================================================== */

/* ===================== TOKENS ===================== */
:root {
  --bg:        #fafaf8;
  --paper:     #ffffff;
  --ink:       #1a1d1b;
  --ink-2:     #4a504c;
  --muted:     #8b908d;
  --rule:      #e6e6e2;
  --accent:    #1a7a3e;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --maxw:      1200px;
  --maxw-text: 720px;
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }

/* Skip-link for a11y */
.skip-link {
  position: absolute; top: -40px; left: 8px;
  background: var(--ink); color: var(--paper);
  padding: 8px 14px; border-radius: 4px;
  z-index: 100; font-size: 0.9rem;
}
.skip-link:focus { top: 8px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: var(--maxw-text); margin: 0 auto; padding: 0 32px; }

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--ink);
}
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; }

.h-display { font-size: clamp(3rem, 7vw, 6.5rem); letter-spacing: -0.025em; line-height: 1.0; }
.h-1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
.h-2 { font-size: clamp(2rem, 3.5vw, 3rem); letter-spacing: -0.015em; }
.h-3 { font-size: clamp(1.4rem, 2vw, 1.7rem); letter-spacing: -0.01em; line-height: 1.2; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-block;
  margin-bottom: 24px;
}

p { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.65; }
p.lede { font-size: 1.25rem; line-height: 1.55; color: var(--ink-2); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-family: var(--sans); font-weight: 500;
  font-size: 0.95rem; letter-spacing: -0.005em;
  border-radius: 999px;
  transition: background-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-text { color: var(--ink); padding: 14px 0; transition: color 0.2s; }
.btn-text::after { content: " →"; transition: transform 0.25s; display: inline-block; }
.btn-text:hover { color: var(--accent); }
.btn-text:hover::after { transform: translateX(4px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ===================== HEADER ===================== */
header.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--rule);
}
.top-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px;
  padding: 22px 32px;
  max-width: var(--maxw); margin: 0 auto;
}
.mast {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.4rem; letter-spacing: -0.02em;
  color: var(--ink);
}
.mast em { font-style: italic; font-weight: 500; color: var(--accent); }
nav.center { display: flex; align-items: center; }
nav.center a {
  font-size: 0.92rem; color: var(--ink-2);
  font-weight: 500; transition: color 0.15s;
  padding: 0 22px;
}
nav.center a:hover { color: var(--accent); }

.lang-picker {
  position: relative;
}
.lang-picker-button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  font-size: 0.85rem; font-weight: 500;
  color: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: 999px;
  transition: all 0.2s;
}
.lang-picker-button:hover { border-color: var(--ink); color: var(--ink); }
.lang-picker-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 8px;
  min-width: 180px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  display: none;
  z-index: 60;
}
.lang-picker.open .lang-picker-menu { display: block; }
.lang-picker-menu a {
  display: block;
  padding: 8px 12px;
  font-size: 0.9rem;
  color: var(--ink-2);
  border-radius: 6px;
  transition: all 0.15s;
}
.lang-picker-menu a:hover { background: var(--bg); color: var(--ink); }
.lang-picker-menu a.active { background: var(--bg); color: var(--accent); font-weight: 600; }

@media (max-width: 800px) { nav.center { display: none; } }

/* ===================== HERO ===================== */
.hero { padding: 120px 0 80px; text-align: center; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { max-width: 14ch; margin: 0 auto 32px; }
.hero p.lede { max-width: 38ch; margin: 0 auto 40px; }
.hero-ctas {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; margin-bottom: 80px;
}
.hero-ctas > * { margin: 0 16px; }
.hero-product {
  max-width: 1000px; margin: 0 auto;
  padding: 0 32px; position: relative;
}
.hero-product img {
  max-width: 520px; margin: 0 auto;
  filter: drop-shadow(0 40px 60px rgba(26,122,62,0.15));
}

/* ===================== SECTION BASE ===================== */
section { padding: 140px 0; }
.section-head {
  text-align: center; max-width: 700px; margin: 0 auto 100px;
}
.section-head h2 { margin-bottom: 24px; }
.section-head p {
  font-size: 1.18rem; color: var(--ink-2);
  max-width: 50ch; margin: 0 auto;
}

/* ===================== STORY ===================== */
.story { background: var(--paper); text-align: center; }
.story h2 { max-width: 18ch; margin: 0 auto 32px; }
.story p { max-width: 56ch; margin: 0 auto; font-size: 1.18rem; }

/* ===================== FEATURES ===================== */
.features { background: var(--bg); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.feature-card h3 {
  margin-bottom: 10px;
}
.feature-card h3 em { color: var(--accent); }
.feature-card p {
  font-size: 1rem;
  line-height: 1.55;
  max-width: 36ch;
}
@media (max-width: 880px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 32px;
  }
}
@media (max-width: 580px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ===================== SYMPTOMS (newsletter content) ===================== */
.symptoms {
  background: var(--paper);
  text-align: center;
  padding: 120px 0;
}
.symptoms h2 { max-width: 18ch; margin: 0 auto 24px; }
.symptoms p.lede { max-width: 50ch; margin: 0 auto 32px; }
.symptom-list {
  list-style: none;
  max-width: 540px;
  margin: 0 auto 40px;
  text-align: left;
}
.symptom-list li {
  padding: 16px 0 16px 32px;
  border-bottom: 1px solid var(--rule);
  font-size: 1.05rem;
  color: var(--ink);
  position: relative;
}
.symptom-list li:first-child { border-top: 1px solid var(--rule); }
.symptom-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 16px;
  color: var(--accent);
  font-weight: 600;
}
.symptoms-outro {
  max-width: 56ch;
  margin: 0 auto;
  font-size: 1.0625rem;
}

/* ===================== STEPS ===================== */
.steps-section { background: var(--paper); }
.steps-list { max-width: 800px; margin: 0 auto; }
.step {
  display: flex; gap: 60px; padding: 56px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.step:last-child { border-bottom: 0; }
.step .step-num {
  font-family: var(--serif); font-style: italic;
  font-weight: 400; font-size: 2.5rem;
  color: var(--accent);
  flex-shrink: 0; width: 60px;
  letter-spacing: -0.02em;
}
.step .step-content h3 { margin-bottom: 12px; }
.step .step-content p { max-width: 52ch; }
@media (max-width: 700px) {
  .step { flex-direction: column; gap: 8px; padding: 40px 0; }
}

/* ===================== USE CASES ===================== */
.cases-list { max-width: 760px; margin: 0 auto; list-style: none; }
.cases-list li {
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 500; letter-spacing: -0.015em;
  line-height: 1.25; color: var(--ink);
  transition: padding-left 0.3s;
}
.cases-list li:first-child { border-top: 1px solid var(--rule); }
.cases-list li:hover { padding-left: 12px; }
.cases-list li em { font-style: italic; color: var(--accent); }

/* ===================== PRICING ===================== */
.pricing { background: var(--paper); }
.pricing-grid {
  display: flex; flex-wrap: wrap;
  gap: 32px;
  max-width: 720px; margin: 0 auto;
  justify-content: center;
}
.pricing-grid .price-card { flex: 1 1 280px; min-width: 0; }
.pricing-grid-3 {
  max-width: 960px;
  gap: 20px;
}
.pricing-grid-3 .price-card { flex: 1 1 240px; min-width: 0; }
.price-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 36px 28px;
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}
.price-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.price-card.featured {
  background: var(--ink); border-color: var(--ink);
  color: var(--paper);
}
.price-card .badge {
  font-family: var(--serif); font-style: italic;
  font-size: 0.9rem; color: var(--accent);
  margin-bottom: 10px; display: block;
}
.price-card.featured .badge { color: rgba(255,255,255,0.7); }
.price-card h3 { font-size: 1.2rem; margin-bottom: 22px; }
.price-card.featured h3 { color: var(--paper); }
.price-card .price {
  font-family: var(--serif); font-size: 2.8rem;
  font-weight: 400; letter-spacing: -0.04em;
  line-height: 1; margin-bottom: 4px;
  color: var(--ink);
  white-space: nowrap;
}
.price-card.featured .price { color: var(--paper); }
.price-card .price-currency {
  font-size: 1.05rem; color: var(--muted); margin-right: 3px;
}
.price-card.featured .price-currency { color: rgba(255,255,255,0.5); }
.price-card .price-old {
  font-size: 0.8rem; color: var(--muted); margin-bottom: 4px;
}
.price-card .price-old s { color: var(--muted); }
.price-card.featured .price-old { color: rgba(255,255,255,0.55); }
.price-card.featured .price-old s { color: rgba(255,255,255,0.55); }
.price-card .price-old-label {
  font-style: italic;
  font-family: var(--serif);
  margin-right: 4px;
}
.price-card .price-note {
  font-size: 0.78rem; color: var(--muted); margin-bottom: 22px;
}
.price-card.featured .price-note { color: rgba(255,255,255,0.5); }
.price-card ul { list-style: none; margin-bottom: 24px; }
.price-card ul li {
  padding: 9px 0; border-bottom: 1px solid var(--rule);
  font-size: 0.86rem; color: var(--ink-2);
  line-height: 1.4;
}
.price-card.featured ul li {
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
}
.price-card ul li:last-child { border-bottom: 0; }
.price-card .btn {
  display: block; width: 100%;
  padding: 12px 14px; font-size: 0.88rem;
  text-align: center;
  white-space: nowrap;
}
.price-card .btn-primary { background: var(--ink); }
.price-card.featured .btn-primary { background: var(--paper); color: var(--ink); }
.price-card.featured .btn-primary:hover { background: var(--accent); color: var(--paper); }

/* ===================== FAQ ===================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 28px 0;
}
.faq-item:first-child { border-top: 1px solid var(--rule); }
.faq-item summary {
  cursor: pointer; list-style: none;
  font-family: var(--serif); font-weight: 500;
  font-size: 1.35rem; letter-spacing: -0.01em;
  line-height: 1.3; color: var(--ink);
  display: flex; gap: 24px;
  justify-content: space-between; align-items: center;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::after {
  content: "+"; flex-shrink: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: 1.6rem; color: var(--accent); line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 14px; max-width: 60ch; }

/* ===================== FINAL CTA ===================== */
.final {
  background: var(--bg);
  text-align: center;
  padding: 160px 0;
}
.final h2 { max-width: 16ch; margin: 0 auto 32px; }
.final p { max-width: 42ch; margin: 0 auto 48px; font-size: 1.18rem; }

/* ===================== FOOTER ===================== */
footer {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding: 80px 0 40px; font-size: 0.9rem;
}
.footer-top {
  display: flex; gap: 60px; flex-wrap: wrap;
  margin-bottom: 60px; padding-bottom: 50px;
  border-bottom: 1px solid var(--rule);
}
.footer-brand { flex: 2 1 380px; }
.footer-mast {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.6rem; letter-spacing: -0.02em;
  margin-bottom: 14px; color: var(--ink);
}
.footer-mast em { font-style: italic; color: var(--accent); }
.footer-brand p {
  max-width: 38ch; color: var(--muted); font-size: 0.9rem;
  margin-bottom: 20px;
}
.footer-social { margin-top: 16px; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--ink-2);
  transition: all 0.2s;
}
.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.social-link svg { color: currentColor; }
.footer-col { flex: 1 1 140px; }
footer h4 {
  font-family: var(--sans); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink); margin-bottom: 16px;
}
footer ul { list-style: none; }
footer ul li { padding: 5px 0; }
footer ul a {
  color: var(--ink-2); transition: color 0.15s;
  font-size: 0.92rem;
}
footer ul a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
  font-size: 0.82rem; color: var(--muted);
  align-items: flex-end;
}
.footer-impressum {
  line-height: 1.6;
}
.footer-impressum strong {
  color: var(--ink);
  font-weight: 600;
}
.footer-copyright {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ===================== UTILS ===================== */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
