/* ============================================================
   SIT AG – Google Ads Agentur
   Shared stylesheet
   Aesthetic: refined Swiss-precision, editorial, warm off-white
   paper + deep ink, signal-orange accent. Mono/serif pairing.
   ============================================================ */

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

:root {
  --paper: #f4f1ea;
  --paper-2: #ebe6dc;
  --ink: #16140f;
  --ink-soft: #3a352c;
  --muted: #6b6356;
  --line: #d7d0c2;
  --accent: #e8540c;
  --accent-deep: #b53d05;
  --accent-soft: #f7e6da;
  --green: #2f5d3a;
  --maxw: 1180px;
  --r: 4px;
  --shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(22,20,15,.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Sora', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(232,84,12,.05), transparent 38%),
    radial-gradient(circle at 88% 0%, rgba(47,93,58,.04), transparent 30%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; line-height: 1.08; letter-spacing: -.01em; }

.mono { font-family: 'Space Mono', monospace; }

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

/* ---------- top bar ---------- */
.topbar {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: .04em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; padding: 9px 28px; flex-wrap: wrap; gap: 8px; }
.topbar a:hover { color: var(--accent); }

/* ---------- header / nav ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,241,234,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; }
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand .logo {
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 26px; letter-spacing: -.02em;
}
.brand .logo b { color: var(--accent); }
.brand .tag { font-family: 'Space Mono', monospace; font-size: 10px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }

nav.main { display: flex; gap: 26px; align-items: center; }
nav.main a { font-size: 15px; color: var(--ink-soft); font-weight: 500; position: relative; }
nav.main a:hover { color: var(--ink); }
nav.main a.active { color: var(--accent-deep); }
nav.main a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--accent);
  transition: width .25s ease;
}
nav.main a:hover::after, nav.main a.active::after { width: 100%; }

.btn {
  display: inline-block; background: var(--accent); color: #fff !important;
  padding: 11px 20px; border-radius: var(--r); font-weight: 600; font-size: 15px;
  border: 1px solid var(--accent-deep);
  transition: transform .15s ease, background .2s ease;
}
.btn:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper) !important; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r); padding: 8px 10px; cursor: pointer; font-size: 18px; }

/* ---------- hero ---------- */
.hero { padding: 84px 0 64px; position: relative; overflow: hidden; }
.kicker {
  font-family: 'Space Mono', monospace; font-size: 13px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent-deep); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
}
.kicker::before { content: ''; width: 34px; height: 1px; background: var(--accent); }
.hero h1 { font-size: clamp(40px, 6.4vw, 78px); max-width: 14ch; }
.hero h1 em { font-style: italic; color: var(--accent-deep); }
.hero p.lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--ink-soft); max-width: 56ch; margin-top: 26px; }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- generic sections ---------- */
section.block { padding: 72px 0; border-top: 1px solid var(--line); }
.eyebrow { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin-top: 14px; }
.section-head p { color: var(--ink-soft); margin-top: 16px; font-size: 18px; }

/* ---------- grids / cards ---------- */
.grid { display: grid; gap: 22px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fbf9f4; border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9c0ad; }
.card .num { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--accent-deep); letter-spacing: .1em; }
.card h3 { font-size: 22px; margin: 14px 0 10px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-family: 'Space Mono', monospace; font-size: 13px; color: var(--accent-deep); font-weight: 700; }
.card .more::after { content: '→'; transition: transform .2s ease; }
.card:hover .more::after { transform: translateX(4px); }

.card.lift { display: block; }

