/* =====================================================
   PFALZFLY – V4 Design System
   ===================================================== */
:root {
  --ink:        #0f0d0c;
  --ink-2:      #1c1917;
  --ink-3:      #292524;
  --paper:      #faf7f4;
  --paper-2:    #f0ebe5;
  --text:       #1c1917;
  --text-s:     #78716c;
  --text-inv:   #faf7f4;
  --text-inv-s: #a8a29e;
  --accent:     #1e7e3a;
  --accent-l:   #34c759;
  --accent-pale:#f0fdf4;
  --border:     rgba(0,0,0,0.08);
  --border-d:   rgba(255,255,255,0.1);
  --radius:     4px;
  --radius-lg:  8px;
  --maxw:       1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* =====================================================
   HEADER
   ===================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,244,0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.nav {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(30,126,58,0.18));
  transition: transform 0.2s ease, filter 0.2s ease;
}
.logo:hover .logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 14px rgba(30,126,58,0.35));
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0; padding: 0;
  gap: 2px;
  align-items: center;
}
nav a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  opacity: 0.75;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s, opacity 0.15s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
nav a:hover, nav a.active { color: var(--accent); background: rgba(30,126,58,0.06); opacity: 1; }

.nav-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 9px 20px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s, transform 0.15s;
  letter-spacing: 0.01em;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost   { background: rgba(0,0,0,0.05); color: var(--text); border: 1px solid rgba(0,0,0,0.12); }
.btn-dark    { background: var(--ink); color: var(--text-inv); }
.btn-outline { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn-lg { font-size: 16px; padding: 14px 32px; }
.btn-inv-ghost { background: transparent; color: var(--text-inv); border: 1px solid rgba(255,255,255,0.25); }

.burger {
  display: none;
  border: 1px solid rgba(0,0,0,0.12);
  background: transparent;
  border-radius: var(--radius);
  padding: 7px 10px;
  cursor: pointer;
  font-size: 16px;
  color: var(--text);
  line-height: 1;
  font-family: inherit;
}

/* =====================================================
   TICKER
   ===================================================== */
.ticker-wrap {
  background: var(--accent);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
}
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.5); flex-shrink: 0; }

/* =====================================================
   HERO (full – home page)
   ===================================================== */
.hero {
  background: var(--paper);
  color: var(--text);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 30%, rgba(30,126,58,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text);
  margin: 0 0 24px;
}
.hero h1 em { font-style: normal; color: var(--accent); }

.hero-sub {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-s);
  line-height: 1.65;
  margin: 0 0 36px;
  max-width: 460px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.hero-trust-item { display: flex; flex-direction: column; gap: 4px; }
.hero-trust-item strong { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.hero-trust-item span { font-size: 12px; color: var(--text-s); letter-spacing: 0.02em; }

.hero-visual { position: relative; }
.hero-card-stack { display: flex; flex-direction: column; gap: 10px; }
.hero-feat {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--text-s);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.hero-feat:hover { background: var(--accent-pale); border-color: rgba(30,126,58,0.25); box-shadow: 0 4px 20px rgba(30,126,58,0.1); }
.hero-feat .feat-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(30,126,58,0.1);
  display: grid; place-items: center;
  font-size: 16px; flex-shrink: 0;
}
.hero-feat strong { color: var(--text); font-size: 14px; display: block; margin-bottom: 2px; }

/* Hero logo */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  position: relative;
  z-index: 0;
}
.hero-logo-wrap.in { opacity: 1; transform: none; }
.hero-logo-img {
  width: 280px;
  height: auto;
  object-fit: contain;
  animation: heroFloat 5s ease-in-out infinite;
  filter: drop-shadow(0 6px 20px rgba(30,126,58,0.22));
}
.hero-inner, .hero-inner > div { position: relative; z-index: 1; }

/* =====================================================
   PAGE HERO (inner pages)
   ===================================================== */
