/* 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {scroll-behavior: smooth;}
body {
  line-height: 1.5;
  color: #F1F6FB;
  background: #181E23;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.02em;
  min-height: 100vh;
}
img {max-width: 100%; display: block; border: none;}
ul, ol {list-style: none;}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:focus { outline: 2px solid #6CA0A9; outline-offset: 2px; }
strong {font-weight:600;}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #F1F6FB;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
h1 {font-size: 2.2rem; margin-bottom: 24px;}
h2 {font-size: 1.65rem; margin-bottom: 20px;}
h3 {font-size: 1.2rem; margin-bottom: 12px;}
h4, h5, h6 {font-size:1rem;}
p, li, span, a, label {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #BCC5CA;
  font-size: 1rem;
}
p {margin-bottom: 18px; line-height: 1.6;}

/* General Container Styles */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Layout Spacing (Mandatory) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #202930;
  box-shadow: 0 3px 10px 0 rgba(17,23,30,0.12);
  border-radius: 10px;
  overflow: hidden;
}
.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;
}

/* Elevation & Metal Accents */
.card, .feature-item, .team-member, .testimonial-card, .service-item {
  border-radius: 9px;
  background: #232A2F;
  box-shadow: 0 2px 10px 0 rgba(35,61,77,0.12), 0 1.5px 0px 0 #384653 inset;
  border: 1px solid #39444D;
}

/* Metallic Divider */
hr {
  border: none;
  border-top: 2px solid #6CA0A9;
  background: none;
  margin: 32px 0 24px 0;
}

