/* Reset & Normalize */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #182C47;
  background: #fff;
  min-height: 100vh;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 24px;
}
a {
  color: #182C47;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFDA47;
  outline: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #182C47;
  margin-bottom: 16px;
  line-height: 1.1;
}
h1 { font-size: 2rem; margin-bottom: 24px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.17rem; }
h4 { font-size: 1rem; }
h5, h6 { font-size: 0.9rem; }
p, li, span, th, td { font-size: 1rem; }
subheadline, .subheadline { font-size: 1.125rem; color: #4B5767; margin-bottom: 16px; }

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

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

/* Layout patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(24,44,71,0.07);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.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;
  margin-bottom: 20px;
  background: #F3F3F3;
  border-radius: 12px;
  box-shadow: 0 4px 16px 0 rgba(24,44,71,0.05);
  color: #182C47;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Brand accent styling */
.accent {
  color: #FFDA47;
  font-weight: 600;
}

/* Main Navigation */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ECECEC;
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
  justify-content: flex-start;
}
.main-nav > a {
  padding: 8px 0;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #182C47;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  font-weight: 500;
}
.main-nav > a.cta {
  margin-left: 16px;
}
.main-nav > a.primary, .cta.primary {
  background: #182C47;
  color: #fff;
  border-radius: 8px;
  padding: 11px 26px;
  box-shadow: 0 2px 12px rgba(24,44,71,0.07), 0 1.5px 0 #FFDA47;
  font-weight: 700;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.main-nav > a.primary:hover, .cta.primary:hover, .cta.primary:focus {
  background: #FFDA47;
  color: #182C47;
  box-shadow: 0 3px 18px rgba(24,44,71,0.13);
}
.main-nav > a:hover, .main-nav > a:focus {
  color: #FFDA47;
  background: #F3F3F3;
}
.main-nav img { height: 36px; margin-right: 12px; }
.main-nav > a:first-child { padding-right: 0; }

/* Hamburger Menu */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 15px;
  width: 48px;
  height: 48px;
  border: none;
  background: none;
  color: #182C47;
  font-size: 2rem;
  z-index: 122;
  cursor: pointer;
  border-radius: 8px;
  outline: none;
  transition: background 0.16s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #F3F3F3;
}
.mobile-menu {
  display: none;
}
.mobile-menu--open {
  display: flex !important;
}
.mobile-menu {
  position: fixed;
  z-index: 2000;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #fff;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.68,-0.55,.27,1.55);
  box-shadow: -2px 0 28px 0 rgba(24,44,71,0.09);
  padding: 36px 32px 24px 24px;
}
.mobile-menu.mobile-menu--open {
  transform: translateX(0);
}
.mobile-menu-close {
  border: none;
  background: none;
  color: #182C47;
  font-size: 2.2rem;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFDA47;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #182C47;
  padding: 15px 4px 15px 0;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F3F3F3;
  color: #FFDA47;
}

