/* 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;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  background: #F6F5F2;
  color: #162032;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  box-sizing: border-box;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #162032;
  text-decoration: underline;
  transition: color 0.25s;
}
a:focus, a:hover {
  color: #C2B48F;
}
ul, ol {
  padding-left: 24px;
}
li + li {
  margin-top: 8px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #162032;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 12px;
}
p, blockquote, ul, ol {
  margin-bottom: 16px;
}
strong {
  font-weight: bold;
}
blockquote {
  font-style: italic;
  background: #fff9e6;
  color: #162032;
  border-left: 6px solid #C2B48F;
  padding: 18px 24px;
  margin: 0 0 12px 0;
  border-radius: 12px;
}

/* BRAND COLORS */
:root {
  --primary: #162032;
  --secondary: #C2B48F;
  --accent: #F6F5F2;
  --vibrant-1: #1479FF;
  --vibrant-2: #3FF7B2;
  --vibrant-3: #E12578;
  --electric-1: #00FFD0;
  --electric-2: #FFB400;
  --danger: #E12578;
}

/* LAYOUT CONTAINER CLASSES */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  background: #FFF;
  border-radius: 22px;
  box-shadow: 0 4px 28px 0 rgba(22,32,50,0.07);
  padding: 40px 28px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* SPACING AND ALIGNMENT PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  min-width: 270px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 28px 0 rgba(22,32,50,0.12);
  padding: 32px 24px;
  transition: transform 0.19s cubic-bezier(.6,.1,.5,1), box-shadow 0.16s;
}
.card:hover, .card:focus {
  transform: translateY(-4px) scale(1.02) rotate(-1deg);
  box-shadow: 0 14px 38px 0 rgba(20,121,255,0.10);
  z-index: 2;
}
.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: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 rgba(22,32,50,0.09);
  transition: box-shadow 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 10px 28px 0 rgba(228,37,120,0.10);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* VIBRANT ENERGETIC FEATURE GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature-grid > div {
  background: linear-gradient(135deg, var(--accent), #fff 60%, var(--electric-2) 200%);
  border-radius: 18px;
  box-shadow: 0 4px 20px 0 rgba(20,121,255,0.11);
  min-width: 220px;
  flex: 1 1 250px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.17s, transform 0.17s;
}
.feature-grid > div img {
  width: 41px;
  margin-bottom: 8px;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 36px 0 rgba(63,247,178,0.13);
  transform: scale(1.03) rotate(1deg);
}

/* CALL TO ACTION BUTTONS */
.cta,
.cta.primary,
.cta.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.12rem;
  padding: 15px 34px;
  border-radius: 44px;
  transition: background 0.18s, color 0.18s, box-shadow 0.26s;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 18px 0 rgba(20,121,255,0.09);
  margin-top: 12px;
  text-decoration: none;
}
.cta.primary {
  background: linear-gradient(90deg, var(--vibrant-1) 50%, var(--danger) 110%);
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(20,121,255,0.12);
}
.cta.primary:hover, .cta.primary:focus {
  background:linear-gradient(90deg, var(--danger) 30%, var(--vibrant-1) 80%);
  color: #fff;
  box-shadow: 0 2px 24px 0 rgba(226,37,120,0.17);
  transform: translateY(-2px) scale(1.04);
}
.cta.secondary {
  background: var(--secondary);
  color: #162032;
  border: 2px solid var(--vibrant-1);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #fff;
  color: var(--danger);
  border-color: var(--danger);
  transform: translateY(-1px) scale(1.02);
}

/* NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 8px 22px 0 rgba(22,32,50,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 19px 22px 19px;
  position: relative;
  z-index: 10;
  flex-wrap: wrap;
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 16px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #162032;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: transparent;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.14s, color 0.13s;
}
header nav a:hover, header nav a:focus {
  color: #fff;
  background: var(--vibrant-1);
}
header .cta.primary {
  margin-left: 24px;
}

/* FOOTER */
footer {
  background: #162032;
  color: #fff;
  padding: 44px 16px 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 10px;
}
footer nav a {
  color: #C2B48F;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 3px 7px;
  border-radius: 6px;
  transition: color 0.17s, background 0.11s;
  text-decoration: none;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  background: #C2B48F;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  border-top: 1px solid rgba(194,180,143,0.2);
  padding-top: 20px;
}
.footer-info img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-right: 12px;
}
.footer-info p {
  font-size: 0.99rem;
  color: #fff;
  letter-spacing: 0.01em;
}

/* TESTIMONIALS / REVIEWS */
.kundenstimmen, .kundenmeinungen, .testimonial-card {
  background: transparent;
}
.testimonial-card {
  background: #f6f5f2;
  border-left: 6px solid var(--vibrant-1);
  box-shadow: 0 6px 32px 0 rgba(20,121,255,0.14);
  margin-bottom: 24px;
}
.testimonial-card blockquote {
  color: #162032;
  background: transparent;
  border: none;
  margin: 0 0 6px 0;
  font-size: 1.15rem;
}
.testimonial-card strong {
  color: var(--danger);
  font-weight: 700;
}

/* SPECIAL ELEMENTS, BADGES, MODALS */
.certification-showcase, .guarantee-statements {
  background: var(--electric-2);
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 24px;
  margin-top: 16px;
  font-size: 1.06rem;
  box-shadow: 0 2px 12px 0 rgba(255,180,0,0.10);
  letter-spacing: .3px;
}
.certification-showcase {
  background: var(--vibrant-3);
}
.guarantee-statements {
  background: var(--vibrant-1);
}

/* LOCATION MAP IMAGE SECTION */
.location-map {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 10px 0;
  background: #F6F5F2;
  border-radius: 10px;
  padding: 18px 18px;
  font-size: 1.05rem;
}