/* HEADER */
header {
  width: 100%;
  background: #181E23;
  border-bottom: 2px solid #333E48;
  z-index: 40;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 16px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  color: #BCC5CA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 4px 0;
  border-bottom: 2.5px solid transparent;
  transition: color 0.2s, border-color 0.19s;
}
header nav a:hover, header nav a:focus, .mobile-nav a:hover, .mobile-nav a:focus {
  color: #F1F6FB;
  border-bottom: 2.5px solid #6CA0A9;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 20px;
}
.button-primary {
  background: linear-gradient(93deg, #233D4D 60%, #6CA0A9 100%);
  color: #F1F6FB;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 12px 32px;
  box-shadow: 0 1.5px 6px 0 rgba(35,61,77,0.16);
  display: inline-block;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.18s, transform 0.14s;
}
.button-primary:hover, .button-primary:focus {
  background: linear-gradient(93deg, #6CA0A9 30%, #233D4D 100%);
  box-shadow: 0 6px 24px 0 rgba(35,61,77,0.16);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: #232A2F;
  color: #6CA0A9;
  border: none;
  font-size: 2rem;
  padding: 8px 13px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 109;
  margin-left: 18px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #384653;
  color: #F1F6FB;
  outline: 2px solid #6CA0A9;
  outline-offset: 1.5px;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(28, 35, 41, 0.97);
  z-index: 1000;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  transition: transform 0.36s cubic-bezier(0.39,0.575,0.565,1), opacity 0.3s;
  transform: translateX(-100%);
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 0 0;
  background: none;
  color: #6CA0A9;
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 1002;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F1F6FB;
  outline: 2px solid #6CA0A9;
  outline-offset: 0.5px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100vw;
  align-items: center;
  margin-top: 50px;
  padding-bottom:30px;
}
.mobile-nav a {
  color: #F1F6FB;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 0 5px 0;
  border-bottom: 2.5px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}

/* HERO SECTION */
.hero {
  width: 100%;
  background: #232A2F url('../assets/hero-bg-texture-dark.jpg') center/cover no-repeat;
  min-height: 320px;
  box-shadow: 0 2px 18px 0 rgba(35,61,77,0.11) inset;
  display: flex;
  align-items: center;
  padding: 64px 0 48px 0;
}
.hero .content-wrapper {
  max-width: 820px;
  margin: 0 auto;
  align-items: flex-start;
}
.hero h1 {
  color: #F1F6FB;
  font-size: 2.2rem;
  line-height: 1.16;
  letter-spacing: 0.01em;
}
.hero p {
  color: #C8D3DA;
  margin-bottom: 30px;
  font-size: 1.15rem;
}

/* FEATURE GRID (STARTSEITE & LEISTUNGEN ETC.) */
.feature-grid, .service-list-grid, .team-overview, .blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.feature-item, .service-item, .team-member {
  flex: 1 1 250px;
  min-width: 240px;
  max-width: 340px;
  background: #232A2F;
  border-radius: 9px;
  box-shadow: 0 2px 8px 0 rgba(35,61,77,0.10);
  padding: 24px 22px 18px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1.5px solid #384653;
  transition: box-shadow 0.18s, border-color 0.2s, transform 0.13s;
}
.feature-item img, .service-item img, .team-member img {
  height: 48px;
  width: 48px;
  margin-bottom: 12px;
  filter: grayscale(10%) brightness(0.95);
}
.feature-item:hover, .service-item:hover, .team-member:hover {
  box-shadow: 0 7px 30px 0 rgba(46,65,80,0.22), 0 1.5px 0 #6CA0A9 inset;
  border-color: #6CA0A9;
  transform: translateY(-3px) scale(1.01);
}

/* TEAM-OVERVIEW FLEX */
.team-overview {gap: 24px;}
.team-member {
  min-width: 252px;
  background: #1D2327;
  transition: box-shadow 0.15s, border-color 0.2s, transform 0.12s;
  margin-bottom: 20px;
}

/* SERVICE LIST FLEX */
.service-list-grid {
  gap: 24px;
  flex-wrap: wrap;
}
.service-item {
  min-width: 235px;
  max-width: 350px;
  margin-bottom: 20px;
  background: #232A2F;
}

/* BLOG LIST */
.blog-post-list {
  flex-wrap: wrap;
  gap: 24px;
}
.blog-post-list article {
  background: #232A2F;
  padding: 24px 22px;
  border-radius: 10px;
  box-shadow: 0 2px 5px 0 rgba(35,61,77,0.09);
  border: 1.5px solid #384653;
  margin-bottom: 20px;
  flex: 1 1 300px;
  min-width: 255px;
  transition: border-color 0.2s, box-shadow 0.16s, transform 0.12s;
}
.blog-post-list article:hover {
  border-color: #6CA0A9;
  box-shadow: 0 7px 25px 0 rgba(108,160,169,0.09), 0 1.5px 0 #6CA0A9 inset;
  transform: translateY(-3px) scale(1.015);
}
.category-filter {
  margin-top: 18px;
  font-size: 0.98rem;
  color: #6CA0A9;
  display: flex;
  align-items: center;
  gap: 6px;
}
.category-filter a {
  color: #6CA0A9;
  font-weight: 600;
  transition: color 0.18s, text-decoration 0.18s;
}
.category-filter a:hover {
  color: #F1F6FB;
  text-decoration: underline wavy #6CA0A9 2px;
}

/* FAQ LIST */
.faq-list h3 {
  color: #6CA0A9;
  margin-top: 18px;
  font-size: 1.15rem;
}
.faq-list ul, .faq-list ol {margin-left: 22px; margin-bottom: 14px;}
.faq-list li {margin-bottom: 13px; color: #BCC5CA;}
.faq-list a {color: #6CA0A9; text-decoration: underline;}

/* TESTIMONIALS */
.testimonials {
  background: #21272E;
  padding: 48px 0 48px 0;
}
.testimonials .container {align-items: stretch;}
.testimonial-slider {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 16px;
}
.testimonial-card {
  background: #F1F6FB;
  color: #232A2F !important;
  border-radius: 10px;
  box-shadow: 0 3px 20px 0 rgba(30,40,52,0.14);
  min-width: 260px;
  max-width: 390px;
  padding: 20px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  border: 1.5px solid #6CA0A9;
  transition: box-shadow 0.17s, transform 0.14s, border 0.18s;
}
.testimonial-card strong {
  color: #233D4D;
  font-weight: bold;
  margin-top: 12px;
  letter-spacing: 0.01em;
}
.testimonial-card p {
  color: #232A2F;
}
.testimonial-card:hover {
  box-shadow: 0 7px 30px 0 rgba(35,61,77,0.16), 0 1.5px 0 #6CA0A9 inset;
  transform: translateY(-2px) scale(1.01);
  border-color: #384653;
}

/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
  margin-top: 8px;
  align-items: center;
}
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #21272E;
  border-radius: 8px;
  padding: 10px 18px;
  min-height: 38px;
  margin-bottom: 0;
}
.contact-details img {
  height: 26px; width: 26px;
}
.contact-details a {
  color: #6CA0A9;
  font-weight: 600;
}
.contact-details a:hover, .contact-details a:focus {
  text-decoration: underline;
  color: #233D4D;
}
.opening-hours, .map {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  background: #1E2429;
  border-radius: 8px;
  padding: 10px 18px;
  min-height: 38px;
}
.opening-hours img, .map img {
  height: 24px;
}
.opening-hours span, .map span {
  color: #BCC5CA;
}

/* FOOTER */
footer {
  background: #1A2127;
  border-top: 2px solid #29323B;
  padding: 36px 0 20px 0;
  width: 100%;
  margin-top: 48px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  gap: 14px;
  font-size: 0.95rem;
  color: #6CA0A9;
}
footer nav a {
  color: #6CA0A9;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
footer nav a:hover, footer nav a:focus {
  color: #F1F6FB;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.96rem;
  color: #90A1B2;
  margin-bottom: 3px;
}
footer span {margin-top: 6px; color: #AAB7C2; font-size:0.93rem;}

/* LEGAL PAGES */
.legal {
  background: #232A2F;
}
.legal .content-wrapper {
  background: #181E23;
  border-radius: 11px;
  border: 1.5px solid #384653;
  box-shadow: 0 3px 18px 0 rgba(49,59,69,0.13);
  padding: 36px 28px 30px 28px;
  color: #F1F6FB;
  margin-bottom: 32px;
}
.legal h1, .legal h2, .legal h3, .legal h4 {
  color: #6CA0A9;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #232A2F;
  color: #BCC5CA;
  border-top: 2px solid #6CA0A9;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 20px;
  box-shadow: 0 -2px 28px 0 rgba(35,61,77,0.10);
  gap: 18px;
  animation: bannerFadeIn 0.5s;
}
.cookie-banner p {
  color: #BCC5CA;
  max-width: 580px;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  margin-top: 5px;
}
.cookie-banner button {
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  padding: 9px 25px;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.18s, color 0.16s;
}
.cookie-banner .accept {
  background: #6CA0A9;
  color: #fff;
}
.cookie-banner .accept:hover { background: #233D4D; }
.cookie-banner .reject {
  background: #384653;
  color: #F1F6FB;
  border: 1.5px solid #6CA0A9;
}
.cookie-banner .reject:hover { background: #3C515B; color: #fff; }
.cookie-banner .settings {
  background: #22292E;
  color: #BCC5CA;
  border:1px solid #6CA0A9;
}
.cookie-banner .settings:hover { background: #6CA0A9; color: #fff; }

@keyframes bannerFadeIn {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top:0; left:0;
  width: 100vw; height: 100vh;
  background: rgba(20,28,37,0.82);
  z-index: 4000;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open { display: flex; }
.cookie-modal {
  background: #232A2F;
  color: #F1F6FB;
  border-radius: 14px;
  max-width: 430px;
  width: 95%;
  padding: 38px 24px 28px 24px;
  box-shadow: 0 8px 44px 0 rgba(20,32,48,0.15);
  animation: modalFadeIn 0.44s;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: #6CA0A9;
  margin-bottom: 20px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 18px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #6CA0A9;
  width: 18px; height: 18px;
}
.cookie-modal .essential {
  opacity: 0.7;
  pointer-events: none;
  user-select: none;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 15px;
  justify-content: flex-end;
}
.cookie-modal button {
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 9px 20px;
  background: #6CA0A9;
  color: #fff;
  box-shadow: 0 1.5px 6px 0 rgba(35,61,77,0.13);
  transition: background 0.19s, color 0.16s;
  cursor: pointer;
}
.cookie-modal button.secondary {
  background: #384653;
  color: #F1F6FB;
  border: 1.5px solid #6CA0A9;
}
.cookie-modal button.secondary:hover { background: #233D4D; color: #fff; }
.cookie-modal button:hover { background: #233D4D; color: #fff; }
.cookie-modal .modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  color: #6CA0A9;
  font-size: 1.45rem;
  border: none;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus { color: #F1F6FB; }

@keyframes modalFadeIn {
  0% { opacity: 0; transform: scale(0.90) translateY(44px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Responsive Design */
@media (max-width: 1100px){
  .container {max-width: 980px;}
}
@media (max-width: 900px){
  .container {max-width:780px;}
  .feature-grid, .service-list-grid, .team-overview, .blog-post-list {
    gap: 20px;
  }
}
@media (max-width: 768px){
  .container {max-width: 99%; padding: 0 7px;}
  .section { padding: 28px 5px; margin-bottom: 36px; }
  .hero {
    min-height: 190px;
    padding: 44px 0 28px 0;
  }
  .hero .content-wrapper {
    align-items: flex-start;
    max-width: 97vw;
  }
  header .container {
    padding: 11px 7px;
    gap: 8px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .button-primary {
    padding: 9px 16px;
    font-size: 0.97rem;
    margin-left: 7px;
  }
  .feature-grid, .service-list-grid, .team-overview, .blog-post-list {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .feature-item, .service-item, .team-member, .blog-post-list article {
    min-width: 98% !important;
    max-width: 100%;
    margin-bottom: 15px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-card {
    max-width: 99vw;
    min-width: 90vw;
    align-items: flex-start;
    padding: 13px 10px;
  }
  .contact-details, .footer-contact {
    flex-direction: column;
    gap: 10px;
    min-width: 98vw;
  }
  .opening-hours, .map {
    flex-direction: column;
    gap: 8px;
  }
  .content-grid, .text-image-section {
   flex-direction: column;
   gap: 17px;
  }
  .cookie-modal {padding: 21px 7px 15px 12px;}
}
@media (max-width: 420px){
  .hero h1 { font-size: 1.2rem; margin-bottom: 12px; }
  .hero p { font-size: 0.98rem; margin-bottom: 17px; }
  .feature-item h3, .service-item h3, .team-member h3 {font-size: 1rem;}
}

/* Focus States - Accessibility */
a:focus, button:focus, input:focus, .button-primary:focus {
  outline: 2px solid #6CA0A9;
  outline-offset: 2px;
}

/* Micro-interactions */
.button-primary, .feature-item, .testimonial-card, .service-item, .blog-post-list article, .team-member {
  transition: box-shadow 0.16s, border-color 0.16s, background 0.14s, color 0.14s, transform 0.13s;
}

/* Utility Classes */
.hide { display: none!important; }
.visible { display: block!important; }

/* END CSS STYLE */