/* --- RESET & NORMALIZE --- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
*, *:before, *:after { box-sizing: border-box; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F1F8F3;
  color: #1E2724;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  appearance: none;
}
button { cursor: pointer; }

/* --- SCANDINAVIAN BRAND VARIABLES --- */
:root {
  --color-primary: #255C36;
  --color-secondary: #9BCC75;
  --color-accent: #F1F8F3;
  --color-dark: #1E2724;
  --color-light: #FFFFFF;
  --color-grey: #E3ECD6;
  --color-border: #E1E5DF;
  --header-font: 'Montserrat', Arial, sans-serif;
  --body-font: 'Roboto', Arial, sans-serif;
}

/* --- LAYOUT CONTAINER --- */
.container {
  width: 100%;
  max-width: 1160px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* --- HEADER --- */
header {
  width: 100%;
  background: var(--color-light);
  box-shadow: 0 2px 12px rgba(38, 71, 56, 0.06);
  position: sticky;
  top: 0; left: 0; z-index: 120;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
}
header img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: var(--header-font);
  font-size: 16px;
  color: var(--color-dark);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 4px 0;
  transition: color 0.15s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-primary);
}

.cta.primary {
  background: var(--color-primary);
  color: #fff;
  font-family: var(--header-font);
  font-size: 18px;
  border-radius: 32px;
  padding: 12px 34px;
  box-shadow: 0 2px 16px rgba(38,71,56,0.08);
  margin-left: 12px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  font-weight: 700;
  border: none;
  display: inline-block;
  outline: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: #1A4127;
  box-shadow: 0 4px 20px rgba(38,71,56,0.14);
  transform: translateY(-2px) scale(1.04);
}
.cta {
  background: var(--color-secondary);
  color: var(--color-dark);
  font-family: var(--header-font);
  font-size: 17px;
  border-radius: 32px;
  padding: 11px 28px;
  box-shadow: 0 2px 16px rgba(156,188,117,0.09);
  font-weight: 600;
  border: none;
  display: inline-block;
  margin-top: 16px;
  transition: background 0.18s, color 0.13s, box-shadow 0.2s, transform 0.14s;
}
.cta:hover, .cta:focus {
  background: #AEDD86;
  color: var(--color-primary);
  box-shadow: 0 5px 22px rgba(106,150,70,0.11);
  transform: translateY(-2px) scale(1.03);
}

/* --- MOBILE HEADER --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--color-primary);
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.14s;
  z-index: 150;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-grey);
}

@media (max-width: 1020px) {
  header .container {
    padding: 14px 12px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- MOBILE MENU SIDEBAR --- */
.mobile-menu {
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 39, 36, 0.15);
  transition: opacity 0.4s, visibility 0.4s, transform 0.4s;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.mobile-menu nav.mobile-nav {
  background: var(--color-light);
  height: 100vh;
  width: 90vw;
  max-width: 340px;
  position: fixed;
  top: 0; left: 0;
  padding: 36px 28px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateX(-100%);
  box-shadow: 6px 0 32px 0 rgba(46, 71, 50, 0.11);
  transition: transform 0.36s cubic-bezier(.6, .04, .46, 1.4);
}
.mobile-menu.open nav.mobile-nav {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  position: absolute;
  top: 20px; right: 20px;
  font-size: 2.1rem;
  color: var(--color-primary);
  border-radius: 5px;
  z-index: 2200;
  transition: background 0.15s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--color-grey);
}
.mobile-nav a {
  color: var(--color-primary);
  font-family: var(--header-font);
  font-size: 19px;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 9px;
  transition: background 0.17s, color 0.16s;
  margin-right: 0;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--color-grey);
  color: #356544;
}

@media (max-width: 425px) {
  .mobile-menu nav.mobile-nav {
    max-width: 99vw;
    padding: 28px 10px 0 12px;
  }
}

/* --- MAIN SECTIONS --- */
main {
  min-height: 60vh;
  width: 100vw;
  background: var(--color-accent);
  display: flex;
  flex-direction: column;
  gap: 0;
}
section {
  background: var(--color-accent);
  border-radius: 14px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 18px 0 rgba(60, 91, 58, 0.07);
  transition: box-shadow 0.2s;
}