.page-hero {
  background: var(--paper);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 40%, rgba(30,126,58,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text);
  margin: 0 0 20px;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero .lead { max-width: 600px; }

.page-hero-dark {
  background: var(--ink);
  padding: 80px 0 60px;
}
.page-hero-dark .section-label { color: var(--accent-l); }
.page-hero-dark .section-label::before { background: var(--accent-l); }
.page-hero-dark h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-inv);
  margin: 0 0 20px;
}
.page-hero-dark h1 em { font-style: normal; color: var(--accent-l); }
.page-hero-dark .lead { color: var(--text-inv-s); }

/* =====================================================
   SECTION PATTERNS
   ===================================================== */
section { padding: 100px 0; }
section[id] { scroll-margin-top: 60px; }

.s-dark  { background: var(--ink);   color: var(--text-inv); }
.s-dark-2{ background: var(--ink-2); color: var(--text-inv); }
.s-warm  { background: var(--paper-2); }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.s-dark .section-label,
.s-dark-2 .section-label { color: var(--accent-l); }
.s-dark .section-label::before,
.s-dark-2 .section-label::before { background: var(--accent-l); }

h2 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 20px;
}
.s-dark h2, .s-dark-2 h2 { color: var(--text-inv); }

.lead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-s);
  line-height: 1.65;
  max-width: 560px;
  margin: 0;
}
.s-dark .lead, .s-dark-2 .lead { color: var(--text-inv-s); }

/* =====================================================
   2-COL SPLIT
   ===================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.flip { direction: rtl; }
.split.flip > * { direction: ltr; }

.split-text { display: flex; flex-direction: column; gap: 0; }

.feature-list {
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-s);
  line-height: 1.5;
}
.s-dark .feature-list li { color: var(--text-inv-s); }
.feature-list li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(30,126,58,0.12);
  border: 1.5px solid var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%231e7e3a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-l);
  letter-spacing: 0.02em;
  transition: gap 0.2s;
}
.text-link:hover { gap: 12px; }
.text-link::after { content: '→'; }

.split-visual { position: relative; }

.visual-card {
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.s-dark .visual-card { background: var(--ink-3); border-color: var(--border-d); box-shadow: none; }

.visual-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-s);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.visual-placeholder .big-icon { font-size: 48px; }

.visual-badge {
  position: absolute;
  bottom: -14px;
  left: 20px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  box-shadow: 0 8px 32px rgba(30,126,58,0.4);
}
.visual-badge strong { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.visual-badge span { font-size: 12px; opacity: 0.85; }

/* =====================================================
   STEPS GRID
   ===================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 60px;
}
.steps-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.step {
  background: var(--ink-2);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.2s;
}
.step:hover { background: var(--ink-3); }

.step-num {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.08);
  line-height: 1;
}
.step h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--text-inv); margin: 0; }
.step p { font-size: 15px; color: var(--text-inv-s); line-height: 1.65; margin: 0; }

/* =====================================================
   STATS STRIP
   ===================================================== */
.stats-strip { background: var(--accent); color: #fff; padding: 40px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.stat {
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.stat:last-child { border-right: none; }
.stat strong { display: block; font-size: 42px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 6px; }
.stat span { font-size: 13px; opacity: 0.8; letter-spacing: 0.02em; }

/* =====================================================
   GRID CARDS
   ===================================================== */
.card-grid { display: grid; gap: 16px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }

.card-dark { background: var(--ink-3); border-color: rgba(255,255,255,0.06); }
.card-dark:hover { border-color: var(--accent); }

.card .card-icon { font-size: 28px; margin-bottom: 16px; display: block; }
.card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 8px; color: var(--text); }
.card-dark h3 { color: var(--text-inv); }
.card p { font-size: 14px; color: var(--text-s); line-height: 1.6; margin: 0; }
.card-dark p { color: var(--text-inv-s); }

