/* RESET & BASE TYPOGRAPHY */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #222;
  min-height: 100vh;
  line-height: 1.58;
  font-size: 1rem;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #1B5E20;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  line-height: 1.17;
}
h2 {
  font-size: 1.65rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.23rem;
  margin-bottom: 10px;
  font-weight: 700;
}
p, ul, ol {
  margin-bottom: 16px;
  font-size: 1rem;
}
ul, ol {
  padding-left: 20px;
}
a {
  color: #1565C0;
  text-decoration: none;
  font-weight: 500;
  transition: color .18s linear;
}
a:hover, a:focus {
  color: #1B5E20;
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 28px -4px rgba(21,101,192,0.08), 0 1.5px 6px 0 rgba(27,94,32,0.08);
  padding: 28px 22px 28px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.20s cubic-bezier(.66,.28,.52,1), transform 0.16s cubic-bezier(.66,.28,.52,1);
  min-width: 270px;
  flex: 1 1 270px;
}
.card:hover {
  box-shadow: 0 12px 38px -8px rgba(21,101,192,0.22), 0 3px 12px 0 rgba(27,94,32,0.15);
  transform: translateY(-5px) scale(1.025);
}

.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #f4f6fa;
  border-left: 5px solid #1565C0;
  border-radius: 18px;
  box-shadow: 0 1.5px 8px 0 rgba(21,101,192,0.06); 
}
.testimonial-card p {
  margin-bottom: 4px;
  color: #1B5E20;
  font-style: italic;
  font-size: 1.08rem;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #1565C0;
  font-weight: 700;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 12px;
}
.feature-grid div {
  background: #fffbe6;
  border-radius: 18px;
  box-shadow: 0 3px 12px 0 rgba(211,199,138,0.10);
  padding: 26px 20px;
  flex: 1 1 240px;
  min-width: 210px;
  text-align: left;
  position: relative;
  margin-bottom: 6px;
  transition: box-shadow 0.17s linear, transform .12s;
}
.feature-grid div:hover {
  box-shadow: 0 7px 24px 0 rgba(27,94,32,0.13);
  transform: translateY(-4px) scale(1.017);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  filter: hue-rotate(-18deg) contrast(1.1) saturate(1.3);
}

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

/* HEADER, NAV BAR */
header {
  background: #fff;
  box-shadow: 0 2px 15px 0 rgba(27,94,32,0.06);
  z-index: 27;
  position: sticky;
  top: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px 14px 20px;
  width: 100%;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.03rem;
  color: #222;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 7px;
  transition: background 0.16s, color 0.18s;
}
.main-nav a.cta-btn {
  background: #1565C0;
  color: #fff;
  margin-left: 18px;
  box-shadow: 0 2px 8px 0 rgba(13,71,161,0.09);
  padding: 9px 20px;
  border-radius: 22px 7px 22px 7px;
  font-size: 1.08rem;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.03em;
}
.main-nav a.cta-btn::after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: -10%;
  width: 120%;
  height: 150%;
  background: rgba(211,199,138,0.28);
  border-radius: 38% 60% 32% 68%;
  opacity: 0.18;
  transform: translateY(-50%) rotate(-6deg);
  pointer-events: none;
  z-index: 1;
}
.main-nav a.cta-btn:hover,
.main-nav a.cta-btn:focus {
  background: #1B5E20;
  color: #fff;
}
.main-nav a:hover, .main-nav a:focus {
  background: #EAF2E3;
  color: #1B5E20;
}
.main-nav img {
  max-height: 40px;
  margin-right: 16px;
  margin-bottom: 0;
}

.button, .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1565C0;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 12px 28px;
  border: none;
  border-radius: 22px 8px 18px 8px;
  margin-top: 8px;
  cursor: pointer;
  box-shadow: 0 3px 12px 0 rgba(21,101,192,0.09);
  position: relative;
  transition: background .18s, box-shadow .18s, transform .14s;
  outline: none;
}
.button:hover, .cta-btn:hover, .button:focus, .cta-btn:focus {
  background: #1B5E20;
  color: #fff;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 9px 36px -10px rgba(21,101,192,0.13);
}
.button:active, .cta-btn:active {
  background: #0D47A1;
  color: #fff;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: #EAF2E3;
  color: #1B5E20;
  border: none;
  font-size: 2.2rem;
  padding: 6px 14px 4px 14px;
  border-radius: 8px;
  cursor: pointer;
  margin: 7px;
  transition: background 0.14s;
  z-index: 49;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #D3C78A;
  color: #1565C0;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: #fffbe6;
  box-shadow: -6px 0 30px 0 rgba(211,199,138,0.13);
  z-index: 99;
  transform: translateX(100%);
  transition: transform .36s cubic-bezier(.59,.07,.45,.99);
  display: flex;
  flex-direction: column;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 20px 0 0;
  font-size: 2.35rem;
  background: none;
  border: none;
  color: #1565C0;
  cursor: pointer;
  z-index: 101;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #1B5E20;
  background: #D3C78A;
  border-radius: 7px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 23px;
  padding: 34px 34px 0 34px;
  margin-top: 26px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.22rem;
  color: #1B5E20;
  font-weight: 700;
  padding: 14px 0 9px 0;
  letter-spacing: 0.015em;
  border-radius: 6px;
  transition: background .12s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #D3C78A;
  color: #0D47A1;
}

