/* accelco GmbH – static site stylesheet
   No build step, no external dependencies. */

:root {
  --green: #0a8a3c;
  --green-dark: #06692d;
  --green-soft: #e6f4ea;
  --ink: #1b1f23;
  --ink-2: #4b5259;
  --ink-3: #7a838c;
  --line: #e3e6e9;
  --bg: #ffffff;
  --bg-2: #f5f7f8;
  --max: 1160px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 30, 40, .08);
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-2); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green); margin-bottom: .8em;
}
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 46em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: .5em 1em; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a {
  color: var(--ink); font-weight: 600; padding: 8px 12px; border-radius: 8px; font-size: .97rem;
}
.nav a:hover { background: var(--bg-2); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--green); }
.lang { display: flex; gap: 2px; margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); }
.lang a {
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--ink-3);
  padding: 6px 8px; border-radius: 6px;
}
.lang a:hover { background: var(--bg-2); text-decoration: none; color: var(--ink); }
.lang a[aria-current="true"] { color: #fff; background: var(--green); }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  border-radius: 8px; width: 44px; height: 44px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Hero ------------------------------------------------------------------ */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--green); }
.hero .lead { margin-bottom: 1.6em; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(10,138,60,.18), transparent 60%);
  pointer-events: none;
}
.tagline {
  position: absolute; left: 20px; bottom: 20px; background: rgba(255,255,255,.92);
  color: var(--green); font-weight: 700; padding: 8px 14px; border-radius: 999px; font-size: .95rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 999px; font-weight: 700;
  background: var(--green); color: #fff; border: 2px solid var(--green);
  transition: background .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); text-decoration: none; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--green); }
.btn.ghost:hover { background: var(--green-soft); }

/* Page hero (subpages) -------------------------------------------------- */
.page-hero { padding: 56px 0 24px; }
.page-hero .lead { margin-bottom: 0; }

/* Photo band ------------------------------------------------------------ */
.band {
  position: relative; height: 240px; overflow: hidden; margin: 32px 0 0;
  background-size: cover; background-position: center; isolation: isolate;
}
.band::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,105,45,.88) 0%, rgba(6,105,45,.55) 45%, rgba(6,105,45,.15) 100%);
}
.band .wrap { position: relative; height: 100%; display: flex; align-items: center; }
.band blockquote {
  margin: 0; color: #fff; font-size: clamp(1.25rem, 2.4vw, 1.8rem); font-weight: 600;
  max-width: 24em; line-height: 1.3; text-wrap: balance;
}
.band blockquote small { display: block; font-size: .95rem; font-weight: 400; opacity: .85; margin-top: .6em; }

