/* =========================
  CSS 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,
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  background: #F7F7F9;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #254769;
  background: #F7F7F9;
  letter-spacing: 0.02em;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #254769;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #B38614;
  outline-offset: 2px;
}
strong {
  font-weight: 600;
}
ul, ol {
  list-style-type: disc;
  padding-left: 1.3em;
}
button {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}
hr {
  border: 0;
  height: 1px;
  background: #E6E7EB;
  margin: 32px 0;
}

/* VISUAL HIERARCHY & TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #254769;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1rem; }
p {
  margin-bottom: 16px;
  color: #254769;
  line-height: 1.7;
  font-size: 1rem;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.05rem; }
}

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

.section {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 16px rgba(37, 71, 105, 0.06);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* HEADER/NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(37, 71, 105, 0.07);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  padding: 6px 0;
}
.logo img {
  height: 38px;
}
nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
nav a {
  padding: 7px 14px;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #254769;
  font-weight: 500;
}
nav a:hover, nav a.active {
  background: #f2eadc;
  color: #B38614;
}
nav .btn-primary {
  margin-left: 24px;
}

/* Mobile navigation button */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 1020px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    font-size: 2rem;
    background: none;
    border: none;
    color: #254769;
    padding: 8px 10px;
    border-radius: 7px;
    transition: background 0.2s;
    z-index: 51;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: #F7F7F9;
    color: #B38614;
    outline: none;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(37,71,105,0.92);
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.77,0,.18,1);
  padding-top: 32px;
  padding-left: 0;
  width: 100vw;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  margin: 0 26px 24px 0;
  cursor: pointer;
  z-index: 110;
  padding: 6px 16px;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff;
  color: #254769;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding-left: 36px;
  margin-top: 0;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: #fff;
  font-weight: 500;
  border-radius: 8px;
  padding: 10px 16px;
  margin: 0 -16px 0 0;
  min-width: 220px;
  transition: background 0.19s, color 0.19s;
  line-height: 1.3;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #B38614;
  color: #254769;
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none;
  }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, #fff 60%, #f2eadc 100%);
  padding: 58px 0 44px 0;
  box-shadow: 0 4px 28px rgba(37,71,105,0.07);
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  margin-bottom: 60px;
}
.hero .container {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero h1 {
  font-size: 2.6rem;
  color: #254769;
  margin-bottom: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
}
.hero p {
  font-size: 1.2rem;
  color: #3f5870;
  margin-bottom: 28px;
  line-height: 1.6;
}
.hero .btn-primary {
  font-size: 1.12rem;
}
@media (max-width: 768px) {
  .hero {
    padding: 36px 0 24px 0;
    border-radius: 0 0 18px 18px;
    margin-bottom: 30px;
  }
  .hero h1 {
    font-size: 1.55rem;
  }
  .hero p { font-size: 1rem; }
}

/* FLEX-BASED CARD, FEATURES, GRIDS */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  background: #fafbfc;
  border-radius: 14px;
  padding: 32px 24px;
  flex: 1 1 220px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 2px 10px rgba(37,71,105,0.07);
  margin-bottom: 20px;
}
.feature-item img {
  width: 38px;
  height: 38px;
}
.feature-item h3 {
  font-size: 1.14rem;
  color: #254769;
}
.feature-item p {
  color: #3f5870;
  font-size: 0.96rem;
}

@media (max-width: 900px) {
  .features-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item {
    min-width: 0;
    width: 100%;
    padding: 24px 12px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 20px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 8px rgba(37,71,105,0.07);
  display: flex;
  flex-direction: column;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 4px 20px rgba(37,71,105,0.11);
}

.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: 800px) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* Testimonials */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.testimonial-card {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 2px 16px rgba(37,71,105,0.10);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 250px;
  flex: 1 1 290px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.16s;
}
.testimonial-card:hover {
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 8px 28px 0 rgba(37,71,105,0.16);
}
.testimonial-card p {
  font-size: 1.07rem;
  color: #254769;
  line-height: 1.6;
}
.testimonial-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.98rem;
  color: #32817b;
  flex-wrap: wrap;
}
.testimonial-meta .stars {
  color: #B38614;
  font-size: 1.02em;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.1em;
}

.star-rating-total {
  margin-top: 17px;
  color: #254769;
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1.01rem;
}

