/* --- 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;
  vertical-align: baseline;
  box-sizing: border-box;
  font-size: 100%;
}

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Arial', sans-serif;
  background: #fff;
  color: #223159;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  background-color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #177E89;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #125266;
}
strong {
  font-weight: bold;
}

/* --- TYPOGRAPHY / BOLD MODERN SCALE --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #223159;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p, ul, ol, li {
  font-family: 'Arial', sans-serif;
  font-size: 1rem;
}

@media (max-width: 600px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.1rem; }
}

ul, ol {
  margin-left: 1.5em;
  margin-bottom: 14px;
}
li {
  margin-bottom: 0.5em;
  line-height: 1.5;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

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

@media (min-width: 900px) {
  .content-wrapper {
    gap: 32px;
  }
}

.text-section {
  max-width: 680px;
  margin: 0 auto;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* --- HEADER NAVIGATION --- */
header {
  background: #223159;
  color: #fff;
  padding: 0;
  box-shadow: 0 2px 10px rgba(34, 49, 89, 0.06);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 14px;
}
header img {
  height: 42px;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background-color: #E5E9F2;
  color: #223159;
}
.main-nav .cta {
  background: #177E89;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 1rem;
  border: none;
  transition: background 0.2s, transform 0.2s;
  margin-left: 8px;
  box-shadow: 0 2px 8px rgba(23,126,137,0.09);
}
.main-nav .cta:hover, .main-nav .cta:focus {
  background: #125266;
  color: #fff !important;
  transform: translateY(-2px) scale(1.05);
}
.mobile-menu-toggle {
  display: none;
  background: #177E89;
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  margin-left: 16px;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #125266;
}

@media (max-width: 992px) {
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* --- MOBILE MENU SLIDE-IN --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #223159;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.44s cubic-bezier(.66,.19,.3,.94);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 0 0;
  font-size: 2.1rem;
  background: #E5E9F2;
  color: #223159;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .19s;
  z-index: 10001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #177E89;
  color: #fff;
}
.mobile-nav {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.mobile-nav a {
  display: block;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 14px 0;
  letter-spacing: 0.04em;
  border-radius: 8px;
  width: 100%;
  text-align: center;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #177E89;
  color: #fff;
}

/* --- HERO STYLES --- */
.hero {
  background: #E5E9F2;
  border-bottom: 5px solid #177E89;
  padding: 56px 0 56px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
  max-width: 710px;
  margin: 0 auto;
}
.hero h1 {
  color: #223159;
  font-size: 2.5rem;
  font-weight: 800;
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #125266;
}
.hero .cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: #177E89;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 24px;
  margin-top: 16px;
  box-shadow: 0 3px 16px rgba(23,126,137,0.12);
  transition: background 0.22s, transform 0.18s;
  cursor: pointer;
  display: inline-block;
}
.hero .cta:hover, .hero .cta:focus {
  background: #125266;
  transform: translateY(-2px) scale(1.04);
}

@media (max-width: 600px) {
  .hero {
    padding: 32px 0 36px 0;
  }
}

/* --- FEATURES & CARDS --- */
.features {
  background: #fff;
  margin-bottom: 60px;
  padding: 40px 0;
}
.features .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-card {
  background: #E5E9F2;
  border-radius: 20px;
  box-shadow: 0 2px 9px rgba(34,49,89,0.12);
  min-width: 250px;
  flex: 1 1 250px;
  max-width: 300px;
  padding: 28px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1px solid #dde1f0;
}
.feature-card img {
  width: 52px;
  height: 52px;
  margin-bottom: 6px;
}
.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0;
  color: #223159;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.feature-card .price {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #177E89;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 4px;
}
.feature-card:hover, .feature-card:focus-within {
  box-shadow: 0 4px 24px rgba(17,126,137,0.16);
  transform: translateY(-4px) scale(1.025);
  border-color: #177E89;
}

@media (max-width: 800px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start;
  }
  .feature-card {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}

/* --- SERVICES & SERVICE LIST --- */
.services .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 10px;
}
.services .service-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 9px rgba(34,49,89,0.10);
  border: 2px solid #E5E9F2;
  min-width: 250px;
  flex: 1 1 250px;
  max-width: 320px;
  padding: 28px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
  transition: border-color 0.18s, box-shadow 0.2s, transform 0.15s;
}
.services .service-card img {
  width: 52px;
  height: 52px;
  margin-bottom: 6px;
}
.services .service-card h3 {
  font-size: 1.17rem;
  margin-bottom: 0;
}
.services .service-card .price {
  color: #177E89;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
}
.services .service-card:hover, .services .service-card:focus-within {
  border-color: #177E89;
  box-shadow: 0 6px 24px rgba(23,126,137,0.15);
  transform: translateY(-3px) scale(1.015);
}

