/* ===== CSS RESET & BASE ===== */
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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  color: #234E5D;
  background: #FFFFFF;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  padding-left: 20px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.22s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ===== BRAND FONTS ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #234E5D;
}

h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.subtitle {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  color: #7B2E0B;
  margin-bottom: 24px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
p, li, ol {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #234E5D;
  margin-bottom: 12px;
  font-weight: 400;
}
.text-section p, .text-section ul, .text-section ol {
  color: #234E5D;
  font-size: 1.05rem;
}

.brand-story {
  color: #7B2E0B;
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 12px;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}

strong, b {
  font-weight: 700;
  color: #234E5D;
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===== SECTIONS & PADDING ===== */
section {
  background: #FFFFFF;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ===== SPECIFIC FLEX CONTAINERS (MANDATORY PATTERNS) ===== */
.card-container, .feature-grid, .testimonial-slider, .content-grid {
  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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F7FAFB;
  border-radius: 16px;
  box-shadow: 0 4px 11px 0 rgba(35, 78, 93, 0.07);
  min-width: 250px;
  max-width: 370px;
  margin-bottom: 24px;
  border: 1px solid #E5EEF5;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 28px 0 rgba(35, 78, 93, 0.13);
  transform: translateY(-3px) scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 14px 15px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 18px 24px 10px 24px;
  background: #FFFFFF;
  box-shadow: 0 2px 8px 0 rgba(35, 78, 93, 0.06);
  position: relative;
  z-index: 1025;
}
header > a img {
  height: 43px;
  width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #234E5D;
  padding: 7px 3px;
  border-radius: 4px;
  transition: color 0.18s, background 0.18s;
}
header nav a:hover, header nav a:focus {
  color: #C95C1A;
  background: #EAF2F7;
}
.cta-btn {
  background: #234E5D;
  color: #FFFFFF;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 24px;
  padding: 12px 28px;
  margin-left: 28px;
  box-shadow: 0 4px 12px rgba(35, 78, 93, 0.08);
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
  border: none;
  outline: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #C95C1A;
  color: #FFFFFF;
  box-shadow: 0 8px 28px 0 rgba(35,78,93,0.15);
  transform: translateY(-1px) scale(1.03);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 24px;
  font-size: 2.1rem;
  background: #234E5D;
  color: #FFFFFF;
  width: 44px;
  height: 44px;
  border-radius: 20%;
  justify-content: center;
  align-items: center;
  z-index: 1051;
  border: none;
  cursor: pointer;
  transition: background 0.19s, transform 0.17s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #C95C1A;
  outline: 2px solid #7B2E0B;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #FFFFFF;
  box-shadow: 0 0 30px 0 rgba(35,78,93,0.15);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.8,.17,.18,.93), opacity 0.28s;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: #234E5D;
  align-self: flex-end;
  margin: 20px 20px 0 0;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #C95C1A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 38px 0 0 30px;
  gap: 18px;
}
.mobile-nav a {
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #234E5D;
  padding: 12px 0;
  border-radius: 8px;
  width: 230px;
  transition: color 0.19s, background 0.17s;
  letter-spacing: 0.02em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFFFFF;
  background: #C95C1A;
}

/* ===== FOOTER ===== */
footer {
  background: #F7FAFB;
  padding: 40px 0 0 0;
  color: #234E5D;
  border-top: 1px solid #E5EEF5;
}
footer .container {
  padding-bottom: 16px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
footer nav a {
  color: #234E5D;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 5px 0;
  border-radius: 5px;
  transition: color 0.15s, background 0.13s;
}
footer nav a:hover, footer nav a:focus {
  color: #C95C1A;
  background: #EAF2F7;
}
footer .contact-short {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 1rem;
  color: #234E5D;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 14px;
  padding: 10px 0 0 0;
}
.social-links a {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  width: 37px;
  height: 37px;
  box-shadow: 0 2px 6px rgba(35,78,93,0.09);
  transition: background 0.15s, box-shadow 0.17s;
}
.social-links a:hover, .social-links a:focus {
  background: #D6E6F2;
  box-shadow: 0 6px 24px rgba(35,78,93,0.15);
}

/* ===== CARDS ===== */
.card {
  background: #F7FAFB;
  border-radius: 14px;
  box-shadow: 0 4px 11px 0 rgba(35, 78, 93, 0.07);
  padding: 28px 22px;
  min-width: 220px;
  max-width: 360px;
  margin-bottom: 20px;
  border: 1px solid #E5EEF5;
  transition: box-shadow 0.2s, transform 0.17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 24px 0 rgba(35,78,93,0.13);
  transform: translateY(-2px) scale(1.018);
}
.feature-grid > div {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 2px 9px 0 rgba(35, 78, 93, 0.07);
  padding: 22px 20px 18px 20px;
  text-align: left;
  flex: 1 1 180px;
  max-width: 295px;
  border: 1px solid #E5EEF5;
  transition: box-shadow 0.19s, transform 0.16s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 6px 23px 0 rgba(35,78,93,0.12);
  transform: translateY(-2.5px) scale(1.01);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.testimonial-card p {
  color: #234E5D;
  font-size: 1.07rem;
  font-style: italic;
  margin-bottom: 14px;
}
.testimonial-author {
  color: #7B2E0B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.99rem;
  font-weight: 600;
}
.star-rating {
  color: #C95C1A;
  font-size: 1.15rem;
  letter-spacing: 1px;
  margin-top: 7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}

/* ===== MAP PLACEHOLDER (Kontaktseite) ===== */
.map-placeholder {
  background: #D6E6F2;
  border-radius: 14px;
  padding: 34px 26px;
  text-align: center;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  color: #234E5D;
  border: 1px solid #E5EEF5;
  margin-top: 10px;
}

/* ===== CONTACT INFO BLOCK (Kontaktseite) ===== */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 20px;
}
.contact-info > div {
  background: #F7FAFB;
  padding: 20px 20px 12px 18px;
  border-radius: 12px;
  border: 1px solid #E5EEF5;
  min-width: 170px;
  flex: 1 1 170px;
}
.contact-info h3 {
  margin-bottom: 9px;
  font-size: 1.07rem;
  color: #234E5D;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.contact-info img {
  vertical-align: middle;
  width: 18px;
  height: 18px;
  margin-right: 6px;
}

/* ===== OLs & ULs ===== */
ul, ol {
  margin-bottom: 12px;
  padding-left: 19px;
}
ul li, ol li {
  margin-bottom: 8px;
}
ol {
  list-style-type: decimal;
}
ul {
  list-style-type: disc;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.card, .feature-grid > div, .testimonial-card, .cta-btn {
  animation: fadeInUp 0.51s cubic-bezier(.24,1.13,.75,.98) both;
}

/* ===== BUTTONS ===== */
button, .cta-btn {
  cursor: pointer;
  transition: background 0.19s, color 0.17s, transform 0.12s, box-shadow 0.12s;
}

/* ===== SPACING BETWEEN MAJOR ELEMENTS ===== */
section + section {
  margin-top: 0;
  margin-bottom: 60px;
}
.card + .card {
  margin-left: 20px;
}
.card-container > *, .content-grid > * {
  margin-bottom: 20px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 950px) {
  .content-wrapper, .content-grid, .card-container, .feature-grid, .testimonial-slider, .contact-info {
    flex-direction: column;
    gap: 24px !important;
  }
  .feature-grid > div, .card {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    min-height: 67px;
    padding: 13px 13px 10px 13px;
  }
  header nav {
    display: none;
  }
  .cta-btn {
    margin-left: 9px;
    padding: 11px 18px;
    font-size: 0.97rem;
    border-radius: 23px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    max-width: 95vw;
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .feature-grid img {
    width: 38px;
    height: 38px;
  }
  .map-placeholder {
    padding: 18px 8px;
  }
  .testimonial-slider {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .contact-info {
    flex-direction: column;
    gap: 18px;
  }
  .card, .feature-grid > div, .testimonial-card {
    min-width: 0;
    max-width: 100%;
    padding: 18px 11px;
  }
  .section, section {
    padding: 26px 4vw;
  }
}
@media (max-width: 550px) {
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.13rem; }
  .cta-btn {
    font-size: 0.92rem;
    padding: 10px 12px;
  }
  .mobile-nav a {
    font-size: 1rem;
    width: 91vw;
    padding: 10px 0;
  }
}

/* ===== COOKIE BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #234E5D;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(35, 78, 93, 0.21);
  z-index: 1080;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 30px 24px 30px;
  animation: fadeInUp 0.7s;
}
.cookie-banner__desc {
  font-size: 1.01rem;
  text-align: center;
  margin-bottom: 2px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 12px;
}
.cookie-btn {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 22px;
  padding: 10px 26px;
  border: none;
  transition: background 0.18s, color 0.14s, box-shadow 0.16s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: #C95C1A;
  color: #FFFFFF;
}
.cookie-btn.reject {
  background: #E8E8E8;
  color: #7B2E0B;
}
.cookie-btn.settings {
  background: #D6E6F2;
  color: #234E5D;
}
.cookie-btn:hover, .cookie-btn:focus {
  box-shadow: 0 2px 9px rgba(35, 78, 93, 0.13);
  opacity: 0.95;
}

/* Modal für Cookie Präferenzen */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1099;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(35, 78, 93, 0.38);
  justify-content: center;
  align-items: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #FFFFFF;
  border-radius: 18px;
  max-width: 350px;
  width: 90vw;
  box-shadow: 0 10px 42px rgba(35, 78, 93, 0.18);
  padding: 28px 26px 22px 26px;
  color: #234E5D;
  animation: fadeInUp 0.56s;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.21rem;
  margin-bottom: 9px;
  color: #234E5D;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 19px;
  top: 14px;
  font-size: 1.65rem;
  background: none;
  color: #234E5D;
  border: none;
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #C95C1A;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cookie-category label {
  font-size: 1.01rem;
  color: #234E5D;
  font-weight: 500;
}
.cookie-category .toggle-switch {
  position: relative;
  width: 42px;
  height: 22px;
  background: #E8E8E8;
  border-radius: 12px;
  transition: background 0.15s;
  margin-left: 12px;
}
.cookie-category .toggle-switch input {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0; top: 0;
  cursor: pointer;
}
.cookie-category .switch-slider {
  position: absolute;
  left: 3px; top: 2px;
  width: 18px;
  height: 18px;
  background: #C95C1A;
  border-radius: 50%;
  transition: transform 0.18s, background 0.16s;
}
.cookie-category .toggle-switch input:checked + .switch-slider {
  transform: translateX(18px);
  background: #234E5D;
}
.cookie-category .cookie-required {
  color: #7B2E0B;
  font-size: 0.94rem;
  margin-left: 5px;
  font-weight: 400;
}
.cookie-modal .modal-actions {
  margin-top: 14px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  padding: 9px 18px;
  font-size: 0.97rem;
}

/* ===== UTILITY CLASSES ===== */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2px; }
.mb-2 { margin-bottom: 2px; }
.gap-10 { gap: 10px; }
.center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.w-100 { width: 100%; }
.text-center { text-align: center; }

/* ===== VISUAL HIERARCHY & EFFECTS ===== */
.card, .feature-grid > div, .testimonial-card {
  border-radius: 14px;
  background: #F7FAFB;
}

/* ===== SCANDINAVIAN CLEAN THEME ===== */
body, section, .container, .card, .feature-grid > div, .testimonial-card, .cookie-banner, .cookie-modal {
  background: #FFFFFF;
}
.card, .testimonial-card, .feature-grid > div, .contact-info > div {
  background: #F7FAFB;
}

/* ===== REMOVE ALL CSS GRID AND CSS COLUMNS & ENSURE FLEX ONLY ===== */
/* (all containers above use flex; no grid properties anywhere) */
