/* CSS RESET & BASE STYLES */
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,
b, 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, 
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;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F7F7F5;
  color: #283F4E;
  line-height: 1.5;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #283F4E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C9A063;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #283F4E;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, ul, ol {
  margin-bottom: 14px;
  font-size: 1rem;
}
strong, b {
  font-weight: 700;
}

/* BRAND COLORS */
:root {
  --color-primary: #283F4E;
  --color-secondary: #C9A063;
  --color-accent: #F7F7F5;
  --color-dark: #1b2630;
  --color-light: #ffffff;
  --color-gray: #e6e7e5;
}

/* CONTAINER & LAYOUT BASE */
.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* SECTION SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(40, 63, 78, 0.04);
}
section:last-of-type {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  section {
    padding: 30px 8px;
    margin-bottom: 32px;
  }
}

/* HEADER & NAVIGATION */
header {
  background: var(--color-light);
  box-shadow: 0 2px 16px rgba(40,63,78,0.05);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 4px 0;
  position: relative;
  color: var(--color-primary);
}
nav a:after {
  content: '';
  display: block;
  margin: 2px auto 0 auto;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width 0.2s;
}
nav a:hover:after, nav a:focus:after {
  width: 70%;
}
nav a.active {
  color: var(--color-secondary);
}
.button-primary {
  background: var(--color-primary);
  color: var(--color-light);
  border-radius: 30px;
  padding: 12px 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 2px 20px rgba(40,63,78,0.07);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  margin-left: 10px;
  margin-right: 10px;
  display: inline-block;
  border: 2px solid transparent;
}
.button-primary:hover,
.button-primary:focus {
  background: var(--color-secondary);
  color: var(--color-dark);
  box-shadow: 0 4px 20px rgba(201,160,99, 0.10);
  border-color: var(--color-secondary);
}
.button-secondary {
  background: var(--color-secondary);
  color: var(--color-light);
  border-radius: 30px;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  border: 2px solid transparent;
  box-shadow: 0 2px 10px rgba(40,63,78,0.06);
  display: inline-block;
}
.button-secondary:hover,
.button-secondary:focus {
  background: var(--color-primary);
  color: var(--color-light);
  border-color: var(--color-primary);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: var(--color-light);
  color: var(--color-primary);
  font-size: 2rem;
  border-radius: 8px;
  padding: 4px 12px;
  margin-left: 10px;
  z-index: 101;
  line-height: 1;
  border: 2px solid var(--color-gray);
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-gray);
}
.mobile-menu {
  display: none;
}
@media (max-width: 980px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Mobile menu overlay logic (visibly toggled via JS, here only the style) */
.mobile-menu.active {
  display: flex;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1001;
  background: rgba(40, 63, 78, 0.97);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.77,0,.18,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  color: var(--color-light);
  font-size: 2.1rem;
  border: none;
  margin: 18px 0 0 18px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 48px 32px 0 38px;
}
.mobile-nav a {
  font-size: 1.35rem;
  color: var(--color-light);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}
@media (max-width: 980px) {
  .button-primary {
    display: none;
  }
}
@media (max-width: 768px) {
  .mobile-nav {
    padding: 56px 20px 0 22px;
    gap: 22px;
  }
  .mobile-menu-close {
    font-size: 2rem;
    margin: 10px 0 0 8px;
  }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, #F7F7F5 80%, #C9A063 120%);
  min-height: 350px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding: 48px 0 40px 0;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  gap: 0;
}
.hero .content-wrapper {
  max-width: 700px;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.5rem;
  margin-bottom: 18px;
}
.hero p {
  color: #434A54;
  margin-bottom: 22px;
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hero {
    border-radius: 12px;
    min-height: 0;
    padding: 36px 0 28px 0;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
}

/* FEATURE GRID & REPEATABLE FLEX LAYOUTS */
.feature-grid, .service-cards, .service-details-grid, .project-list, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-item {
  /* For Scandinavian: light card, shadow, simple */
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 1px 9px rgba(40,63,78, 0.05);
  padding: 26px 20px 18px 20px;
  min-width: 230px;
  max-width: 260px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.feature-item:hover {
  box-shadow: 0 2px 15px rgba(40,63,78,0.11);
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 5px;
  opacity: 0.90;
}
.feature-item h3 {
  font-size: 1.08rem;
  margin-bottom: 4px;
}

@media (max-width: 990px) {
  .feature-grid, .service-cards, .service-details-grid, .project-list, .testimonial-list {
    gap: 20px;
  }
  .feature-item, .service-card, .service-detail-item {
    min-width: 170px;
    max-width: 100%;
    flex: 1 1 100%;
  }
}
@media (max-width: 600px) {
  .feature-grid, .service-cards, .service-details-grid, .project-list, .testimonial-list {
    flex-direction: column;
    gap: 18px;
  }
}

/* SERVICES / CARDS */
.service-card, .service-detail-item {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 1px 14px rgba(40,63,78, 0.055);
  padding: 28px 18px 18px 18px;
  flex: 1 1 220px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  transition: box-shadow 0.16s, transform 0.18s;
  margin-bottom: 20px;
}
.service-card img, .service-detail-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 5px;
  opacity: 0.90;
}
.service-card:hover, .service-detail-item:hover {
  box-shadow: 0 4px 20px rgba(40,63,78, 0.09);
  transform: translateY(-5px) scale(1.017);
}

/* CTA BOX */
.cta-box {
  background: var(--color-primary);
  color: var(--color-light);
  padding: 38px 26px;
  border-radius: 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-shadow: 0 2px 18px rgba(40,63,78,0.08);
  text-align: center;
}
.cta-box h2 {
  color: var(--color-light);
}

/* TESTIMONIALS */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
}
.testimonial-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(40,63,78,0.06);
  padding: 20px 26px;
  flex: 1 1 340px;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  color: #283F4E;
  margin-bottom: 20px;
  min-width: 220px;
  transition: box-shadow 0.17s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px rgba(40,63,78,0.13);
  transform: translateY(-4px) scale(1.018);
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #283F4E;
  font-style: italic;
}
.testimonial-meta span {
  font-weight: 700;
  color: var(--color-secondary);
  font-size: 0.98rem;
}
@media (max-width: 600px) {
  .testimonial-list {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 18px 13px;
  }
}