/* =====================================================
   PRICING
   ===================================================== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.price-card {
  background: var(--ink-3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.2s, transform 0.2s;
}
.price-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.price-card.featured {
  border-color: var(--accent);
  background: var(--ink-2);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(30,126,58,0.25);
}
.price-card.featured:hover { transform: translateY(-10px); }

.price-tag-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-inv-s); }
.price-card.featured .price-tag-label { color: var(--accent-l); }
.price-name { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: var(--text-inv); }
.price-amount { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; color: var(--text-inv); line-height: 1; }
.price-card.featured .price-amount { color: var(--accent-l); }
.price-period { font-size: 14px; color: var(--text-inv-s); font-weight: 400; margin-left: 4px; }

.price-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.price-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-inv-s); line-height: 1.45; }
.price-list li::before { content: '✓'; color: var(--accent-l); font-weight: 700; flex-shrink: 0; }

.price-divider { height: 1px; background: rgba(255,255,255,0.08); }

/* =====================================================
   FAQ
   ===================================================== */
.faq-list { display: flex; flex-direction: column; gap: 2px; margin-top: 48px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  transition: box-shadow 0.2s;
}
.faq-item.open { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }

.faq-q {
  width: 100%; text-align: left;
  background: transparent; border: 0;
  padding: 20px 24px;
  font-size: 16px; font-weight: 600;
  color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-family: inherit;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--accent); }
.faq-item.open .faq-q { color: var(--accent); }

.faq-chev { color: var(--text-s); transition: transform 0.25s ease; flex-shrink: 0; font-style: normal; font-size: 18px; }
.faq-item.open .faq-chev { transform: rotate(45deg); color: var(--accent); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  font-size: 15px; color: var(--text-s); line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }

.testimonial {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute; top: 16px; left: 22px;
  font-size: 56px; font-weight: 800; line-height: 1;
  color: rgba(30,126,58,0.12); pointer-events: none;
}
.testimonial p { font-size: 15px; line-height: 1.7; color: var(--text-s); margin: 24px 0 20px; font-style: italic; }
.testimonial figcaption { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-s); }

/* =====================================================
   CONTACT
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  margin-top: 48px;
}
.contact-form {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

form { display: grid; gap: 16px; }

label { font-size: 13px; color: var(--text-s); font-weight: 600; letter-spacing: 0.02em; display: block; margin-bottom: 6px; }

input, textarea, select {
  width: 100%;
  padding: 12px 16px;
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30,126,58,0.1);
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-s); }
.checkbox input { width: auto; margin-top: 2px; flex-shrink: 0; }

.error { color: #b91c1c; font-size: 12px; display: none; margin-top: 4px; }
.success {
  display: none;
  background: #f0fdf4; border: 1px solid #bbf7d0;
  color: #166534; padding: 12px 16px;
  border-radius: var(--radius); font-size: 14px; margin-bottom: 12px;
}

.contact-aside { display: flex; flex-direction: column; gap: 16px; }

.contact-info-card {
  background: var(--ink);
  color: var(--text-inv);
  border-radius: var(--radius-lg);
  padding: 28px;
  flex: 1;
}
.contact-info-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--text-inv); margin: 0 0 16px; }
.contact-info-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.contact-info-card ul li { display: flex; gap: 12px; font-size: 15px; color: var(--text-inv-s); line-height: 1.45; }
.contact-info-card ul li::before { content: '→'; color: var(--accent-l); flex-shrink: 0; }
.contact-info-card a { color: var(--accent-l); }
.contact-info-card hr { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 18px 0; }

/* =====================================================
   PORTFOLIO OUTPUTS
   ===================================================== */
.output-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(30,126,58,0.1);
  border: 1px solid rgba(30,126,58,0.2);
  color: var(--accent);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 10px;
}