/* Sections -------------------------------------------------------------- */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-2); }
.section-head { max-width: 46em; margin-bottom: 40px; }
.grid { display: grid; gap: 24px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: .4em 0 0; padding-left: 1.1em; color: var(--ink-2); }
.card li { margin: .2em 0; }
.card.photo { padding: 0; overflow: hidden; }
.card.photo img { width: 100%; aspect-ratio: 3 / 1.3; object-fit: cover; }
.card.photo .body { padding: 24px 28px 28px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 28px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.stat b { display: block; font-size: 2.4rem; color: var(--green); line-height: 1; margin-bottom: .3em; }
.stat span { color: var(--ink-2); font-size: .95rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.prose { max-width: 46em; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 30px; margin: .5em 0; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 13l4 4L19 7'/></svg>") center/11px no-repeat;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-weight: 800; color: var(--green); font-size: 1.6rem; margin-bottom: .4em;
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--ink-2); font-size: .97rem; margin: 0; }

/* Donut chart */
.chart { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.donut { width: 100%; max-width: 300px; margin: 0 auto; }
.legend { list-style: none; padding: 0; margin: 0; }
.legend li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.legend i { width: 14px; height: 14px; border-radius: 4px; flex-shrink: 0; }
.legend b { margin-left: auto; font-variant-numeric: tabular-nums; }

/* Client wall */
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; list-style: none; padding: 0; margin: 0; }
.clients li {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  font-size: .95rem; font-weight: 600; color: var(--ink-2); text-align: center;
}
.countries { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.countries li { background: var(--green-soft); color: var(--green-dark); padding: 6px 12px; border-radius: 999px; font-size: .9rem; font-weight: 600; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact-card dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; }
.contact-card dt { font-weight: 700; color: var(--ink-2); }
.contact-card dd { margin: 0; }
.contact-card address { font-style: normal; }
.contact-card .actions { margin-top: 24px; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; padding: 64px 0; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.88); max-width: 40em; }
.cta .btn { background: #fff; color: var(--green-dark); border-color: #fff; }
.cta .btn:hover { background: var(--green-soft); }

/* Footer */
.site-footer { background: var(--ink); color: #c9cfd4; padding: 48px 0 28px; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .8em; }
.site-footer a { color: #e8ecef; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .35em 0; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer .legal {
  grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); margin-top: 24px; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 8px 20px; color: #8e979f; font-size: .88rem;
}
.site-footer .legal a { color: #b7bfc6; }
.trademark-note {
  grid-column: 1 / -1; margin: 10px 0 0; color: #6c757d; font-size: .78rem; line-height: 1.5; max-width: 60em;
}
.footer-brand { display: inline-block; background: #fff; border-radius: 8px; padding: 8px 12px; margin-bottom: 14px; }
.footer-brand img { height: 26px; }

/* Legal pages */
.legal-page .prose h2 { font-size: 1.3rem; }
.legal-page .prose p, .legal-page .prose li { color: var(--ink-2); }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 960px) {
  .grid.cols-3, .grid.cols-4, .stats, .steps, .clients { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap, .split, .contact, .chart { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 72px; background: #fff;
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 20px 16px; gap: 2px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .lang { margin: 8px 0 0; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .stats, .steps, .clients { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .band { height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}

/* Highlight block (core competence on the home page) ------------------- */
.highlight {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--green);
  border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow);
}
.highlight h2 { margin-bottom: .5em; }
.highlight .lead { font-size: 1.05rem; }
.highlight-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.checks.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 24px; margin: 0 0 1.4em; }
.checks.cols li { font-size: .97rem; color: var(--ink-2); }
.grid.cols-4 .card { padding: 24px; }
.grid.cols-4 .card h3 { font-size: 1.05rem; }
.grid.cols-4 .card p { font-size: .95rem; color: var(--ink-2); }
@media (max-width: 960px) { .highlight { grid-template-columns: 1fr; padding: 28px; } }
@media (max-width: 720px) { .checks.cols { grid-template-columns: 1fr; } .highlight { padding: 22px; } }

/* Obfuscated e-mail: fallback text is stored reversed, CSS flips it back */
.rev { unicode-bidi: bidi-override; direction: rtl; }
.site-footer .ids { margin: 10px 0 0; font-size: .85rem; color: #8e979f; }
/* Notice callout (e.g. "AI does not generate Access files") */
.notice {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start;
  background: var(--green-soft); border: 1px solid #bfe3cb; border-radius: var(--radius); padding: 28px 32px;
}
.notice h2 { font-size: 1.35rem; margin-bottom: .4em; color: var(--green-dark); }
.notice p { margin: 0; color: var(--ink-2); }
.notice-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--green); color: #fff; display: grid; place-items: center; }
.notice-icon svg { width: 28px; height: 28px; }
.highlight .note { background: var(--green-soft); border-radius: 10px; padding: 12px 16px; font-size: .95rem; color: var(--ink-2); margin-bottom: 1.4em; }
.highlight .note strong { color: var(--green-dark); }
@media (max-width: 720px) { .notice { grid-template-columns: 1fr; padding: 22px; } }
