/*--- 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #1A2C3C;
  background: #F4F3EF;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F4F3EF;
  color: #1A2C3C;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #1A2C3C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #BDA97F;
  text-decoration: underline;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
*::selection {
  background: #BDA97F;
  color: #fff;
}

/*--- CONTAINER & SECTIONS ---*/
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.section{
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(26,44,60,0.06);
}
.content-wrapper{
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.text-section {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/*--- TYPOGRAPHY ---*/
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1A2C3C;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.12;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.75rem;
  line-height: 1.18;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.05rem;
  margin-bottom: 7px;
}
p, ul, ol {
  font-size: 1rem;
  color: #1A2C3C;
}
strong {
  font-weight: 700;
  color: #1A2C3C;
}
@media (max-width: 600px){
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.05rem; }
  .container { padding: 0 10px; }
  .section { padding: 24px 8px; }
}

/*--- HEADER & NAVIGATION ---*/
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e6e5e0;
  box-shadow: 0 1px 8px rgba(26,44,60,0.02);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 18px;
}
header img {
  height: 48px;
  width: auto;
  border-radius: 4px;
  display: block;
}
nav {
  display: flex;
  gap: 20px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #1A2C3C;
  background: none;
  border-radius: 6px;
  padding: 7px 14px;
  transition: background 0.2s, color 0.2s;
}
nav a:hover,
nav a:focus {
  background: #F4F3EF;
  color: #BDA97F;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #1A2C3C;
  font-size: 1.85rem;
  padding: 8px 12px;
  border-radius: 7px;
  cursor: pointer;
  display: none;
  margin-left: 12px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F4F3EF;
}
@media (max-width: 900px) {
  nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

/*--- MOBILE MENU ---*/
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(244,243,239,0.98);
  transform: translateX(-100%);
  z-index: 2100;
  transition: transform 0.35s cubic-bezier(.88,-0.01,.12,1.01);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 32px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #1A2C3C;
  font-size: 2.2rem;
  padding: 12px;
  cursor: pointer;
  align-self: flex-end;
  margin-right: 14px;
  margin-bottom: 10px;
  border-radius: 50%;
  transition: background 0.2s;
  z-index: 2200;
}
.mobile-menu-close:hover {
  background: #BDA97F11;
  color: #BDA97F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 15px 28px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  padding: 12px 6px;
  color: #1A2C3C;
  border-radius: 7px;
  letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #BDA97F22;
  color: #BDA97F;
}
@media (min-width: 900px){
  .mobile-menu { display: none !important; }
}

/*--- BUTTONS & CTA ---*/
.cta-button, button, .button {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  background: #1A2C3C;
  color: #fff;
  box-shadow: 0 2px 8px rgba(26,44,60,0.06);
  transition: background 0.22s, color 0.18s, box-shadow 0.21s;
  margin: 8px 0 0;
}
.cta-button.primary {
  background: #1A2C3C;
  color: #fff;
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: #BDA97F;
  color: #1A2C3C;
}
.cta-button.secondary{
  background: #BDA97F;
  color: #fff;
}
.cta-button.secondary:hover,
.cta-button.secondary:focus {
  background: #1A2C3C;
  color: #fff;
}
.button-outline {
  background: #fff;
  color: #1A2C3C;
  border: 1.5px solid #BDA97F;
}
.button-outline:hover, .button-outline:focus {
  background: #BDA97F11;
  color: #1A2C3C;
}

/*--- FLEXBOX LAYOUT COMPONENTS ---*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(26,44,60,0.07);
  padding: 28px 20px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 308px;
  min-width: 260px;
  transition: box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(26,44,60,0.13), 0 3px 12px #BDA97F22;
}
.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: 768px) {
  .content-grid,
  .feature-grid,
  .text-image-section,
  .card-container { flex-direction: column; gap: 20px; }
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div {
  flex: 1 1 288px;
  min-width: 240px;
  background: #F4F3EF;
  border-radius: 11px;
  box-shadow: 0 1px 7px rgba(26,44,60,0.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 24px 18px 20px 18px;
  transition: box-shadow 0.21s, background 0.21s;
  border: 1.5px solid #ece9e2;
}
.feature-grid > div:hover {
  box-shadow: 0 2px 18px #BDA97F29;
  background: #fff;
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 3px;
  filter: grayscale(0.08) contrast(0.94);
}
.feature-item{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*--- TESTIMONIALS ---*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(26,44,60,0.06);
  margin-bottom: 22px;
  border-left: 4px solid #BDA97F;
  min-width: 0;
}
.testimonial-card p {
  color: #1A2C3C;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.5;
}
.testimonial-card span {
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #878680;
  margin-left: auto;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 15px;
  }
  .testimonial-card span { margin-left: 0; }
}

/*--- FOOTER ---*/
footer {
  width: 100%;
  background: #fff;
  border-top: 1.5px solid #ece9e2;
  box-shadow: 0 -1px 10px rgba(26,44,60,0.035);
  padding: 0;
  margin-top: 55px;
}
footer .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  padding: 24px 12px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 9px;
}
.footer-menu a {
  font-size: 0.97rem;
  color: #8d7d5d;
  background: #F4F3EF;
  padding: 6px 12px;
  border-radius: 7px;
  transition: background 0.18s;
}
.footer-menu a:hover {
  background: #BDA97F22;
}
.footer-contact {
  font-size: 0.96rem;
  color: #878680;
  line-height: 1.5;
}
.footer-contact a {
  color: #1A2C3C;
}
@media (max-width: 625px){
  footer .container { padding: 18px 3vw; gap: 11px; }
  .footer-menu { gap: 8px; }
}