/* PROJECT REFERENCES (REFERENZEN) */
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.project-item {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 9px rgba(40,63,78, 0.045);
  padding: 26px 20px 18px 20px;
  flex: 1 1 320px;
  min-width: 220px;
  max-width: 520px;
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .project-list {
    flex-direction: column;
    gap: 16px;
  }
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.faq-item h2 {
  font-size: 1.2rem;
  margin-bottom: 7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
}
.faq-item p {
  font-size: 1rem;
}
.quick-contact-teaser {
  background: #FFF8ED;
  border-radius: 12px;
  padding: 16px 24px;
  margin-top: 14px;
  box-shadow: 0 1px 6px rgba(201,160,99,0.07);
  font-size: 1.05rem;
}
.quick-contact-teaser a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.18s;
}
.quick-contact-teaser a:hover, .quick-contact-teaser a:focus {
  color: var(--color-secondary);
}

/* CONTACT SECTION */
.contact-section {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 16px 0;
  align-items: flex-start;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1.1rem;
}
.info-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 1.05rem;
  margin-top: 14px;
  color: var(--color-primary);
}
@media (max-width: 600px) {
  .contact-section {
    padding: 6px 0;
  }
}

/* LEGAL SECTION */
.legal-section {
  background: #FFF;
  border-radius: 15px;
  padding: 28px 18px 18px 18px;
  box-shadow: 0 1px 12px rgba(40,63,78, 0.045);
  margin-bottom: 20px;
}
.legal-section h2 {
  font-size: 1.11rem;
  margin-top: 20px;
  margin-bottom: 7px;
}
.legal-section ul {
  margin-bottom: 12px;
  padding-left: 20px;
  list-style: disc;
  color: #283F4E;
}
.legal-section li {
  margin-bottom: 6px;
}

/* THANK YOU SECTION */
.thankyou-section {
  background: #FFF;
  border-radius: 18px;
  padding: 38px 28px 26px 28px;
  box-shadow: 0 2px 18px rgba(40,63,78,0.088);
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}
.thankyou-section .next-steps {
  background: #F7F7F5;
  border-radius: 12px;
  padding: 18px 12px;
  max-width: 440px;
  margin: 0 auto 10px auto;
  color: #283F4E;
}
.thankyou-section .next-steps h2 {
  font-size: 1.07rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}
.thankyou-section ul {
  list-style: disc inside;
  text-align: left;
  padding-left: 16px;
  font-size: 1.02rem;
}

@media (max-width: 600px) {
  .thankyou-section {
    padding: 16px 7px 14px 7px;
    gap: 16px;
  }
}