@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 800px) {
  .main-nav {
    gap: 9px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.23rem; }
  .section { padding: 32px 8px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu--open { display: none!important; }
  .mobile-menu-toggle { display: none!important; }
  .main-nav { display: flex!important; }
}

/* Footer */
footer {
  background: #fff;
  border-top: 1px solid #ECECEC;
  padding: 40px 0 30px 0;
  margin-top: 60px;
}
footer .content-wrapper {
  flex-direction: row;
  gap: 48px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #4B5767;
  font-size: 0.97rem;
  transition: color 0.18s;
  margin-bottom: 7px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #182C47;
}
.footer-contact {
  font-size: 0.97rem;
  color: #8190a6;
}
footer img { height: 36px; margin-bottom: 7px; }

@media (max-width: 768px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* HERO and Feature Cards */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.feature-card {
  background: #F3F3F3;
  border-radius: 12px;
  box-shadow: 0 2px 11px rgba(24,44,71,0.06);
  padding: 30px 24px;
  flex: 1 1 270px;
  min-width: 250px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  transition: box-shadow 0.20s, border-color 0.18s;
}
.feature-card img { height: 34px; margin-bottom: 7px; }
.feature-card h3 { margin-bottom: 6px; font-size: 1.05rem; }
.feature-card .price {
  margin-top: 5px;
  color: #182C47;
  font-weight: 600;
  background: #fff;
  border-radius: 6px;
  padding: 6px 13px;
  font-size: 0.98rem;
}
.feature-card:hover, .feature-card:focus {
  box-shadow: 0 6px 26px rgba(24,44,71,0.12);
}

@media (max-width: 1024px) {
  .feature-grid {
    gap: 15px;
  }
  .feature-card { padding: 26px 10px; }
}
@media (max-width: 768px) {
  .feature-grid {
    gap: 12px;
  }
  .feature-card {
    min-width: 100%;
    max-width: none;
  }
}

/* Service Cards for services.html */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 11px rgba(24,44,71,0.07);
  padding: 30px 24px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  transition: box-shadow 0.20s, border-color 0.18s;
  margin-bottom: 20px;
  position: relative;
}
.service-card h3 { font-size: 1.07rem; margin-bottom: 5px; }
.service-card .price {
  margin-top: 7px;
  color: #182C47;
  font-weight: 600;
  background: #F3F3F3;
  border-radius: 5px;
  padding: 6px 11px;
}
.service-card:hover, .service-card:focus {
  box-shadow: 0 4px 22px rgba(24,44,71,0.11);
}
@media (max-width: 1024px) {
  .service-list { gap: 13px; }
  .service-card { padding: 20px 7px; }
}
@media (max-width: 768px) {
  .service-list { gap: 8px; }
  .service-card { min-width: 100%; max-width: none; }
}

/* Certifications & Awards */
.certifications {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: #8190a6;
}
.certifications img { height: 28px; }
.certifications span { font-size: 0.97rem; margin-right:10px; }

/* Table Styles for Preise */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 28px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 12px rgba(24,44,71,0.06);
}
table th, table td {
  padding: 14px 16px;
  text-align: left;
}
table th {
  background: #F3F3F3;
  color: #182C47;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 1px solid #ECECEC;
}
table tr {
  border-bottom: 1px solid #ECECEC;
}
table tr:last-child {
  border-bottom: none;
}
table td {
  font-size: 0.99rem;
}
@media (max-width: 768px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  table th {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px; height: 1px;
  }
  table td {
    padding: 12px 10px;
    border-bottom: 1px solid #ECECEC;
    position: relative;
  }
}

/* Details FAQ */
details[open] summary::after {
  content: "▲";
  font-size: 0.8em;
  float: right;
}
details summary {
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 9px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #182C47;
}
details summary::after {
  content: "▼";
  float: right;
  color: #8190a6;
}
details > p, details > div {
  margin-top: 8px;
}

/* Address block/contact address */
.address-block {
  background: #F3F3F3;
  border-radius: 8px;
  padding: 22px 20px 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 1rem;
}
.address-block ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.address-block li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.address-block img { height: 19px; }

.contact-details {
  margin-bottom: 18px;
  font-size: 0.98rem;
}

.map-embed {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 7px;
  color: #8190a6;
  font-size: 0.97rem;
  margin-bottom: 18px;
}
.map-embed img { height: 22px; }

/* Lists */
ul, ol {
  margin-bottom: 18px;
  color: #182C47;
}
.text-section ul, .text-section ol {
  margin-top: 6px;
  margin-bottom: 18px;
  color: #4B5767;
}
ul li, ol li {
  margin-bottom: 6px;
  font-size: 1rem;
  line-height: 1.7;
}

/* Text Sections */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.extras-options {
  margin-top: 18px;
  background: #F3F3F3;
  border-radius: 7px;
  padding: 14px 16px;
  color: #4B5767;
}
.extras-options h3 {
  margin-bottom: 6px;
  font-size: 1rem;
  color: #182C47;
}
@media (max-width: 768px) {
  .extras-options { padding: 8px 7px; }
}

/* Buttons & CTA */
.cta {
  display: inline-block;
  padding: 12px 32px;
  font-size: 1.09rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border-radius: 8px;
  background: #182C47;
  color: #fff !important;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s, transform 0.12s;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 2px 12px rgba(24,44,71,0.07);
  outline: none;
  text-align: center;
}
.cta:hover, .cta:focus {
  background: #FFDA47;
  color: #182C47 !important;
  box-shadow: 0 4px 22px rgba(24,44,71,0.11);
  transform: translateY(-1px) scale(1.02);
}

/* Price stylings */
.price {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #182C47;
}

/* Microinteractions */
button, [type=button], [type=submit] {
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
}