/* FOOTER */
footer {
  background: #EAF2E3;
  padding: 46px 0 28px 0;
  font-size: 1rem;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 20px 0 10px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  color: #1565C0;
  font-weight: 500;
}
.footer-menu a {
  color: #1565C0;
  padding: 6px 0;
  transition: color .13s;
  border-radius: 6px;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: #1B5E20;
  background: #fffbe6;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
}
.social-links img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  transition: box-shadow .16s, filter .18s;
  box-shadow: 0 1px 4px 0 rgba(21,101,192,0.08);
}
.social-links a:hover img {
  filter: brightness(1.22) saturate(1.33) hue-rotate(-10deg);
  box-shadow: 0 3px 12px 0 rgba(13,71,161,0.17);
}
footer img {
  max-width: 50px;
  margin-bottom: 10px;
}
footer p {
  color: #1B5E20;
  margin-bottom: 0;
  font-size: 1.01rem;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fffbe6;
  border-top: 3.5px solid #1565C0;
  color: #222;
  box-shadow: 0 -4px 32px 0 rgba(146,160,60,0.09);
  padding: 28px 20px 22px 20px;
  z-index: 111;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  font-size: 1.08rem;
  animation: cookieBannerIn 0.55s cubic-bezier(.62,.24,.44,1.16);
}
@keyframes cookieBannerIn {
  0% { opacity: 0; transform: translateY(38px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 4px;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 11px 6px 18px 7px;
  cursor: pointer;
  padding: 10px 26px;
  transition: background .13s, color .12s, box-shadow .16s;
  box-shadow: 0 1.5px 6px 0 rgba(211,199,138,0.13);
  margin-bottom: 0;
}
.cookie-banner .accept {
  background: #1B5E20;
  color: #fff;
}
.cookie-banner .accept:hover { background: #1565C0; }
.cookie-banner .reject {
  background: #fff;
  color: #1B5E20;
  border: 1.4px solid #1B5E20;
}
.cookie-banner .reject:hover { background: #fffbe6; color: #0D47A1; }
.cookie-banner .settings {
  background: #D3C78A;
  color: #222;
}
.cookie-banner .settings:hover { background: #1565C0; color: #fff; }

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27,94,32,0.16);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .21s;
}
.cookie-modal {
  width: 94vw;
  max-width: 410px;
  background: #fffbe6;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(21,101,192,0.17);
  padding: 38px 28px 28px 28px;
  position: relative;
  font-size: 1.06rem;
  color: #222;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookieModalIn 0.45s cubic-bezier(.74,.13,.64,1.09);
}
@keyframes cookieModalIn {
  0% { opacity: 0; transform: scale(0.89) translateY(30px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  margin-bottom: 0;
  color: #1565C0;
  font-size: 1.11rem;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-modal .cookie-switch {
  width: 38px;
  height: 22px;
  background: #e0e2d1;
  border-radius: 11px;
  position: relative;
  flex-shrink: 0;
}
.cookie-modal .cookie-switch input {
  display: none;
}
.cookie-modal .cookie-switch::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #D3C78A;
  position: absolute;
  left: 1px; top: 1px;
  transition: left .18s, background .16s;
}
.cookie-modal .cookie-switch.enabled::after {
  left: 17px;
  background: #1565C0;
}
.cookie-modal .close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.60rem;
  color: #1B5E20;
  cursor: pointer;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.cookie-modal .modal-actions button {
  font-size: 1rem;
  padding: 10px 24px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1160px) {
  .container {
    max-width: 960px;
    padding-left: 13px; padding-right: 13px;
  }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .main-nav { flex-wrap: wrap; gap: 13px; }
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .footer-menu { flex-direction: column; gap: 13px; }
  .feature-grid,
  .card-container,
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}
@media (max-width: 500px) {
  html { font-size: 14px; }
  .section { padding: 24px 7px; }
  .container { padding-left: 4px; padding-right: 4px; }
  .feature-grid div,
  .card {
    min-width: 96%;
    padding: 15px 10px;
  }
  .cookie-banner { font-size: 0.99rem; padding: 15px 5px 13px 5px; }
}

/* ARTISTIC / CREATIVE STYLING ELEMENTS */
.section {
  background: linear-gradient(98deg, rgba(211,199,138,.09), rgba(13,71,161,0.021) 80%, #FFF 100%);
  border-radius: 22px 22px 42px 13px;
  box-shadow: 0 1px 7px 0 rgba(21,101,192,0.04);
}
.card, .feature-grid div, .testimonial-card {
  border-bottom: 3px solid #D3C78A;
  position: relative;
}
.card::before, .feature-grid div::before, .testimonial-card::before {
  content: '';
  display: block;
  position: absolute;
  right: 13px; bottom: 7px;
  width: 33px; height: 13px;
  background: rgba(21,101,192,0.13);
  border-radius: 38% 60% 32% 68%;
  z-index: 0;
}
.feature-grid div::after {
  content: '';
  position: absolute;
  left: -11px; top: -11px;
  width: 23px; height: 9px;
  background: rgba(211,199,138,0.18);
  border-radius: 22% 80% 22% 75%;
  z-index: 0;
  opacity: 0.77;
}

/* Artistic font flair for headings */
h1, h2, h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  text-shadow: 1.1px 2px 0 #fffbe6, 0 6px 14px rgba(13,71,161,0.07);
}

/* Artistic buttons and accent lines */
.cta-btn, .button {
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px -2px rgba(27,94,32,0.08), 0 1.5px 7px 0 rgba(21,101,192,0.08);
  border: 2.2px solid transparent;
}
.cta-btn:focus-visible, .button:focus-visible {
  outline: 3px solid #D3C78A;
  border-color: #1565C0;
}

/* Decorative playful underline for headings (creative touch) */
h2 {
  position: relative;
  display: inline-block;
  z-index: 1;
}
h2::after {
  content: '';
  display: block;
  position: absolute;
  left: 6px; bottom: -8px;
  width: 44px; height: 7px;
  background: #fffbe6;
  border-radius: 36% 60% 42% 68%;
  z-index: -1;
  opacity: 0.45;
}

/* LINKS INSIDE PARAGRAPHS */
p a, .content-wrapper a {
  transition: color .15s, border-bottom .15s;
  border-bottom: 1.7px dotted #D3C78A;
}
p a:hover, .content-wrapper a:hover {
  color: #1565C0;
  border-bottom: 2.5px solid #1B5E20;
}

/* LISTS */
ul li, ol li {
  margin-bottom: 7px;
}

/* ICONS with creative filter */
.content-wrapper img[alt^="Adress"],
.content-wrapper img[alt^="Telefon"],
.content-wrapper img[alt^="E-post"],
.content-wrapper img[alt^="Öppettider"],
.feature-grid img {
  filter: hue-rotate(-23deg) contrast(1.09) saturate(1.22) drop-shadow(0 2px 4px rgba(13,71,161,0.06));
}

/* Spacing between address/phone/email blocks in contact */
.content-wrapper > div {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
}

/* SPACING & FLEXBOX REQUIREMENTS */
/* Already addressed above, all content cards and sections have gap/min 20px margin */

/* ACCESSIBILITY ENHANCEMENTS */
:focus-visible {
  outline: 3px solid #D3C78A;
  outline-offset: 2px;
}

/* SHADOWS and ROUNDNESS */
.card, .feature-grid div, .testimonial-card {
  border-radius: 22px 17px 19px 13px;
}
.cta-btn, .button {
  border-radius: 22px 8px 18px 8px;
}

/* ARTISTIC DETAILS */
.section {
  position: relative;
  overflow: visible;
}
.section::after {
  content: '';
  position: absolute;
  right: -30px;
  bottom: -36px;
  width: 70px;
  height: 44px;
  background: rgba(27,94,32,.11);
  z-index: 0;
  border-radius: 42% 60% 60% 78%;
  opacity: 0.28;
  pointer-events: none;
}

/* PRINT STYLE MINIMAL RESET */
@media print {
  body, .container, .section, .content-wrapper { background: #fff; color: #000; }
  .header, header, .main-nav, .footer, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
}