/* feature list */
ul.ticks { list-style: none; margin-top: 8px; }
ul.ticks li { position: relative; padding-left: 28px; margin: 12px 0; color: var(--ink-soft); }
ul.ticks li::before {
  content: ''; position: absolute; left: 0; top: 9px; width: 12px; height: 12px;
  background: var(--accent); border-radius: 2px; transform: rotate(45deg);
}

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fbf9f4; }
.stats .s { padding: 30px 26px; border-right: 1px solid var(--line); }
.stats .s:last-child { border-right: none; }
.stats .s .big { font-family: 'Fraunces', serif; font-size: 38px; color: var(--ink); font-weight: 700; }
.stats .s .lbl { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* split / prose */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.prose p { margin-bottom: 18px; color: var(--ink-soft); }
.prose h2 { font-size: 30px; margin: 36px 0 14px; }
.prose h3 { font-size: 22px; margin: 28px 0 10px; }
.prose ul { margin: 12px 0 18px 22px; color: var(--ink-soft); }
.prose li { margin: 8px 0; }
.prose a { color: var(--accent-deep); text-decoration: underline; }

/* aside box */
.aside-box { background: var(--ink); color: var(--paper); border-radius: var(--r); padding: 32px; }
.aside-box h3 { color: #fff; font-size: 22px; }
.aside-box p { color: #cfc9bc; margin-top: 12px; font-size: 15px; }
.aside-box .row { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 14px; }
.aside-box .row .k { font-family: 'Space Mono', monospace; color: var(--accent); min-width: 78px; }

/* breadcrumb */
.crumb { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--muted); letter-spacing: .06em; padding: 22px 0 0; }
.crumb a:hover { color: var(--accent-deep); }

/* page hero (interior) */
.page-hero { padding: 40px 0 30px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); max-width: 18ch; }
.page-hero p { color: var(--ink-soft); font-size: 19px; margin-top: 18px; max-width: 60ch; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--paper); border-radius: var(--r); padding: 52px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: 32px; max-width: 20ch; }
.cta-band p { color: #cfc9bc; margin-top: 10px; }

/* ---------- contact form ---------- */
form.contact { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid var(--line);
  border-radius: var(--r); background: #fff; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); }
.field .check input { width: 18px; height: 18px; margin-top: 3px; }
.form-note { font-size: 13px; color: var(--muted); }
.form-msg { display: none; background: var(--accent-soft); border: 1px solid var(--accent); border-radius: var(--r); padding: 14px 16px; color: var(--accent-deep); font-size: 15px; }

/* contact detail cards */
.contact-detail { display: grid; gap: 16px; }
.contact-detail .item { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fbf9f4; }
.contact-detail .item .ic { font-size: 20px; }
.contact-detail .item .k { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-detail .item .v { font-size: 16px; color: var(--ink); margin-top: 2px; }

/* table */
table.specs { width: 100%; border-collapse: collapse; background: #fbf9f4; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
table.specs td { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
table.specs tr:last-child td { border-bottom: none; }
table.specs td:first-child { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); width: 38%; }

/* faq */
details.faq { border: 1px solid var(--line); border-radius: var(--r); background: #fbf9f4; padding: 4px 20px; margin-bottom: 12px; }
details.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; font-family: 'Space Mono', monospace; color: var(--accent); font-size: 22px; }
details.faq[open] summary::after { content: '–'; }
details.faq p { padding: 0 0 18px; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- footer ---------- */
footer.site { background: var(--ink); color: #cfc9bc; margin-top: 0; padding: 60px 0 28px; border-top: 4px solid var(--accent); }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
footer.site h4 { color: #fff; font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
footer.site a { color: #cfc9bc; font-size: 15px; }
footer.site a:hover { color: var(--accent); }
footer.site ul { list-style: none; }
footer.site ul li { margin: 9px 0; }
footer.site .brand .logo { color: #fff; }
footer.site .legal-line { font-family: 'Space Mono', monospace; font-size: 12.5px; line-height: 1.9; color: #9a9486; }
footer.site .legal-line b { color: #fff; }
footer.site .bottom { border-top: 1px solid #2c2a22; margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #8a8475; font-family: 'Space Mono', monospace; }
footer.site .bottom a { font-size: 13px; }

.disclaimer { font-size: 12.5px; color: #8a8475; margin-top: 14px; max-width: 60ch; line-height: 1.7; }

/* reveal animation – only hidden when JS is active (js-ready set on <html>) */
.reveal { transition: opacity .6s ease, transform .6s ease; }
html.js-ready .reveal { opacity: 0; transform: translateY(18px); }
html.js-ready .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js-ready .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  nav.main { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); flex-direction: column; padding: 18px 28px; border-bottom: 1px solid var(--line); gap: 16px; }
  nav.main.open { display: flex; }
  nav.main a::after { display: none; }
  .nav-toggle { display: block; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .grid.c3, .grid.c4, .grid.c2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats .s { border-right: none; border-bottom: 1px solid var(--line); }
  .field.row2 { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr; }
  .topbar .wrap { font-size: 11px; }
}
