/* AeV Factoring GmbH — shared styles */
:root {
  --ink: #0f2e33;          /* deep ink-teal */
  --ink-soft: #1c454c;
  --paper: #f7f4ee;        /* warm paper */
  --paper-2: #efe9df;
  --amber: #e0892f;        /* liquidity accent */
  --amber-soft: #f2c98a;
  --teal: #2f8f8a;
  --line: #d9d1c4;
  --text: #1a2c2e;
  --muted: #5c6b6c;
  --white: #ffffff;
  --radius: 14px;
  --maxw: 1140px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* Typography */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; }
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--amber);
  display: inline-block;
  margin-bottom: 14px;
}
p.lead { font-size: 1.2rem; color: var(--ink-soft); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,244,238,0.88);
  backdrop-filter: blur(10px);
  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 .logo { width: 42px; height: 42px; }
.brand .name { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--ink); line-height: 1.05; }
.brand .name small { display: block; font-family: var(--sans); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.menu { display: flex; gap: 28px; align-items: center; }
.menu a { font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.menu a:hover { color: var(--amber); }
.btn {
  display: inline-block;
  font-weight: 600; font-size: 0.92rem;
  padding: 12px 22px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  transition: transform .15s, background .2s;
}
.btn:hover { background: var(--ink-soft); transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: #2a1604; }
.btn-amber:hover { background: #c9772326; background: #cf7a24; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Hero */
.hero { position: relative; padding: 80px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero p.lead { margin-bottom: 30px; max-width: 36ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-figure { position: relative; }
.hero-figure img { border-radius: var(--radius); height: 480px; object-fit: cover; width: 100%; box-shadow: 0 30px 60px -30px rgba(15,46,51,.45); }
.badge-24 {
  position: absolute; bottom: -26px; left: -26px;
  background: var(--white); border-radius: 18px;
  padding: 18px 22px; box-shadow: 0 20px 40px -18px rgba(15,46,51,.5);
  display: flex; align-items: center; gap: 14px;
}
.badge-24 .clock { width: 46px; height: 46px; }
.badge-24 b { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); display: block; line-height: 1; }
.badge-24 span { font-size: 0.78rem; color: var(--muted); }

/* Trust strip */
.trust { background: var(--ink); color: var(--paper-2); padding: 26px 0; }
.trust .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; align-items: center; }
.trust .stat b { font-family: var(--serif); font-size: 1.7rem; color: var(--amber-soft); display: block; }
.trust .stat span { font-size: 0.82rem; color: #b9c6c6; }

/* Sections */
section.block { padding: 84px 0; }
section.alt { background: var(--paper-2); }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px; position: relative;
}
.step .num {
  font-family: var(--serif); font-size: 2.2rem; color: var(--amber);
  line-height: 1; margin-bottom: 14px; display: block;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.95rem; color: var(--muted); }

/* Example card */
.example { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.example > div { padding: 40px; }
.example .without { background: var(--white); }
.example .with { background: var(--ink); color: var(--paper); }
.example h3 { color: inherit; margin-bottom: 18px; }
.example .with h3 { color: var(--amber-soft); }
.example ul { list-style: none; }
.example li { padding: 10px 0; border-bottom: 1px dashed rgba(0,0,0,.1); font-size: 0.98rem; }
.example .with li { border-color: rgba(255,255,255,.14); }
.example .amount { font-family: var(--serif); font-size: 2.6rem; color: var(--amber); margin: 6px 0 4px; }

/* Value cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(15,46,51,.4); }
.card .ico { width: 44px; height: 44px; margin-bottom: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.96rem; }

/* Specialties */
.specialties { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.specialties img { border-radius: var(--radius); height: 420px; object-fit: cover; width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.chip {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 18px; font-size: 0.9rem; font-weight: 500; color: var(--ink-soft);
}

/* Services list */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service { display: flex; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.service .ico { width: 40px; height: 40px; flex-shrink: 0; }
.service h3 { margin-bottom: 6px; }
.service p { color: var(--muted); font-size: 0.95rem; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--paper); border-radius: 22px; padding: 56px; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--paper); margin-bottom: 14px; }
.cta-band p { color: #b9c6c6; max-width: 50ch; margin: 0 auto 28px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list .ico { width: 38px; height: 38px; flex-shrink: 0; }
.contact-list b { display: block; color: var(--ink); }
.contact-list a { color: var(--amber); font-weight: 600; }
.map-card { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 36px; }
.map-card h3 { color: var(--amber-soft); margin-bottom: 14px; }
.map-card address { font-style: normal; line-height: 1.9; color: #cdd9d9; }

/* Legal pages */
.legal { padding: 70px 0; }
.legal .wrap { max-width: 820px; }
.legal h1 { margin-bottom: 10px; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.5rem; margin: 38px 0 12px; }
.legal h3 { margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }

/* Footer */
.site-footer { background: var(--ink); color: #b9c6c6; padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer .brand .name, .site-footer .brand .name small { color: var(--paper); }
.site-footer .brand .name small { color: #8fa3a3; }
.site-footer p { font-size: 0.92rem; margin-top: 16px; max-width: 32ch; }
.footer-col h4 { color: var(--paper); font-family: var(--sans); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.92rem; padding: 6px 0; color: #b9c6c6; transition: color .2s; }
.footer-col a:hover { color: var(--amber-soft); }
.footer-col address { font-style: normal; font-size: 0.92rem; line-height: 1.9; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.84rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .specialties, .contact-grid, .example { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cards, .services { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-figure { order: -1; }
  .hero-figure img { height: 320px; }
  .menu { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--paper); flex-direction: column; padding: 18px 24px; gap: 6px; border-bottom: 1px solid var(--line); }
  .menu.open { display: flex; }
  .menu a { padding: 10px 0; width: 100%; }
  .menu-toggle { display: block; }
  .cta-band { padding: 40px 24px; }
  .example .amount { font-size: 2rem; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; animation: none !important; transition: none !important; }
}
