/* Sauenhammer — statická prezentace. Jediný stylopis, bez frameworku. */

:root {
  --bg:        #14150f;
  --bg-2:      #1b1c14;
  --surface:   #22241a;
  --ink:       #f3f1e7;
  --ink-soft:  #c3c2b2;
  --muted:     #8f8f7e;
  --loden:     #3c4a2a;
  --loden-2:   #556b39;
  --accent:    #e0761f;
  --accent-2:  #ffa24d;
  --line:      #33352a;
  --radius:    14px;
  --wrap:      1160px;
  --shadow:    0 12px 32px rgba(0,0,0,.35);
  --font:      -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.25rem); }
p  { margin: 0 0 1rem; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-title { margin-bottom: 1.75rem; font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; line-height: 1.15; }
.hero-headline { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: .5rem; font-weight: 800; line-height: 1.15; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.kicker { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; color: var(--accent-2); margin: 0 0 .75rem; }

/* Accessibility */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-block; font-weight: 700; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .2s ease, border-color .2s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { color: var(--ink); border-color: rgba(243,241,231,.4); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: #1b1c14; }
.btn-light:hover { background: #f0efe6; }
.btn-sm { padding: .55rem 1.15rem; font-size: .92rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.08rem; }
.btn-outline { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-outline:hover { border-color: var(--loden-2); background: rgba(85,107,57,.15); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20,21,15,.9);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand-logo { width: auto; height: 40px; }
.footer-logo { width: auto; height: 56px; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { color: var(--ink-soft); font-weight: 600; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); text-decoration: none; }
.langswitch { display: inline-flex; align-items: center; gap: .35rem; padding-left: 1.1rem; border-left: 1px solid var(--line); }
.langswitch .lang { color: var(--muted); font-weight: 700; font-size: .9rem; }
.langswitch .lang.is-active { color: var(--accent-2); }
.langswitch .sep { color: var(--muted); }

.navtoggle, .burger { display: none; }
.burger { flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* Hero */
.hero { position: relative; min-height: min(78vh, 640px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center 30%;
  z-index: 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,21,15,.25) 0%, rgba(20,21,15,.55) 55%, rgba(20,21,15,.96) 100%);
}
.hero-content { position: relative; z-index: 2; padding-block: clamp(2.5rem, 6vw, 4.5rem); max-width: 46rem; }
.hero-content h1 { margin-bottom: .5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* Hero banner slider (data-driven, bez JS) */
.hero-slider { position: relative; }
.hero-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide {
  position: relative; flex: 0 0 100%; scroll-snap-align: start;
  min-height: min(80vh, 660px); display: flex; align-items: flex-end; overflow: hidden;
}
.hero-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,21,15,.15) 0%, rgba(20,21,15,.5) 55%, rgba(20,21,15,.95) 100%);
}
.hero-slide-inner { position: relative; z-index: 2; padding-block: clamp(2.75rem, 6vw, 5rem); }
.hero-copy { max-width: 46rem; }
.hero-copy h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); margin-bottom: .4rem; }
.hero-copy h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); margin-bottom: .4rem; }
.hero-copy p { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--ink-soft); margin: 0; }
.hero-slide-inner .btn { margin-top: 1.7rem; }
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 1.1rem; z-index: 3;
  display: flex; gap: .55rem; justify-content: center;
}
.hero-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.45); transition: background .2s, transform .2s, width .2s; }
.hero-dot:hover { background: #fff; transform: scale(1.15); text-decoration: none; }
.hero-dot.is-active { background: #fff; width: 26px; border-radius: 6px; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  background: rgba(16,17,10,.42); color: #fff; backdrop-filter: blur(4px);
  transition: background .2s, transform .15s;
}
html.js .hero-arrow { display: inline-flex; }
.hero-arrow:hover { background: rgba(16,17,10,.72); }
.hero-arrow:active { transform: translateY(-50%) scale(.94); }
.hero-arrow--prev { left: clamp(.5rem, 2vw, 1.5rem); }
.hero-arrow--next { right: clamp(.5rem, 2vw, 1.5rem); }

/* Barevné varianty produktu */
.variant-chips { list-style: none; margin: .2rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.variant-chips .chip {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 600; color: var(--ink-soft);
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
  padding: .26rem .6rem .26rem .48rem;
}
.chip .dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); flex: 0 0 auto; }
.chip .dot--camo { background: repeating-linear-gradient(45deg, #5a5f3a 0 3px, #3c4126 3px 6px, #7a7350 6px 9px); }

/* Section head with side link */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.section-head .section-title { margin-bottom: 0; }
.link-arrow { font-weight: 700; white-space: nowrap; }

/* Showcase reuses product grid */
.showcase-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.product-cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin: 0; }
.catalog-note { margin-top: 2rem; color: var(--muted); text-align: center; }

/* Benefits */
.benefits { background: var(--bg-2); }
.benefits .section-title { margin-bottom: .55rem; max-width: 20ch; }
.benefits-lead { margin-bottom: 1.9rem; max-width: 66ch; }
.faq-section .faq { margin-top: .5rem; }
.faq-home { max-width: 820px; }
.benefit-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.benefit-grid li {
  display: flex; align-items: center; gap: .7rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.25rem; font-weight: 600;
}
.benefit-ico {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(85,107,57,.18); border: 1px solid rgba(85,107,57,.35);
  color: var(--accent-2); display: grid; place-items: center;
}
.benefit-ico svg { width: 24px; height: 24px; }

/* Product lines */
.line-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.line-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.line-card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.line-body { padding: 1.5rem 1.6rem 1.8rem; }
.line-body h3 { font-size: 1.22rem; color: var(--accent-2); line-height: 1.25; }
.line-body .link-arrow { display: inline-block; margin-top: .9rem; }
.lines-lead { margin-bottom: 1.9rem; max-width: 72ch; }

/* Stick / trust */
.stick { background: var(--loden); }
.stick-inner { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr; align-items: center; }
.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.trust li { background: rgba(0,0,0,.22); border-radius: 12px; padding: 1rem 1.25rem; text-align: center; letter-spacing: .04em; text-transform: uppercase; font-size: .95rem; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--accent) 0%, #b95a12 100%); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 2.5rem 0; }
.cta-inner h2 { margin-bottom: .25rem; }
.cta-inner p { margin: 0; opacity: .92; }

/* Page head */
.page-head { padding: clamp(2.5rem, 6vw, 4rem) 0 0; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-bottom: clamp(2rem, 5vw, 3rem); }

/* Catalog */
.catalog-cat--alt { background: var(--bg-2); }
.note-section { padding: 2.5rem 0 0; }
.product-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease, border-color .2s ease; }
.product:hover { transform: translateY(-4px); border-color: var(--loden-2); }
.product-media { position: relative; background: #fff; }
.product-media img { aspect-ratio: 1/1; object-fit: contain; padding: 1rem; width: 100%; }
.badge { position: absolute; top: .8rem; left: .8rem; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: .3rem .7rem; border-radius: 999px; }
.product-body { padding: 1.15rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product-body h3 { font-size: 1.1rem; margin: 0; }
.product-body p { color: var(--ink-soft); font-size: .95rem; margin: 0; flex: 1; }
.product-body .btn { align-self: flex-start; margin-top: .6rem; }

/* Contact */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr 1.1fr; align-items: start; }
.info-block { margin-bottom: 1.6rem; }
.info-block h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .3rem; }
.contact-social { display: flex; gap: 1.2rem; }
.patent-note { color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }

.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: .8rem .9rem; width: 100%; resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.notice { border-radius: 10px; padding: .9rem 1.1rem; font-weight: 600; margin-bottom: 1.2rem; }
.notice-ok { background: rgba(85,107,57,.25); border: 1px solid var(--loden-2); color: #d6e7bd; }
.notice-err { background: rgba(224,118,31,.16); border: 1px solid var(--accent); color: var(--accent-2); }

.error-page { border-bottom: none; padding-bottom: 4rem; }

/* Footer */
.site-footer { background: #101109; border-top: 1px solid var(--line); padding: 3rem 0 1.5rem; }
.footer-inner { display: grid; gap: 2rem; grid-template-columns: 1.6fr 1fr 1.3fr 1fr; align-items: start; }
.footer-col-title { display: block; color: var(--ink); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .3rem; }
.footer-brand p { color: var(--muted); margin: .8rem 0 0; max-width: 32ch; }
.footer-nav, .footer-social { display: flex; flex-direction: column; gap: .6rem; }
.footer-nav a, .footer-social a { color: var(--ink-soft); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* Responsive */
@media (max-width: 760px) {
  .burger { display: flex; }
  .site-nav {
    position: fixed; inset: 66px 0 auto 0; flex-direction: column; align-items: flex-start;
    gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.25rem; transform: translateY(-120%); transition: transform .28s ease;
    box-shadow: var(--shadow);
  }
  .site-nav a { padding: .75rem 0; width: 100%; border-bottom: 1px solid var(--line); }
  .navtoggle:checked ~ .site-nav { transform: translateY(0); }
  .langswitch { border-left: none; padding: .8rem 0 0; }
  .stick-inner, .contact-grid, .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* Varianty rozložení bannerů */
.hero-slide--center { align-items: center; text-align: center; }
.hero-slide--center .hero-slide-inner { display: flex; flex-direction: column; align-items: center; }
.hero-slide--center .hero-copy { max-width: 52rem; margin-inline: auto; }
.hero-slide--split { align-items: center; }
.hero-slide--split .hero-copy {
  background: rgba(16,17,10,.62); backdrop-filter: blur(6px);
  padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 18px;
  max-width: 34rem; border: 1px solid rgba(255,255,255,.08);
}

/* Textová stránka / prose */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.3rem; margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.prose p { color: var(--ink-soft); }
.prose ul { padding-left: 1.2rem; color: var(--ink-soft); }
.prose li { margin: .35rem 0; }
.prose a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.muted { color: var(--muted); }

/* Breadcrumb */
.breadcrumb { background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: .85rem; }
.breadcrumb .wrap { padding: .7rem 0; display: flex; gap: .5rem; align-items: center; color: var(--muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-soft); }

/* Landing / rádce */
.landing-inner { max-width: 820px; margin-inline: auto; }
.landing-head { margin-bottom: 1.5rem; }
.landing-hero { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.8rem; }
.landing-body { max-width: none; }
.landing-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.5rem; }

/* FAQ (bez JS – <details>) */
.faq { margin-top: 2.8rem; }
.faq > h2, .related > h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: .7rem; background: var(--surface); overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; list-style: none; position: relative; padding-right: 2.6rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.35rem; color: var(--accent-2); }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { margin: 0; padding: 0 1.2rem 1.1rem; color: var(--ink-soft); }

/* Related */
.related { margin-top: 2.8rem; }
.related-grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.related-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; font-weight: 600; color: var(--ink); transition: border-color .2s, transform .15s; }
.related-card:hover { border-color: var(--loden-2); transform: translateY(-2px); text-decoration: none; }

/* HowTo kroky */
.howto { margin-top: 2.8rem; }
.howto > h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.howto-steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.howto-steps li { position: relative; padding: 1rem 1.2rem 1rem 3.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--ink-soft); }
.howto-steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }

/* Patička – meta řádek */
.footer-meta { display: inline-flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.footer-meta a { color: var(--ink-soft); }

/* Scroll-driven reveal (progresivní vylepšení – bez podpory se prostě zobrazí) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal-up linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 22%;
    }
    @keyframes reveal-up {
      from { opacity: 0; transform: translateY(30px); }
      to   { opacity: 1; transform: none; }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .hero-track { scroll-behavior: auto; }
}

/* Inline CTA v těle článku (po prvním odstavci) */
.cta-inline { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.6rem 0; padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; }
.prose .cta-inline a { text-decoration: none; }

/* Rozcestník rádců na homepage */
.guides-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 1.6rem; }
.guide-cat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.guide-cat h3 { margin-bottom: .3rem; }
.guide-cat h3 a { color: var(--accent-2); }
.guide-cat-lead { color: var(--muted); font-size: .92rem; margin-bottom: .7rem; }
.guide-cat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.guide-cat ul a { color: var(--ink-soft); }
.guide-cat ul a:hover { color: var(--accent-2); }

/* Hub /rady – sekce kategorií a karty článků */
.rady-cat--alt { background: var(--bg-2); }
.rady-cat-lead { color: var(--muted); margin-top: -.4rem; margin-bottom: 1.4rem; }
.rady-card { display: flex; flex-direction: column; gap: .3rem; }
.rady-card strong { color: var(--ink); font-weight: 700; }
.rady-card-desc { color: var(--muted); font-weight: 400; font-size: .9rem; line-height: 1.45; }
.rady-card:hover strong { color: var(--accent-2); }