/* Projects cards (Referenzen) */
.project-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.project-card {
  background: #fcfbf9;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(37,71,105,0.07);
  padding: 30px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  flex: 1 1 300px;
  min-width: 250px;
  transition: box-shadow 0.21s, transform 0.13s;
}
.project-card h3 {
  color: #254769;
  font-size: 1.13rem;
  margin-bottom: 8px;
}
.project-card p {
  color: #3f5870;
  font-size: 0.97rem;
}
.project-card:hover {
  box-shadow: 0 4px 22px rgba(37,71,105,0.13);
  transform: translateY(-3px) scale(1.018);
}

/* Sections containing TRUST BADGES or AWARDS */
.trust-badges, .badges-awards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 15px;
}
.trust-badges img, .badges-awards img {
  display: inline-block;
  height: 38px;
}
.badges-awards span {
  font-size: 0.97rem;
  color: #254769;
  margin-right: 20px;
}

/* FAQ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(37,71,105,0.07);
  padding: 18px 20px;
}
.faq-item h3 {
  font-size: 1.06rem;
  color: #254769;
}
.faq-item p {
  margin-bottom: 0;
  color: #3f5870;
}

/* Process / Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 17px;
}
.process-steps li {
  background: #f7f6f2;
  border-radius: 8px;
  padding: 13px 12px 13px 20px;
  color: #254769;
  margin-bottom: 6px;
  font-size: 1rem;
  box-shadow: 0 1px 6px rgba(37,71,105,0.04);
}

/* USP/Service/Thank You Lists */
.usp-list, .service-list, .thank-you-next-steps, .contact-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 8px;
}

/* NOTICE/INFO BOX */
.notice {
  background: #F7F7F9;
  color: #254769;
  border-left: 4px solid #B38614;
  border-radius: 7px;
  padding: 12px 16px;
  font-size: 0.96rem;
  margin: 8px 0 13px 0;
}

/* MAP PLACEHOLDER (Kontakt) */
.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafbfd;
  border: 1.5px solid #E6E7EB;
  border-radius: 14px;
  padding: 34px 0;
  margin-bottom: 14px;
}

/* BUTTONS */
.btn-primary,
.btn-secondary {
  display: inline-block;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  padding: 12px 32px;
  border-radius: 28px;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, box-shadow 0.19s, border 0.14s;
  outline: none;
  text-align: center;
  box-shadow: 0 2px 9px rgba(37,71,105,0.07);
  margin-bottom: 6px;
}
.btn-primary {
  background: #254769;
  color: #fff;
  border: 2px solid #254769;
}
.btn-primary:hover, .btn-primary:focus {
  background: #B38614;
  color: #fff;
  border-color: #B38614;
  box-shadow: 0 4px 20px rgba(37,71,105,0.13);
}
.btn-secondary {
  background: #fff;
  color: #254769;
  border: 2px solid #B38614;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #B38614;
  color: #fff;
  border-color: #B38614;
  box-shadow: 0 4px 20px rgba(37,71,105,0.13);
}

/* Footer */
footer {
  background: #F7F7F9;
  box-shadow: 0 -2px 13px rgba(37,71,105,0.07);
  padding: 60px 0 20px 0;
  margin-top: 80px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 48px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  margin-top: 8px;
}
.logo-footer img {
  height: 34px;
  margin-bottom: 13px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 8px;
  color: #254769;
  font-size: 1rem;
}
.footer-contact address {
  font-style: normal;
  color: #254769;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.97rem;
}
footer nav a {
  color: #254769;
  font-size: 0.96rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 4px 0;
}
footer nav a:hover {
  color: #B38614;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
}