@media (max-width: 900px) {
  section {
    padding: 30px 10px;
    margin-bottom: 36px;
  }
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--header-font), Arial, sans-serif;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.8rem;
  line-height: 1.23;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  line-height: 1.21;
}
h4,h5,h6 {
  font-size: 1.09rem;
  margin-bottom: 6px;
}
p,
.text-section p,
li {
  font-family: var(--body-font);
  font-size: 1.02rem;
  color: var(--color-dark);
  line-height: 1.7;
  margin-bottom: 10px;
  font-weight: 400;
}
.price {
  display: inline-block;
  margin-left: 8px;
  background: var(--color-grey);
  color: var(--color-primary);
  font-size: 1rem;
  border-radius: 12px;
  padding: 4px 12px;
  font-family: var(--header-font);
  font-weight: 700;
}
ul li strong, .text-section strong {
  color: var(--color-primary);
  font-weight: 600;
}
ul {
  margin-bottom: 18px;
  list-style: disc inside;
  padding-left: 12px;
}
@media (max-width: 850px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.37rem; }
  h2 { font-size: 1.04rem; }
}

/* --- FLEXBOX LAYOUTS & SPACING --- */
.content-wrapper,
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}
.features-grid > div {
  flex: 1 1 200px;
  padding: 20px 20px 14px 20px;
  background: var(--color-light);
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(38,71,56,0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.17s;
}
.features-grid > div:hover {
  box-shadow: 0 4px 24px rgba(38,71,56,0.10);
  transform: translateY(-3px) scale(1.017);
}
.features-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 9px;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 5px;
}
.services-list > div {
  flex: 1 1 260px;
  background: var(--color-light);
  border-radius: 14px;
  padding: 24px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(38,71,56,0.045);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.17s, transform 0.14s;
}
.services-list > div:hover {
  box-shadow: 0 8px 22px rgba(38,71,56,0.13);
  transform: translateY(-5px) scale(1.02);
}
.services-list img {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-light);
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(38,71,56,0.046);
  margin-bottom: 20px;
  position: relative;
  padding: 22px 18px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .features-grid,
  .content-grid,
  .services-list,
  .card-container,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- TESTIMONIALS --- */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.testimonial-card {
  background: var(--color-light);
  color: var(--color-dark);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: 13px;
  box-shadow: 0 2px 14px 0 rgba(38,71,56,0.10);
  max-width: 95vw;
  min-width: 0;
  font-family: var(--body-font);
  font-size: 1rem;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.14s;
}
.testimonial-card p {
  color: var(--color-dark);
  font-size: 1.07rem;
  font-weight: 400;
  margin-bottom: 6px;
}
.testimonial-card em {
  font-style: italic;
  color: #528057;
  font-weight: 400;
}
.testimonial-card span {
  color: var(--color-secondary);
  font-family: var(--header-font);
  font-size: 1.02rem;
}
.testimonial-card strong {
  color: var(--color-primary);
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(38,71,56,0.21);
  transform: translateY(-3px) scale(1.012);
}

@media (max-width: 900px) {
  .testimonials {
    flex-direction: column;
    gap: 20px;
  }
}

/* --- Embedded Map --- */
.embedded-map {
  background: #e2e2e2;
  padding: 24px;
  border-radius: 8px;
  text-align: center;
  margin-top: 14px;
  margin-bottom: 12px;
}

