/**
 * ONOC Dolibarr - Landing Page Styles (SEO Quick Check)
 *
 * Scoped to the /seo-quick-check/ page only.
 * All values taken directly from template/wintergarten-quickcheck.html.
 * Do NOT modify tokens — they are locked by UI-SPEC (LP-05).
 */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=DM+Sans:wght@300;400;500&display=swap');

/* =====================================================
   CSS Custom Properties
   ===================================================== */
:root {
  --ink:          #1a1814;
  --parchment:    #f5f0e8;
  --warm-white:   #faf8f4;
  --accent:       #b5470f;
  --accent-light: #d4601f;
  --muted:        #7a7268;
  --border:       #ddd8cc;
  --green:        #2d5a27;
}

/* =====================================================
   BASE
   ===================================================== */
html {
  scroll-behavior: smooth;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: #ffffff;
}

/* =====================================================
   FADE-UP ANIMATION
   ===================================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.30s; }
.delay-3 { animation-delay: 0.45s; }

/* =====================================================
   TOPBAR
   ===================================================== */
.topbar {
  background: var(--ink);
  color: var(--parchment);
  text-align: center;
  padding: 10px 20px; /* LP-05 Override — 10px not 8/12px */
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  background: var(--ink);
  color: var(--parchment);
  padding: 80px 24px 90px; /* LP-05 Override — 90px bottom */
  text-align: center;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 6vw, 3.6rem); /* = clamp(35px, 6vw, 58px) */
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--parchment);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-light);
}

.hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(245, 240, 232, 0.82);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  padding: 16px 36px; /* LP-05 Override — 36px horizontal */
  border-radius: 4px;
  transition: background 0.2s ease, transform 0.2s ease;
  margin-bottom: 16px;
}

.hero-cta:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

.hero-price-hint {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(245, 240, 232, 0.55);
  margin-top: 4px;
}

/* =====================================================
   CRED BAR
   ===================================================== */
.cred-bar {
  background: var(--parchment);
  padding: 56px 24px;
}

.cred-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.cred-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  position: relative;
  padding-left: 28px;
}

.cred-quote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
}

.cred-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: 0.04em;
}

/* =====================================================
   PROBLEM SECTION
   ===================================================== */
.problem {
  background: var(--warm-white);
  padding: 72px 24px;
}

.problem-inner {
  max-width: 720px;
  margin: 0 auto;
}

.section-eyebrow {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.problem h2,
.deliverables h2,
.trust h2,
.price-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.69rem, 4vw, 2.375rem); /* clamp(27px, 4vw, 38px) */
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 32px;
}

.deliverables h2,
.deliverables .section-eyebrow {
  color: var(--parchment);
}

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.problem-list li {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.problem-list li::before {
  content: '→';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* =====================================================
   DELIVERABLES
   ===================================================== */
.deliverables {
  background: var(--ink);
  padding: 72px 24px;
}

.deliverables-inner {
  max-width: 720px;
  margin: 0 auto;
}

.deliver-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.deliver-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 240, 232, 0.1);
  border-radius: 4px;
  padding: 24px;
  transition: background 0.2s ease;
}

.deliver-item:hover {
  background: #252118;
}

.deliver-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 8px;
}

.deliver-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--parchment);
  margin-bottom: 8px;
}

.deliver-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.65);
}

/* =====================================================
   TRUST NUMBERS
   ===================================================== */
.trust {
  background: var(--parchment);
  padding: 72px 24px;
}

.trust-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.trust-item {
  text-align: center;
}

.trust-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

.trust-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.5;
}

/* =====================================================
   PRICE BLOCK + FORM
   ===================================================== */
.price-block {
  background: var(--warm-white);
  padding: 72px 24px;
}

.price-block-inner {
  max-width: 720px;
  margin: 0 auto;
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 64px 56px;
  margin-bottom: 48px;
  position: relative;
}

.price-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 5rem; /* 80px — Display level */
  font-weight: 900;
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 8px;
}

.price-netto {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}

.cta-main {
  display: block;
  width: 100%;
  max-width: 360px;
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  padding: 18px 24px; /* LP-05 Override — 18px vertical */
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  margin: 0 auto 16px;
}

.cta-main:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

.price-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  text-align: center;
  margin-top: 32px;
}

.price-sub a {
  color: var(--accent);
  text-decoration: none;
}

/* =====================================================
   FORM SECTION
   ===================================================== */
.form-section {
  max-width: 720px;
  margin: 0 auto;
}

.form-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.69rem, 4vw, 2.375rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 32px;
}

/* CF7 form general */
.wpcf7-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.wpcf7-form .form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.wpcf7-form label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px; /* LP-05 Override — 6px not 8px */
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px; /* 16px — iOS Zoom Prevention */
  font-weight: 400;
  color: var(--ink);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s ease;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  /* no box-shadow per UI-SPEC */
}

.wpcf7-form input:focus,
.wpcf7-form select:focus {
  outline: none;
  border-color: var(--accent);
}

/* CF7 form control wrap */
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* Acceptance checkbox */
.wpcf7-acceptance {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0 16px;
}

.wpcf7-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.wpcf7-acceptance input[type="checkbox"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.wpcf7-acceptance .wpcf7-list-item-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.5;
}

/* AGB / Datenschutz line */
.form-legal {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.form-legal a {
  color: var(--accent);
  text-decoration: none;
}

.form-legal a:hover {
  text-decoration: underline;
}

/* Submit button */
.wpcf7-submit {
  display: block;
  width: 100%;
  max-width: 360px;
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 500;
  text-align: center;
  padding: 18px 24px; /* LP-05 Override — 18px vertical */
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  margin: 0 auto;
}

.wpcf7-submit:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

.wpcf7-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.wpcf7-submit:disabled:hover {
  background: var(--accent);
  transform: none;
}

/* Field error */
.lp-field-error {
  display: block;
  color: #a33000;
  font-size: 13px;
  font-size: 0.81rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  margin-top: 4px;
  line-height: 1.4;
}

/* CF7 response output */
.wpcf7-response-output {
  display: none;
}

.wpcf7-mail-sent-ok {
  background: var(--green);
  color: #fff;
  padding: 16px 20px;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  margin-top: 16px;
  display: block;
}

/* =====================================================
   FOOTER
   ===================================================== */
.lp-footer {
  background: var(--ink);
  color: rgba(245, 240, 232, 0.45);
  padding: 32px 24px;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
}

.lp-footer a {
  color: rgba(245, 240, 232, 0.45);
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.2s ease;
}

.lp-footer a:hover {
  color: rgba(245, 240, 232, 0.6);
}

/* =====================================================
   RESPONSIVE — max-width: 600px
   ===================================================== */
@media (max-width: 600px) {
  .deliver-grid {
    grid-template-columns: 1fr;
  }

  .trust-items {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cred-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .price-card {
    padding: 48px 24px;
  }

  .price-amount {
    font-size: 4rem; /* 64px on mobile */
  }

  .wpcf7-form .form-row {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3.6rem);
  }
}
