/* Klimanora — shared stylesheet (self-hosted, no external CDN) */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: oklch(98% 0.006 230);
  font-family: 'Manrope', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: oklch(22% 0.02 255);
}

a { color: inherit; text-decoration: none; }
a.kn-link:hover { color: oklch(55% 0.16 255); }

img { max-width: 100%; }

button { font-family: inherit; }
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid oklch(55% 0.16 255);
  outline-offset: 2px;
}

input, textarea, select { font-family: 'Manrope', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
input:focus, textarea:focus, select:focus { border-color: oklch(55% 0.16 255) !important; }

button[disabled] { opacity: 0.55; cursor: not-allowed !important; }

.kn-legalnav a:hover { background: oklch(96% 0.012 230); }

/* mobile nav panel: hidden by default on desktop, toggled via JS on mobile */
.kn-mobilepanel { display: none; }
.kn-mobilepanel.is-open { display: flex; }

/* cookie banner + toast transitions */
.kn-cookiebanner, .kn-toast { animation: kn-fade-in 0.2s ease-out; }
@keyframes kn-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* form field error state */
.kn-field-error { border-color: oklch(55% 0.18 25) !important; }
.kn-form-msg { font-size: 13px; color: oklch(55% 0.18 25); margin-top: -6px; }

/* ===== Responsive rules (union of all pages) ===== */
@media (max-width: 900px) {
  .kn-nav { display: none !important; }
  .kn-burger { display: flex !important; }
  .kn-hero-grid { grid-template-columns: 1fr !important; }
  .kn-services-grid { grid-template-columns: 1fr 1fr !important; }
  .kn-footer-grid { grid-template-columns: 1fr 1fr !important; }
  .kn-2col { grid-template-columns: 1fr !important; }
  .kn-formrow { grid-template-columns: 1fr !important; }
  .kn-cartgrid { grid-template-columns: 1fr !important; }
}

@media (max-width: 980px) {
  .kn-shopgrid { grid-template-columns: 1fr 1fr !important; }
  .kn-blogindex { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 860px) {
  .kn-legalgrid { grid-template-columns: 1fr !important; }
  .kn-legalnav { position: static !important; }
}

@media (max-width: 700px) {
  .kn-teamgrid { grid-template-columns: 1fr 1fr !important; }
  .kn-4col { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 560px) {
  .kn-services-grid { grid-template-columns: 1fr !important; }
  .kn-footer-grid { grid-template-columns: 1fr !important; }
  .kn-shopgrid { grid-template-columns: 1fr !important; }
  .kn-blogindex { grid-template-columns: 1fr !important; }
}

@media print {
  header, footer, .kn-cookiebanner { display: none !important; }
}