/* --- FOOTER --- */
footer {
  width: 100vw;
  background: var(--color-grey);
  color: var(--color-primary);
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.01em;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 8px rgba(38,71,56,0.04);
  margin-top: 30px;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 30px 20px 20px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--color-primary);
  font-family: var(--header-font);
  font-size: 15px;
  padding: 4px 4px;
  font-weight: 500;
  border-radius: 5px;
  transition: background 0.14s, color 0.13s;
}
.footer-nav a:hover {
  background: var(--color-secondary);
  color: #fff;
}
.footer-contact {
  background: none;
  color: #528057;
  font-size: 0.99rem;
  line-height: 1.6;
  font-family: var(--body-font);
  text-align: left;
  padding: 0;
}
footer img {
  width: 47px; height: 47px; margin-right: 10px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 26px 8px 18px 8px;
  }
  .footer-nav {
    gap: 19px;
    margin-bottom: 6px;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FFFFFF;
  border-top: 1px solid var(--color-border);
  box-shadow: 0px -2px 24px rgba(54,97,68,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 16px 16px 16px 22px;
  z-index: 4000;
  transition: transform 0.35s, opacity 0.33s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.closed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner__text {
  font-size: 1rem;
  color: var(--color-dark);
  font-family: var(--body-font);
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  padding: 9px 16px;
  border-radius: 23px;
  font-family: var(--header-font);
  font-weight: 600;
  border: none;
  font-size: 15px;
  margin: 0 2px;
  transition: background 0.18s, color 0.13s, box-shadow 0.13s;
  cursor: pointer;
}
.cookie-banner .accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #163921;
  color: #fff;
}
.cookie-banner .reject {
  background: var(--color-grey);
  color: var(--color-primary);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #dde8d1;
  color: var(--color-dark);
}
.cookie-banner .settings {
  background: transparent;
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--color-secondary);
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 7px 15px 8px;
  }
  .cookie-banner__actions {
    gap: 8px;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(30,39,36,0.27);
  z-index: 4100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.32s;
}
.cookie-modal.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal__dialog {
  width: 99vw;
  max-width: 420px;
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 14px 40px rgba(50,84,52,0.19);
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.cookie-modal__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  justify-content: space-between;
}
.cookie-modal__title {
  font-family: var(--header-font);
  font-size: 1.3rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0;
}
.cookie-modal__close {
  font-size: 1.6rem;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  transition: background 0.13s;
  border-radius: 5px;
}
.cookie-modal__close:focus, .cookie-modal__close:hover {
  background: var(--color-grey);
}
.cookie-modal__categories {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-grey);
  border-radius: 11px;
  padding: 12px 18px;
  font-family: var(--body-font);
  font-size: 1.06rem;
  color: var(--color-dark);
}
.cookie-modal__category label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}
.cookie-modal__category input[type="checkbox"] {
  width: 1.13em;
  height: 1.13em;
  accent-color: var(--color-secondary);
  margin-right: 6px;
}
.cookie-modal__category input[disabled],
.cookie-modal__category input[disabled] + span {
  opacity: .6;
}
.cookie-modal__actions {
  margin-top: 7px;
  display: flex;
  gap: 15px;
  width: 100%;
}
.cookie-modal__actions button {
  padding: 10px 25px;
  border-radius: 21px;
  font-family: var(--header-font);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}
.cookie-modal__actions .accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-modal__actions .accept:hover, .cookie-modal__actions .accept:focus {
  background: #163921;
}
.cookie-modal__actions .reject {
  background: var(--color-grey);
  color: var(--color-primary);
}
.cookie-modal__actions .reject:hover, .cookie-modal__actions .reject:focus {
  background: #dde8d1;
}
@media (max-width: 420px) {
  .cookie-modal__dialog {
    padding: 17px 8px 10px 10px;
  }
}

/* --- GENERAL INTERACTIONS/ANIMATION --- */
a, button, .cta, .mobile-nav a, .footer-nav a {
  transition: color 0.18s, background 0.18s, box-shadow 0.2s;
}
section:focus-within, section:hover {
  box-shadow: 0 8px 34px rgba(42,66,44,0.09);
}
[tabindex]:focus, a:focus, button:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* --- FORMS (minimal for kontakt.html) --- */
input, textarea, select {
  background: var(--color-grey);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 1rem;
  color: var(--color-dark);
  width: 100%;
  margin-bottom: 14px;
  transition: border 0.16s;
}
input:focus, textarea:focus {
  border: 1.5px solid var(--color-secondary);
}

/* --- EMBEDDED RESPONSIVENESS --- */
@media (max-width: 1100px) {
  .container { max-width: 93vw; }
}
@media (max-width: 700px) {
  h1, .cta.primary { font-size: 1.19rem; }
  .container { padding: 0 7px; }
  section { padding: 15px 4px; margin-bottom: 27px; }
  .features-grid > div,
  .services-list > div,
  .card {
    padding: 13px 6px;
  }
}

/* --- UTILITY CLASSES: SPACING & ALIGN --- */
.mb-20 { margin-bottom: 20px !important; }
.mt-20 { margin-top: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }
.text-center { text-align: center !important; }

/* --- PRINT --- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  main { width: 100vw; background: #fff; }
}

/* --- END CSS --- */