/* FOOTER */
footer {
  background: var(--color-accent);
  margin-top: 20px;
  padding: 0;
  color: var(--color-primary);
}
.footer-main {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  flex-wrap: wrap;
  padding: 24px 0 12px 0;
  border-bottom: 1px solid #E2E0D8;
}
.footer-main img {
  height: 40px;
  width: auto;
  margin-right: 20px;
}
.footer-main nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-main nav a {
  color: #64707B;
  font-size: 1rem;
  margin-bottom: 6px;
  transition: color 0.16s;
}
.footer-main nav a:hover,
.footer-main nav a:focus {
  color: var(--color-secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.99rem;
}
.footer-contact img {
  width: 17px;
  height: 17px;
  vertical-align: middle;
  margin-right: 8px;
}

.footer-bottom {
  text-align: center;
  font-size: 0.93rem;
  color: #B6B6B2;
  padding: 12px 0;
}
@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    gap: 18px;
    padding: 18px 0 10px 0;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 10001;
  background: #FFF1D9;
  color: #283F4E;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 20px rgba(40,63,78,0.09);
  padding: 24px 14px 18px 14px;
  width: 100%;
  gap: 18px;
  font-size: 1rem;
  transition: transform 0.27s;
}
.cookie-banner.hide {
  transform: translateY(200%);
}
.cookie-banner__buttons {
  display: flex;
  gap: 14px;
  margin-top: 3px;
}
.cookie-btn {
  padding: 8px 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 30px;
  font-size: 1rem;
  margin-right: 2px;
  font-weight: 500;
  border: none;
  box-shadow: 0 1px 8px rgba(40,63,78,0.06);
  transition: background 0.18s, color 0.17s;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: var(--color-light);
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: var(--color-primary);
  color: var(--color-light);
}
.cookie-btn.reject {
  background: #e6e7e5;
  color: #283F4E;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #d5cdbf;
  color: #283F4E;
}
.cookie-btn.settings {
  background: #f7f7f5;
  color: #283F4E;
  border: 1.5px solid var(--color-secondary);
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: var(--color-secondary);
  color: var(--color-light);
  border-color: var(--color-secondary);
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  z-index: 10003;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(40,63,78, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: opacity 0.26s cubic-bezier(.42,0,.59,0.97);
  opacity: 1;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal__inner {
  background: #FFF;
  color: #283F4E;
  border-radius: 18px;
  max-width: 420px;
  width: 92vw;
  padding: 36px 26px 22px 26px;
  box-shadow: 0 8px 50px rgba(40,63,78,0.16);
  display: flex;
  flex-direction: column;
  gap: 17px;
  font-size: 1rem;
}
.cookie-modal__close {
  background: none;
  border: none;
  color: #283F4E;
  font-size: 2rem;
  align-self: flex-end;
  margin: -8px -6px 0 0;
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-switch {
  width: 38px;
  height: 20px;
  border-radius: 12px;
  background: #E2E0D8;
  position: relative;
  transition: background 0.18s;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-switch input {
  appearance: none;
  width: 100%;
  height: 100%;
  margin: 0;
  position: absolute; left: 0; top: 0;
  z-index: 2;
  opacity: 0;
  cursor: pointer;
}
.cookie-switch .slider {
  position: absolute;
  left: 2px; top: 2px;
  height: 16px; width: 16px;
  background: #FFF;
  border-radius: 50%;
  transition: left 0.19s cubic-bezier(.8,0,.2,1);
}
.cookie-switch input:checked ~ .slider {
  left: 20px;
  background: var(--color-secondary);
}
.cookie-switch input:checked ~ .slider {
  box-shadow: 0 0 0 2px var(--color-secondary);
}
.cookie-switch input:checked ~ .cookie-switch {
  background: var(--color-secondary);
}
.cookie-category.essential .cookie-switch {
  background: #ddd4c2;
}
.cookie-category.essential label {
  font-weight: bold;
  color: #283F4E;
}
.cookie-category.essential .cookie-switch,
.cookie-category.essential .slider {
  opacity: 0.65;
  pointer-events: none;
}

.cookie-modal__actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 9px;
}

@media (max-width: 530px) {
  .cookie-modal__inner {
    padding: 16px 7px 12px 7px;
    font-size: 0.96rem;
    max-width: 96vw;
  }
}

/* UTILITY & FLUID SPACE */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-section { gap: 13px !important; }
.faq-teaser {
  margin-top: 20px;
  background: #FFF8ED;
  border-radius: 9px;
  padding: 11px 18px;
  color: #283F4E;
  box-shadow: 0 1px 5px rgba(201,160,99,0.06);
}

/* MISC, IMAGE/ICON SPACING */
.address-map {
  font-size: 0.97rem;
  color: #888;
}

/* ADAPTIVE FLEX WRAPS AND DIRECTION */
@media (max-width: 800px) {
  .content-wrapper, .feature-grid, .service-cards, .service-details-grid, .project-list, .testimonial-list {
    flex-direction: column;
    gap: 16px;
  }
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  position: relative;
  margin-bottom: 20px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* MICRO-INTERACTIONS */
.button-primary, .button-secondary,
.cookie-btn {
  transition: background 0.15s, color 0.13s, box-shadow 0.14s, border 0.13s;
}
.card, .feature-item, .service-card, .service-detail-item, .testimonial-card, .project-item {
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .feature-item:hover, .service-card:hover, .service-detail-item:hover, .testimonial-card:hover, .project-item:hover {
  box-shadow: 0 6px 28px rgba(40,63,78,0.11);
  transform: translateY(-3px) scale(1.011);
}

/* ACCESSIBILITY: Focus states for accessibility */
a:focus, .button-primary:focus, .button-secondary:focus, .cookie-btn:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Hide scroll for modal and mobile-menu open */
body.menu-open, body.cookie-modal-open {
  overflow: hidden;
}

/* --- END STYLE --- */