/*--- COOKIE CONSENT BANNER ---*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #1A2C3C;
  box-shadow: 0 -3px 28px #322d2550;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px 12px 24px 22px;
  z-index: 9000;
  transition: transform 0.29s cubic-bezier(.34,1.56,.64,1), opacity 0.29s;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 23px;
  background: #BDA97F;
  color: #fff;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-left: 2px;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #1A2C3C;
  color: #fff;
}
.cookie-btn.cookie-settings {
  background: #F4F3EF;
  color: #1A2C3C;
  border: 1.5px solid #BDA97F;
}
.cookie-btn.cookie-settings:hover {
  background: #BDA97F22;
  color: #1A2C3C;
}
@media (max-width: 600px){
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    font-size: 0.97rem;
    align-items: flex-start;
    padding: 14px 7px;
  }
  .cookie-banner .cookie-btns { gap: 11px; }
}

/*--- COOKIE MODAL POPUP ---*/
.cookie-modal-overlay {
  position: fixed;
  z-index: 11000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,44,60, 0.27);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 48px #1A2C3C23;
  min-width: 320px;
  max-width: 98vw;
  padding: 36px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #1A2C3C;
  font-size: 2em;
  padding: 6px 11px;
  cursor: pointer;
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 50%;
  transition: background 0.2s;
}
.cookie-modal-close:hover {
  background: #F4F3EF;
  color: #BDA97F;
}
.cookie-modal h3 {
  margin-bottom: 4px;
  font-size: 1.15rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-size: 1rem;
  color: #1A2C3C;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  margin-right: 2px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ece9e2;
  transition: background 0.19s;
  border-radius: 22px;
}
.cookie-switch input:checked + .cookie-slider {
  background: #BDA97F;
}
.cookie-slider:before {
  position: absolute;
  content: '';
  height: 17px;
  width: 17px;
  left: 3px;
  bottom: 2.5px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px #1111;
  transition: transform 0.19s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-essential-label {
  color: #878680;
  font-size: 0.97rem;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 17px;
}

/*--- ELEMENT SPACING & FLEX GAPS (MANDATORY) ---*/
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/*--- FORM ELEMENTS (for Kontakt etc.) ---*/
input[type="text"], input[type="email"], textarea {
  width: 100%;
  background: #F4F3EF;
  border: 1.5px solid #ece9e2;
  border-radius: 8px;
  padding: 12px;
  font-size: 1rem;
  color: #1A2C3C;
  margin-bottom: 14px;
  outline: none;
  transition: border 0.18s, box-shadow 0.19s;
  box-sizing: border-box;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #BDA97F;
  box-shadow: 0 2px 14px #BDA97F19;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #1A2C3C;
}

/*--- MICRO-INTERACTIONS & TRANSITIONS ---*/
.card,
.cta-button,
.button,
nav a,
.feature-grid > div,
input,
textarea,
.mobile-menu,
.cookie-modal,
.cookie-banner {
  transition: box-shadow 0.19s, background 0.21s, color 0.19s, border 0.18s, transform 0.25s;
}

/*--- ACCESSIBILITY ---*/
:focus {
  outline: 2px solid #BDA97F;
  outline-offset: 2px;
}

/*--- SPACING FOR CARD-LIKE SECTIONS ---*/
.card, .feature-grid > div, .testimonial-card {
  margin-bottom: 20px;
  min-width: 0;
}

/*--- INPUT FORMS ON MOBILE ---*/
@media (max-width: 700px) {
  input, textarea {
    font-size: 0.98rem;
    padding: 11px;
  }
}

/*--- SCANDINAVIAN CLEAN STYLES ---*/
body, html {
  background: #F4F3EF;
  color: #1A2C3C;
}
.section, .card, .feature-grid > div, .testimonial-card {
  border-radius: 14px;
  box-shadow: 0 2px 17px 0 #1A2C3C10;
}

/*--- UTILITY CLASSES ---*/
.flex-center { display: flex !important; align-items: center !important; justify-content: center !important; }
.mt-2 { margin-top: 8px !important; }
.mt-4 { margin-top: 16px !important; }
.mt-8 { margin-top: 32px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-4 { margin-bottom: 16px !important; }
.mb-8 { margin-bottom: 32px !important; }

/*-- HIDE SCROLLBAR FOR MOBILE MENU --*/
.mobile-menu::-webkit-scrollbar {
  display: none;
}
.mobile-menu {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/*--- END ---*/