/* =====================================================
   ÜBER UNS
   ===================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 60px;
  align-items: start;
}
.cert-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.cert-badge {
  background: var(--ink);
  color: var(--text-inv-s);
  font-size: 12px; font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius);
  letter-spacing: 0.03em;
}

.quick-facts { display: flex; flex-direction: column; gap: 10px; }
.fact {
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
}
.fact strong { display: block; font-size: 13px; color: var(--text-s); margin-bottom: 4px; font-weight: 600; letter-spacing: 0.02em; }
.fact span { font-size: 15px; color: var(--text); font-weight: 600; }

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background: var(--ink);
  color: var(--text-inv-s);
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 24px;
}
.footer-logo-img {
  height: 44px; width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  margin-bottom: 14px;
}
.foot-links {
  display: flex; gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
footer a { color: var(--text-inv-s); font-size: 14px; transition: color 0.15s; }
footer a:hover { color: var(--text-inv); }

/* =====================================================
   TOAST
   ===================================================== */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9998;
  background: var(--ink);
  color: var(--text-inv);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.toast-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(30,126,58,0.15);
  border: 1.5px solid var(--accent-l);
  display: grid; place-items: center;
  font-size: 14px; flex-shrink: 0;
}

/* =====================================================
   COOKIE BANNER
   ===================================================== */
.cookie-banner { position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 9999; display: none; }
.cookie-inner {
  max-width: var(--maxw); margin: 0 auto;
  background: var(--ink-2); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  padding: 16px 20px;
  display: flex; gap: 16px; align-items: center; justify-content: space-between;
}
.cookie-text { font-size: 14px; color: var(--text-inv-s); }
.cookie-text strong { color: var(--text-inv); }
.cookie-link { color: var(--accent-l); font-weight: 600; margin-left: 6px; }
.cookie-actions { flex: 0 0 auto; }

/* =====================================================
   SCROLL REVEAL
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.in { opacity: 1; transform: none; }

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.in { opacity: 1; transform: none; }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* =====================================================
   PROSE (legal pages)
   ===================================================== */
.prose {
  max-width: 780px;
  margin: 0 auto;
}
.prose h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin: 2.5rem 0 0.75rem; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 1.8rem 0 0.5rem; }
.prose p { font-size: 16px; line-height: 1.75; color: var(--text-s); margin-bottom: 1rem; }
.prose ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.prose ul li { font-size: 16px; line-height: 1.7; color: var(--text-s); margin-bottom: 0.4rem; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose .prose-intro { font-size: 18px; color: var(--text-s); line-height: 1.7; margin-bottom: 2rem; }
.prose strong { color: var(--text); }

/* =====================================================
   BLOG
   ===================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.blog-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { border-color: rgba(30,126,58,0.3); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.blog-thumb {
  aspect-ratio: 16/9;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.blog-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.blog-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-date { font-size: 12px; color: var(--text-s); letter-spacing: 0.03em; }
.blog-card h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); margin: 0; line-height: 1.35; }
.blog-card p { font-size: 14px; color: var(--text-s); line-height: 1.6; margin: 0; flex: 1; }
.blog-card .blog-link { font-size: 13px; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }
.blog-card .blog-link::after { content: '→'; }

/* =====================================================
   REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .hero-logo-img { animation: none; }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 980px) {
  nav ul { display: none; }
  .burger { display: inline-flex; align-items: center; }
  nav.open ul {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; left: 16px; right: 16px; top: 60px;
    background: rgba(250,247,244,0.98); border: 1px solid rgba(0,0,0,0.08);
    padding: 12px; border-radius: var(--radius-lg);
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  }
  nav.open ul li { width: 100%; }
  nav.open ul a { display: block; padding: 10px 12px; }

  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card-stack { display: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.flip { direction: ltr; }
  .steps-grid { grid-template-columns: 1fr; gap: 0; }
  .steps-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 16px 0; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
  .about-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .container { padding: 0 20px; }
  h2 { font-size: 32px; }
  .hero h1 { font-size: 40px; }
  .hero { padding: 64px 0 48px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .hero-logo-img { width: 200px; }
  .card-grid.cols-3, .card-grid.cols-2, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .steps-grid.cols-4 { grid-template-columns: 1fr; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .blog-grid { grid-template-columns: 1fr; }
}
