/* ============================================================
   WV Homburg GmbH — Google Ads Agency
   Shared stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Archivo:wght@400;500;600;700&display=swap');

:root {
  --ink:        #11181c;
  --ink-soft:   #36434a;
  --muted:      #6b7a82;
  --line:       #e3e7e6;
  --paper:      #f7f6f1;
  --paper-2:    #efeee7;
  --white:      #ffffff;
  --brand:      #0b6b4f;   /* deep emerald */
  --brand-2:    #0e8a66;
  --brand-ink:  #063b2b;
  --accent:     #e8b13b;   /* warm gold */
  --shadow:     0 1px 2px rgba(17,24,28,.05), 0 10px 30px rgba(17,24,28,.06);
  --shadow-lg:  0 30px 60px rgba(6,59,43,.12);
  --radius:     14px;
  --maxw:       1180px;
  --ff-display: 'Fraunces', Georgia, serif;
  --ff-body:    'Archivo', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-2); }

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

h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.08; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p  { color: var(--ink-soft); }

.eyebrow {
  font-family: var(--ff-body);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .73rem;
  font-weight: 600;
  color: var(--brand);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,246,241,.86);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center;
  color: #fff; font-family: var(--ff-display); font-weight: 700; font-size: 1.1rem;
  box-shadow: var(--shadow);
}
.brand .name { font-family: var(--ff-display); font-weight: 600; font-size: 1.18rem; color: var(--ink); letter-spacing: -.01em; }
.brand .name span { color: var(--brand); }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--ink-soft); font-weight: 500; font-size: .96rem; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--brand); color: #fff;
  padding: 12px 22px; border-radius: 100px;
  font-weight: 600; font-size: .95rem; border: 0; cursor: pointer;
  transition: transform .18s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--brand-ink); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(60px, 9vw, 120px) 0 clamp(56px, 8vw, 100px);
  background:
    radial-gradient(900px 460px at 82% -8%, rgba(14,138,102,.16), transparent 60%),
    radial-gradient(700px 420px at -8% 110%, rgba(232,177,59,.13), transparent 55%),
    var(--paper);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0 20px; }
.hero h1 em { font-style: italic; color: var(--brand); }
.hero .lead { font-size: 1.16rem; max-width: 36ch; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  padding: 30px; box-shadow: var(--shadow-lg); position: relative;
}
.hero-card h4 { font-family: var(--ff-body); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 18px; }
.metric-row { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.metric-row:last-child { border-bottom: 0; }
.metric-row .k { color: var(--ink-soft); font-size: .94rem; }
.metric-row .v { font-family: var(--ff-display); font-weight: 600; font-size: 1.5rem; color: var(--brand); }
.bar { height: 8px; background: var(--paper-2); border-radius: 100px; margin-top: 6px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 100px; }

/* ---------- Sections ---------- */
section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 60ch; margin-bottom: 48px; }
.section-head p { margin-top: 14px; font-size: 1.08rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfd6d3; }
.card .ico {
  width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  background: var(--paper-2); color: var(--brand); margin-bottom: 18px;
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .98rem; }
.card .more { margin-top: 16px; font-weight: 600; font-size: .92rem; display: inline-flex; gap: 6px; align-items: center; }
.card .more::after { content: "→"; transition: transform .2s ease; }
.card:hover .more::after { transform: translateX(4px); }

.tag { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); background: rgba(11,107,79,.08); padding: 5px 11px; border-radius: 100px; margin-bottom: 16px; align-self: flex-start; }

/* ---------- Strip ---------- */
.strip { background: var(--brand-ink); color: #dbece4; }
.strip h2 { color: #fff; }
.strip p { color: #b7d3c7; }
.strip .eyebrow { color: var(--accent); }

.steps { counter-reset: step; }
.step { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step .n {
  counter-increment: step; flex: none;
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper-2); color: var(--brand); font-family: var(--ff-display); font-weight: 700;
}
.step .n::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.2rem; margin-bottom: 4px; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px);
  background:
    radial-gradient(700px 360px at 90% -20%, rgba(14,138,102,.12), transparent 60%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { font-size: 1.14rem; max-width: 60ch; margin-top: 18px; }

/* ---------- Prose ---------- */
.prose { max-width: 74ch; }
.prose h2 { margin: 40px 0 14px; }
.prose h3 { margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose .updated { color: var(--muted); font-size: .9rem; margin-bottom: 30px; }

.callout {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: 10px; padding: 20px 24px; margin: 26px 0;
}
.callout p { margin: 0; }

/* ---------- Feature list with checks ---------- */
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); color: var(--ink-soft); }
.checks li:last-child { border-bottom: 0; }
.checks li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(11,107,79,.1); color: var(--brand); display: grid; place-items: center;
  font-size: .8rem; font-weight: 700;
}

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .panel { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--ff-body); font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 15px; transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11,107,79,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.checkbox input { width: auto; margin-top: 4px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.form-ok { display: none; background: rgba(11,107,79,.08); border: 1px solid var(--brand); color: var(--brand-ink); padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; }
.form-ok.show { display: block; }

.info-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; margin-bottom: 20px; }
.info-card h3 { font-size: 1.15rem; margin-bottom: 14px; }
.info-row { display: flex; gap: 12px; padding: 9px 0; }
.info-row .ic { flex: none; color: var(--brand); margin-top: 3px; }
.info-row .ic svg { width: 18px; height: 18px; }
.info-row span { color: var(--ink-soft); font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand), var(--brand-ink));
  color: #fff; border-radius: 22px; padding: clamp(36px,5vw,60px);
  text-align: center; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; max-width: 22ch; margin: 0 auto 14px; }
.cta-band p { color: #c8e2d6; max-width: 50ch; margin: 0 auto 26px; }
.cta-band .btn { background: #fff; color: var(--brand-ink); }
.cta-band .btn:hover { background: var(--accent); color: var(--brand-ink); }

/* ---------- FAQ ---------- */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 4px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--ff-display); font-weight: 600; font-size: 1.1rem; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.5rem; font-family: var(--ff-body); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-ink); color: #a9c6b9; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand .name { color: #fff; }
.site-footer h5 { color: #fff; font-family: var(--ff-body); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #a9c6b9; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.site-footer .blurb { font-size: .95rem; margin: 16px 0; max-width: 34ch; color: #a9c6b9; }
.legal-entity { font-size: .85rem; line-height: 1.8; color: #8fb3a4; }
.legal-entity strong { color: #cfe2d9; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 24px; font-size: .85rem; color: #8fb3a4; }
.footer-bottom .links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-card { order: -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links { position: fixed; inset: 76px 0 auto 0; background: var(--paper); flex-direction: column; gap: 0; padding: 8px 0; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .28s ease; }
  .nav-links.open { transform: none; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 28px; }
  .nav .btn { display: none; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