.business-hours {
  margin-top: 12px;
  margin-bottom: 22px;
  color: #333;
  font-size: 1.03rem;
}

/* SERVICE BENEFITS/PRICING OVERVIEW */
.service-benefits ul,
.pricing-overview ul {
  margin: 0 0 0 16px;
}
.pricing-overview h3 {
  margin-bottom: 10px;
  color: var(--vibrant-3);
}

/* COOKIE CONSENT BANNER (fixed, animated) */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -8px 28px 0 rgba(20,121,255,0.17);
  z-index: 1999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 10vw 22px 7vw;
  font-size: 1.01rem;
  transition: transform 0.42s cubic-bezier(.85,0,.19,1), opacity 0.3s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.cookie-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 44px;
  border: none;
  padding: 10px 28px;
  margin: 0;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, color 0.16s;
  box-shadow: 0 2px 12px 0 rgba(20,121,255,0.08);
}
.cookie-banner .accept {
  background: var(--vibrant-1);
  color: #fff;
}
.cookie-banner .accept:hover,  .cookie-banner .accept:focus {
  background: var(--electric-1);
  color: #162032;
}
.cookie-banner .reject {
  background: #fff;
  color: var(--danger);
  border: 2px solid var(--danger);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--danger);
  color: #fff;
}
.cookie-banner .settings {
  background: #fff;
  color: var(--vibrant-2);
  border: 2px solid var(--vibrant-2);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--vibrant-2);
  color: #fff;
}

/* COOKIE PREFERENCE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2999;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 66px 0 rgba(20,121,255,0.22);
  transform: translate(-50%, -50%) scale(1);
  width: 95vw;
  max-width: 410px;
  padding: 38px 25px 26px 25px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.37s cubic-bezier(.67,.02,.23,1);
}
.cookie-modal.modal-hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal h3 {
  color: var(--vibrant-1);
  margin-bottom: 15px;
}
.cookie-modal .preference-list {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-bottom: 17px;
}
.cookie-modal .preference-list label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.04rem;
  font-weight: 600;
  color: #162032;
}
.cookie-modal input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--vibrant-1);
}
.cookie-modal .essential {
  color: var(--vibrant-2);
  font-weight: bold;
  font-size: 1rem;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal button {
  border-radius: 44px;
  padding: 9px 21px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
.cookie-modal .save-preferences {
  background: var(--vibrant-1);
  color: #fff;
}
.cookie-modal .modal-close {
  background: #eaeaea;
  color: #162032;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 24px;
  right: 16px;
  z-index: 1111;
  width: 44px;
  height: 44px;
  background: var(--vibrant-1);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 12px 0 rgba(20,121,255,0.16);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.12s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--danger);
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 400px;
  min-width: 230px;
  height: 100vh;
  background: #fff;
  box-shadow: -12px 0 38px 0 rgba(20,121,255,0.15);
  transform: translateX(102%);
  opacity: 0;
  transition: transform 0.34s cubic-bezier(.65,0,.33,1), opacity 0.37s;
  z-index: 2100;
  padding-top: 30px;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin-bottom: 18px;
  background: var(--danger);
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 41px;
  height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--vibrant-1);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 25px;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.16rem;
  color: #162032;
  letter-spacing: 0.06em;
  text-decoration: none;
  background: transparent;
  border-radius: 8px;
  padding: 12px 12px;
  transition: background 0.19s, color 0.14s;
  min-width: 134px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--vibrant-3);
  color: #fff;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1080px) {
  .container { max-width: 990px; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  header, footer {
    padding-left: 7px;
    padding-right: 7px;
  }
}
@media (max-width: 768px) {
  html { font-size: 95%; }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .text-section, .card {
    padding: 24px 10px;
    margin-bottom: 0;
  }
  header {
    flex-direction: column;
    gap: 13px;
    padding: 18px 7px 13px 7px;
  }
  header nav {
    display: none; /* Hide desktop nav for mobile */
  }
  header .cta.primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-grid {
    gap: 16px;
  }
  .feature-grid > div {
    min-width: 170px;
    padding: 18px 7px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 9px;
  }
  .footer-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
  }
  .footer-info img { margin-bottom: 8px; }
  .section {
    margin-bottom: 34px;
    padding: 22px 6px;
  }
  .content-grid, .card-container {
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}
@media (max-width: 540px) {
  html { font-size: 89%; }
  .feature-grid {
    flex-direction: column;
  }
  .cookie-banner {
    padding: 19px 6vw 19px 5vw;
    flex-direction: column;
    gap: 14px;
  }
  .cookie-banner .cookie-buttons {
    flex-direction: column;
    gap: 9px;
  }
  .cookie-modal {
    padding: 16px 6px 10px 6px;
    min-width: 0;
    width: 97vw;
  }
}

/* ANIMATIONS */
.cta.primary, .cta.secondary, .card, .feature-grid > div, .testimonial-card {
  will-change: transform, box-shadow;
}

/* MICRO-INTERACTIONS */
.feature-grid > div:active {
  transform: scale(0.97);
  box-shadow: 0 2px 11px 0 rgba(20,121,255,0.09);
}
.cta:active {
  transform: scale(0.96);
}

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

/* Hide Scroll when Menu/Modal Active */
body.menu-open, body.modal-open {
  overflow: hidden;
}

/* ACCESSIBILITY */
:focus {
  outline: 2px solid var(--vibrant-1);
  outline-offset: 1px;
}

/* PRINT OPTIMIZATION */
@media print {
  .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal, header .cta { display: none !important; }
  body { color: #162032; background: #fff; }
}