/* Subtle shadow for cards */
.card, .testimonial-card, .service-card, .feature-card, table {
  box-shadow: 0 2px 11px rgba(24,44,71,0.06);
}

/* Testimonial Section (high contrast) */
.testimonial-card {
  background: #F3F3F3;
  color: #182C47;
  border-left: 6px solid #182C47;
  gap: 20px;
  padding: 25px 22px;
  font-style: italic;
  margin-bottom: 20px;
  font-size: 1.02rem;
  box-shadow: 0 6px 24px rgba(24,44,71,0.07);
}
.testimonial-card .customer {
  font-style: normal;
  font-weight: 700;
  color: #FFDA47;
  margin-left: auto;
  min-width: 140px;
  text-align: right;
  font-size: 0.95rem;
}
@media (max-width: 640px) {
  .testimonial-card { flex-direction: column; align-items: flex-start; text-align: left; }
  .testimonial-card .customer { margin-left: 0; text-align: left; }
}

/* Responsive Content Patterns */
@media (max-width: 900px) {
  .content-grid, .feature-grid, .card-container, .service-list {
    flex-direction: column;
    gap: 17px;
  }
  .card, .service-card, .feature-card {
    min-width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .text-section {
    gap: 16px;
  }
  .section { margin-bottom: 36px; padding: 23px 6px; }
  .container { padding: 0 5px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* Accessibility focus ring */
a:focus, button:focus, .cta:focus {
  outline: 2px dashed #FFDA47;
  outline-offset: 2px;
}

/* Animations */
.cta, .feature-card, .service-card, .testimonial-card, .mobile-menu, .mobile-nav a, .mobile-menu-close {
  transition: box-shadow 0.19s, background 0.17s, color 0.17s, transform 0.19s;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  z-index: 4000;
  background: #182C47;
  color: #fff;
  padding: 21px 12px 21px 12px;
  box-shadow: 0 -3px 22px rgba(24,44,71,0.16);
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-wrap: wrap;
  animation: cookie-fade-in 0.7s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes cookie-fade-in {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  margin-left: 10px;
  margin-right: 10px;
  padding: 9px 22px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  background: #fff;
  color: #182C47;
  transition: background 0.17s, color 0.17s;
  box-shadow: 0 1.5px 7px rgba(24,44,71,0.10);
}
.cookie-banner .cookie-settings {
  background: #FFDA47;
  color: #182C47;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #F3F3F3;
  color: #182C47;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #182C47;
  color: #FFDA47;
}
@media (max-width: 768px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; font-size: 0.97rem; padding: 19px 7px; }
  .cookie-banner button { margin: 4px 1px; width: 100%; }
}

/* Cookie Modal Popup */
.cookie-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,44,71, 0.42);
  z-index: 4100;
  transition: background 0.26s;
  animation: fadeInModal 0.23s linear;
}
@keyframes fadeInModal {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  color: #182C47;
  border-radius: 12px;
  box-shadow: 0 2px 24px rgba(24,44,71,0.20);
  max-width: 428px;
  width: 98vw;
  padding: 28px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  font-size: 1rem;
  animation: popIn 0.25s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes popIn {
  from { transform:scale(0.93); opacity:0; }
  to { transform:scale(1); opacity:1; }
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 19px;
  font-size: 1.6rem;
  border: none;
  background: none;
  color: #182C47;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #FFDA47;
}
.cookie-modal h2 {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
  font-size: 1rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: #182C47;
  width: 18px; height: 18px;
}
.cookie-category label { font-weight: 500; }
.cookie-category .locked {
  color: #8190a6;
  font-size: 0.96rem;
  margin-left: 4px;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal-actions button {
  padding: 8px 19px;
}
@media (max-width: 540px) {
  .cookie-modal { padding: 19px 6px 17px 9px; }
  .cookie-modal-actions { flex-direction: column; gap: 6px; align-items: stretch; }
}

/* Utility Spacing */
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.pt-20 { padding-top: 20px; }
.pb-20 { padding-bottom: 20px; }

/* Hide visually (for accessibility) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Misc */
::-webkit-input-placeholder { color: #8190a6; }
::-moz-placeholder { color: #8190a6; }
:-ms-input-placeholder { color: #8190a6; }
::placeholder { color: #8190a6; }

/* For button focus on dark backgrounds */
button:focus-visible, a:focus-visible {
  outline: 2px solid #FFDA47;
  outline-offset: 2px;
}

/* --- END --- */
