/* ERBE konzult s.r.o. – společný vzhled webu (2026) */
:root {
  --brand: #7a0f14;
  --brand-dark: #4f0508;
  --brand-light: #a52a2a;
  --accent: #c8a15a;
  --ink: #1d1f23;
  --muted: #5b616b;
  --line: #e3e5e9;
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 20, 30, .08);
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; }

a { color: var(--brand-light); }
a:hover { color: var(--brand); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--brand); color: #fff; padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 20px; }

.logo { display: flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.logo b { font-size: 30px; letter-spacing: 1px; font-weight: 800; }
.logo b span { color: var(--brand-light); }
.logo small { font-size: 16px; font-weight: 600; color: var(--muted); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; flex-wrap: nowrap; }
.nav a {
  display: block; padding: 8px 11px; border-radius: 999px; white-space: nowrap;
  text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500;
}
@media (max-width: 1180px) { .logo small { display: none; } }
.nav a:hover { background: var(--bg-soft); color: var(--brand); }
.nav a[aria-current="page"] { background: var(--brand); color: #fff; }
.nav .nav-erbenet a { border: 1px solid var(--brand-light); color: var(--brand); }
.nav .nav-erbenet a[aria-current="page"] { color: #fff; }

.nav-toggle {
  display: none; border: 1px solid var(--line); background: #fff; border-radius: 10px;
  padding: 8px 12px; font: inherit; font-size: 15px; cursor: pointer; color: var(--ink);
}

@media (max-width: 1000px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 70px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 10px 20px 16px; }
  .nav a { border-radius: 10px; padding: 10px 12px; }
}

/* ---------- Úvodní pás ---------- */
.hero {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 55%, var(--brand-light) 100%);
  color: #fff;
  padding: 72px 0 64px;
}
.hero.small { padding: 48px 0 40px; }
.hero h1 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; margin: 0 0 14px; }
@media (min-width: 1000px) { .hero h1 { white-space: nowrap; } }
.hero p.lead { font-size: clamp(17px, 2vw, 21px); max-width: 760px; margin: 0 0 26px; opacity: .93; }
.hero .eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 700; color: var(--accent); margin: 0 0 10px; }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600;
  text-decoration: none; border: 2px solid transparent; transition: transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { color: var(--brand-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { color: #fff; background: var(--brand-dark); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Sekce ---------- */
section { padding: 64px 0; }
section.soft { background: var(--bg-soft); }
h2 { font-size: clamp(25px, 3vw, 34px); line-height: 1.2; margin: 0 0 14px; }
h3 { font-size: 20px; margin: 0 0 8px; }
.section-intro { color: var(--muted); max-width: 760px; margin: 0 0 32px; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card p { margin: 0 0 10px; color: var(--muted); }
a.card { display: block; text-decoration: none; color: inherit; transition: transform .15s ease, border-color .15s ease; }
a.card:hover { transform: translateY(-3px); border-color: var(--brand-light); }
a.card .more { color: var(--brand-light); font-weight: 600; font-size: 15px; }

.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: #f7e9e9; color: var(--brand); margin-bottom: 14px; font-size: 22px; font-weight: 700;
}

ul.check { list-style: none; padding: 0; margin: 0; }
ul.check li { position: relative; padding: 0 0 10px 30px; }
ul.check li::before {
  content: ""; position: absolute; left: 4px; top: 9px; width: 12px; height: 7px;
  border-left: 3px solid var(--brand-light); border-bottom: 3px solid var(--brand-light); transform: rotate(-45deg);
}
ul.check li small { display: block; color: var(--muted); font-size: 15px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 15px; }
.tags-links li { padding: 0; }
.tags-links a { display: block; padding: 6px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; }
.tags-links a:hover { background: #f7e9e9; color: var(--brand); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 18px; }
.stat { text-align: center; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat strong { display: block; font-size: 34px; color: var(--brand); line-height: 1.1; }
.stat span { color: var(--muted); font-size: 15px; }

/* Postup (GDPR) */
ol.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
ol.steps > li { counter-increment: step; position: relative; padding: 24px 24px 20px 78px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
ol.steps > li::before {
  content: counter(step); position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700;
}
ol.steps p { margin: 0 0 8px; color: var(--muted); }

.note { border-left: 4px solid var(--accent); background: #fffaf0; padding: 14px 18px; border-radius: 8px; color: var(--ink); }

/* ERBENET moduly */
.module h3 { display: flex; align-items: center; gap: 10px; }
.module .badge { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #f7e9e9; color: var(--brand); }

/* Kontaktní pás */
.cta { background: var(--brand-dark); color: #fff; border-radius: var(--radius); padding: 38px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; opacity: .9; }

/* ---------- Patička ---------- */
.site-footer { background: #17181b; color: #c9ccd2; padding: 48px 0 26px; font-size: 15px; }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: 16px; }
.site-footer p { margin: 0 0 6px; }
.site-footer .copy { border-top: 1px solid #2c2e33; margin-top: 30px; padding-top: 18px; font-size: 14px; color: #8d929b; }

@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .logo small { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  section { padding: 46px 0; }
  .card, .cta { padding: 22px; }
  ol.steps > li { padding: 70px 20px 18px; }
  .logo b { font-size: 24px; letter-spacing: 0; }
  .logo small { display: none; }
}

@media print {
  .site-header, .nav-toggle, .cta, .site-footer .cols { display: none; }
  .hero { background: none; color: var(--ink); padding: 0 0 20px; }
  .card { box-shadow: none; }
}