/* Cookie Consent Banner (Fixed Bottom) */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #fffbe2;
  color: #254769;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -2px 18px rgba(37,71,105,0.10);
  padding: 18px 24px 18px 20px;
  gap: 24px;
  border-radius: 14px 14px 0 0;
  transition: transform 0.4s;
}
.cookie-banner.hidden {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner__text {
  font-size: 1rem;
  color: #254769;
  flex: 1 1 0;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}
.cookie-banner__btn,
.cookie-banner__btn-settings {
  padding: 9px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 22px;
  font-size: 0.98rem;
  font-weight: 600;
  transition: background 0.12s, color 0.14s;
  cursor: pointer;
  margin-right: 5px;
}
.cookie-banner__btn {
  background: #254769;
  color: #fff;
  border: 2px solid #254769;
}
.cookie-banner__btn:hover, .cookie-banner__btn:focus {
  background: #B38614;
  color: #fff;
  border: 2px solid #B38614;
}
.cookie-banner__btn--reject {
  background: #fff;
  color: #254769;
  border: 2px solid #E6E7EB;
}
.cookie-banner__btn--reject:hover, .cookie-banner__btn--reject:focus {
  background: #B38614;
  color: #fff;
  border: 2px solid #B38614;
}
.cookie-banner__btn-settings {
  background: #fff;
  color: #B38614;
  border: 2px solid #B38614;
}
.cookie-banner__btn-settings:hover, .cookie-banner__btn-settings:focus {
  background: #B38614;
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 10001;
  background: rgba(37,71,105,.27);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s;
  pointer-events: none;
  opacity: 0;
}
.cookie-modal-overlay.open {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  padding: 38px 38px 24px 38px;
  max-width: 425px;
  width: 97vw;
  box-shadow: 0 4px 32px rgba(37,71,105,0.19);
  display: flex;
  flex-direction: column;
  gap: 29px;
  transition: transform 0.3s;
  transform: translateY(80px) scale(0.98);
}
.cookie-modal-overlay.open .cookie-modal {
  transform: translateY(0) scale(1);
}
.cookie-modal__header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.29rem;
  margin-bottom: 10px;
  color: #254769;
  font-weight: 700;
}
.cookie-modal__section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-toggle-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 5px;
}
.cookie-modal__desc {
  color: #3f5870;
  font-size: 0.97rem;
}
.cookie-toggle-label {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #254769;
}
.cookie-toggle {
  position: relative;
  min-width: 48px;
  min-height: 25px;
  display: inline-block;
}
.cookie-toggle input[type='checkbox'] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #E6E7EB;
  border-radius: 22px;
  transition: background 0.18s;
}
.cookie-toggle input:checked + .slider {
  background: #B38614;
}
.cookie-toggle .slider:before {
  position: absolute;
  content: "";
  height: 19px;
  width: 19px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: 0.17s;
  box-shadow: 0 1px 4px rgba(37,71,105,0.09);
}
.cookie-toggle input:checked + .slider:before {
  transform: translateX(23px);
}
.cookie-modal__footer {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 19px;
}
.cookie-modal__btn {
  background: #254769;
  color: #fff;
  padding: 8px 22px;
  border: none;
  border-radius: 19px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.13s;
  margin-right: 6px;
}
.cookie-modal__btn:hover, .cookie-modal__btn:focus {
  background: #B38614;
}
.cookie-modal__btn--cancel {
  background: #fff;
  color: #254769;
  border: 2px solid #254769;
}
.cookie-modal__btn--cancel:hover, .cookie-modal__btn--cancel:focus {
  background: #254769;
  color: #fff;
}

@media (max-width: 520px) {
  .cookie-modal {
    padding: 22px 8px 12px 8px;
    min-width: 0;
    width: 99vw;
  }
  .cookie-modal__footer { flex-direction: column; gap: 9px; }
}

/* Responsive Utility */
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .features-grid,
  .card-container,
  .project-cards,
  .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 18px;
  }
  .card, .feature-item, .project-card, .testimonial-card {
    min-width: 0;
    width: 100%;
    padding: 18px 10px;
  }
  .hero { margin-bottom: 32px; }
  footer {
    margin-top: 34px;
    padding: 38px 0 16px 0;
  }
}

/* Scrollbar Styling (for a modern clean look) */
::-webkit-scrollbar {
  width: 10px;
  background: #f7f7f7;
}
::-webkit-scrollbar-thumb {
  background: #E6E7EB;
  border-radius: 16px;
}
::-webkit-scrollbar-thumb:hover {
  background: #B38614;
}

/* Accessibility: Focus Styling */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus, .cookie-modal__btn:focus {
  outline: 2px solid #B38614;
  outline-offset: 2px;
  z-index: 99999;
}

/* Hide visually but keep accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ------ Natural, Simple Scandinavian Shadow Effects ------ */
.card, .feature-item, .project-card, .testimonial-card {
  box-shadow: 0 2px 14px rgba(147, 162, 175, 0.05);
}
.card:hover, .feature-item:hover, .project-card:hover, .testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(179, 134, 20, 0.10);
  transition: box-shadow 0.21s, transform 0.11s;
}

/* BREATHING ROOM SPACING */
.section:not(:last-child) {
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .section:not(:last-child) {
    margin-bottom: 36px;
  }
}

/* ========== END ========== */