@media (max-width: 800px) {
  .services .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .services .service-card {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: #fafdff;
  padding: 46px 0;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(34,49,89,0.08);
  min-width: 280px;
  flex: 1 1 300px;
  max-width: 350px;
  border-left: 5px solid #177E89;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.testimonial-card .stars {
  margin-bottom: 10px;
}
.testimonial-card p {
  color: #223159;
  font-size: 1.04rem;
  font-style: italic;
  font-family: 'Arial', sans-serif;
  margin-bottom: 9px;
}
.testimonial-card .author {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: #125266;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 26px rgba(34,49,89,0.13);
  transform: translateY(-2px) scale(1.01);
}

@media (max-width: 800px) {
  .testimonial-list {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}

/* --- FAQ / CONTACT / ABOUT PAGES --- */
.faq-list .faq-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.faq-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(34,49,89,0.07);
  padding: 24px 20px;
  flex: 1 1 270px;
  min-width: 230px;
  max-width: 350px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.14s;
  border-left: 4px solid #177E89;
}
.faq-item h3 {
  font-size: 1.07rem;
  margin-bottom: 6px;
  color: #223159;
}
.faq-item p {
  font-size: .97rem;
  color: #223159;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 5px 18px rgba(23,126,137,0.13);
  transform: scale(1.01);
}

@media (max-width: 800px) {
  .faq-list .faq-grid {
    flex-direction: column;
    gap: 18px;
  }
  .faq-item {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}

/* --- CONTACT DETAILS --- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 0 32px 0;
}
.contact-details .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.kontakt-hinweis {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.kontakt-hinweis .cta {
  margin: 8px 0;
}
.lageplan {
  margin-top: 16px;
}
.lageplan ul {
  margin-left: 16px;
  color: #125266;
  font-size: 0.98rem;
}

/* --- BUTTONS & LINKS --- */
.cta, button.cta, .cookie-btn {
  background: #177E89;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 24px;
  padding: 12px 30px;
  box-shadow: 0 2px 10px rgba(23,126,137,0.10);
  letter-spacing: 0.01em;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.16s;
  cursor: pointer;
  display: inline-block;
}
.cta:hover, .cta:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: #125266;
  color: #fff !important;
  box-shadow: 0 4px 24px rgba(17,126,137,0.16);
  transform: translateY(-2px) scale(1.04);
}

button {
  font-family: inherit;
}

/* --- FOOTER --- */
footer {
  background: #223159;
  color: #fff;
  padding: 20px 0 0 0;
  margin-top: 60px;
  border-top: 3px solid #125266;
}
.footer-nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .03em;
  padding: 2px 8px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #E5E9F2;
  color: #223159;
}
.footer-contact {
  display: flex;
  justify-content: center;
  padding: 8px 0 14px 0;
  font-size: 1rem;
  color: #fff;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fff;
  color: #223159;
  border-top: 2px solid #177E89;
  box-shadow: 0 -2px 14px rgba(17,126,137,0.11);
  padding: 22px 14px 18px 14px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  animation: slideUpBanner 0.6s cubic-bezier(.73,.09,.5,1);
}
@keyframes slideUpBanner {
  from { transform: translateY(120px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
  max-width: 740px;
  font-size: 0.98rem;
  text-align: center;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  min-width: 125px;
  padding: 11px 22px;
}
.cookie-btn.settings {
  background: #223159;
  color: #fff !important;
}
.cookie-btn.reject {
  background: #fff;
  color: #125266 !important;
  border: 2px solid #125266;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #125266;
  color: #fff !important;
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(34,49,89,0.70);
  backdrop-filter: blur(1.5px);
  z-index: 100010;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.32s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #223159;
  border-radius: 22px;
  box-shadow: 0 8px 44px rgba(17,126,137,0.25);
  padding: 36px 28px 24px 28px;
  min-width: 310px;
  max-width: 420px;
  animation: slideModalUp 0.47s cubic-bezier(.85,.05,.43,.93);
}
@keyframes slideModalUp {
  from { transform: translateY(44px) scale(0.92); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  text-align: left;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #E5E9F2;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-size: 1rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: #177E89;
  width: 22px;
  height: 22px;
}
.cookie-category input[disabled] {
  opacity: 0.55;
}
.cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 19px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

@media (max-width: 500px) {
  .cookie-modal {
    min-width: 0;
    max-width: 98vw;
    padding: 18px 6vw 18px 6vw;
  }
}

/* --- RESPONSIVE: COMMON LAYOUTS --- */
@media (max-width: 600px) {
  .container { padding: 0 8px; }
  .footer-nav { gap: 12px; }
  .section, .features { padding: 24px 0; }
  .features .content-wrapper { gap: 12px; }
}

/* --- VISUAL DETAILS & INTERACTIONS --- */
.card-container, .service-list, .feature-grid, .testimonial-list, .faq-grid {
  gap: 24px;
  display: flex;
  flex-wrap: wrap;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Animations for button presses */
.cta:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* --- UTILITY CLASSES --- */
.mt-0 { margin-top: 0!important; }
.mt-16 { margin-top: 16px!important; }
.mb-20 { margin-bottom: 20px!important; }
.mb-32 { margin-bottom: 32px!important; }
.d-flex { display: flex!important; }
.align-center { align-items: center!important; }

/* Hide elements by utility */
.d-none { display: none!important; }

/* --- OVERLAY/BACKDROP covered by cookie-modal-overlay. --- */

/* --- ACCESSIBILITY FOCUS STYLES --- */
a:focus, button:focus, .cta:focus, .cookie-btn:focus {
  outline: 2px solid #223159;
  outline-offset: 2px;
  z-index: 10010;
}

/* --- FORMS (if form component is added) --- */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px;
  border: 1.5px solid #E5E9F2;
  border-radius: 10px;
  margin-bottom: 14px;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #177E89;
  outline: none;
}

/* --- Z-INDEX LAYERS --- */
header { z-index: 1000; }
.mobile-menu, .mobile-menu.open { z-index: 9999; }
.cookie-banner { z-index: 10000; }
.cookie-modal-overlay { z-index: 100010; }

/* --- BOLD MODERN SHAPES (simple accent bars) --- */
.section > .container > .content-wrapper > h2::after {
  content: '';
  display: block;
  width: 44px;
  height: 4px;
  margin-top: 10px;
  background: #177E89;
  border-radius: 2px;
}

/* --- PRINT OVERRIDE --- */
@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay, .mobile-menu { display: none !important; }
}
