/* --- Voltion Glide Reinigung: Minimalist CSS Theme --- */
/* 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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body { background: #fff; color: #041E28; min-height: 100vh; font-family: 'Open Sans', Arial, sans-serif; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; display: block; height: auto; }
table { border-collapse: collapse; width: 100%; background: #fff; }
th, td { padding: 12px 8px; text-align: left; }
th { font-weight: 600; background: #F2FAFF; color: #176B87; }

/* FONTS */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat'), local('Montserrat-Regular'), url('https://fonts.gstatic.com/s/montserrat/v21/JTUQjIg1_i6t8kCHKm45xW4.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold'), url('https://fonts.gstatic.com/s/montserrat/v21/JTUQjIg1_i6t8kCHKm459Wlhzg.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), url('https://fonts.gstatic.com/s/opensans/v23/mem8YaGs126MiZpBA-UFVZ0b.woff2') format('woff2');
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #fff;
  color: #041E28;
  line-height: 1.7;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #041E28;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem; /* 36px */
  margin-bottom: 18px;
}
h2 {
  font-size: 1.5rem; /* 24px */
  margin-bottom: 16px;
}
h3 {
  font-size: 1.125rem; /* 18px */
  margin-bottom: 12px;
}
h4 {
  font-size: 1.0625rem; /* 17px */
  margin-bottom: 10px;
}
h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p { margin-bottom: 16px; color: #041E28; }
strong { font-weight: 600; }
em { font-style: italic; }

a { color: #176B87; }
a:hover, a:focus { color: #041E28; text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* --- Layout & Spacing --- */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
}
.text-section { max-width: 700px; }

.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.card { margin-bottom: 20px; position: relative; background: #fff; border-radius: 16px; box-shadow: 0 3px 16px rgba(23,107,135,0.08); transition: box-shadow .2s, transform .14s; }
.card:hover { box-shadow: 0 6px 24px rgba(23,107,135,0.12); transform: translateY(-2px); }
.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;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 220px;
  background: #F2FAFF;
  border-radius: 12px;
  padding: 26px 22px;
  box-shadow: 0 2px 8px rgba(23,107,135,0.06);
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.14s;
}
.feature-item img {
  width: 40px; height: 40px; object-fit: contain; margin-bottom: 6px;
}
.feature-item:hover {
  box-shadow: 0 6px 20px rgba(23,107,135,.13);
  transform: translateY(-2px);
}

/* Testimonials */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  color: #041E28;
  border-radius: 14px;
  box-shadow: 0 3px 20px rgba(23,107,135,0.08);
  padding: 28px 24px;
  margin-bottom: 20px; /* spacing between testimonial cards */
  min-width: 250px;
  max-width: 500px;
  transition: box-shadow 0.18s, transform 0.12s;
}
.testimonial-card p {
  font-size: 1.025rem;
  color: #041E28;
}
.testimonial-card strong { color: #176B87; }
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(23,107,135,0.13);
  transform: translateY(-2px);
}

/* Reference case */
.reference-case {
  background: #F2FAFF;
  border-radius: 11px;
  box-shadow: 0 2px 10px rgba(23,107,135,0.04);
  padding: 24px;
  margin-bottom: 20px;
}
.reference-case h3 { margin-bottom: 8px; font-size: 1.1rem; color: #176B87; }
.reference-case em { font-size: 0.95rem; color: #176B87; }

/* Blog teasers */
.blog-teaser {
  background: #F2FAFF;
  border-radius: 13px;
  padding: 24px 20px;
  box-shadow: 0 2px 8px rgba(23,107,135,0.06);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.16s, transform 0.12s;
}
.blog-teaser:hover {
  box-shadow: 0 7px 22px rgba(23,107,135,0.12);
  transform: translateY(-2px);
}
.categories-filter {
  margin-top: 10px;
  font-size: 0.98rem;
  color: #789cbe;
  display: flex;
  align-items: center;
  gap: 8px;
}
.categories-filter a {
  color: #176B87;
  margin: 0 3px;
  font-weight: 500;
}
.categories-filter a:hover { color: #041E28; text-decoration: underline; }

/* Table (Pricing) */
table { width: 100%; border: none; font-size: 1rem; border-radius: 11px; overflow: hidden; }
thead { background: #176B87; }
th { color: #fff; background: #176B87; font-weight: 600; }
td { color: #041E28; }
tbody tr:nth-child(odd) { background: #F2FAFF; }
tbody tr:nth-child(even) { background: #fff; }

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.07rem;
  padding: 12px 32px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.12s, box-shadow .15s, transform .1s;
  text-align: center;
  text-decoration: none;
}
.btn-primary {
  background: #176B87;
  color: #fff;
  box-shadow: 0 2px 12px rgba(23,107,135,0.15);
}
.btn-primary:hover, .btn-primary:focus {
  background: #041E28;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(23,107,135,0.20);
}
.btn-secondary {
  background: #F2FAFF;
  color: #176B87;
  border: 1.5px solid #176B87;
  box-shadow: 0 2px 8px rgba(23,107,135,0.06);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #176B87;
  color: #fff;
  border: 1.5px solid #176B87;
}

/* HEADER */
header {
  background: #fff;
  border-bottom: 1px solid #e2ecef;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 99;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 76px;
  padding: 0 0 0 0;
}
.header-top img { height: 44px; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  color: #041E28;
  font-family: 'Montserrat', Arial;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 4px 8px;
  position: relative;
  transition: color 0.12s;
}
.main-nav a:hover,
.main-nav a.active {
  color: #176B87;
}
.header-top .btn-primary {
  margin-left: 16px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #176B87;
  color: #fff;
  font-size: 2rem;
  border: none;
  padding: 8px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background .18s;
  z-index: 999;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #041E28;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 2px 32px rgba(23,107,135, 0.06);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.83,.04,.26,.93);
  display: flex;
  flex-direction: column;
  z-index: 2000;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: transparent;
  color: #176B87;
  border: none;
  margin: 22px 24px 0 0;
  cursor: pointer;
  border-radius: 10px;
  transition: background .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F2FAFF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 44px 0 0 0;
  padding: 0 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  padding: 12px 4px;
  color: #041E28;
  border-radius: 9px;
  transition: background .1s, color .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2FAFF;
  color: #176B87;
}

@media (max-width: 1024px) {
  .main-nav { gap: 16px; }
  .header-top { gap: 18px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 11px; }
	.container { max-width: 98vw; }
}
@media (max-width: 820px) {
  .header-top {
    flex-wrap: wrap;
    gap: 8px;
  }
  .main-nav { gap: 7px; }
  .header-top .btn-primary { margin-left: 0; margin-top: 8px; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .header-top .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute; right: 16px; top: 17px;
  }
  .header-top img {
    height: 38px;
    margin-left: 8px;
  }
  .container { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 490px) {
  .header-top img { height: 32px; }
  .mobile-menu-close { font-size: 1.6rem; margin-right: 14px; }
}

/* --- SECTIONS LAYOUT FLEX --- */
/* Overwrite mobile flex direction on columns */
@media (max-width: 768px) {
  .feature-grid,
  .content-grid,
  .card-container,
  .text-image-section {
    flex-direction: column !important;
    gap: 18px;
    align-items: stretch !important;
  }
}

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

/* --- FOOTER --- */
footer {
  background: #041E28;
  color: #fff;
  padding-top: 40px;
  border-top: 2px solid #F2FAFF;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid #12455e;
}
.footer-top img {
  height: 44px;
  filter: grayscale(18%);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 15px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.89;
  transition: color 0.13s, opacity .12s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #F2FAFF; text-decoration: underline; opacity: 1; }
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.95rem;
  margin-top: 10px;
}
.footer-contact li {
  display: flex; align-items: center; gap: 8px;
  color: #e5f6ff;
  opacity: 0.95;
  margin-bottom: 8px;
}
.footer-contact a { color: #e5f6ff; }
.footer-contact img { height: 18px; width: 18px; object-fit: contain; margin-right: 2px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 18px 0 7px 0;
}
.footer-bottom p {
  font-size: 0.97rem;
  color: #fff;
  opacity: 0.84;
}
.footer-social {
  display: flex; align-items: center; gap: 12px;
}
.footer-social a img { width: 28px; height: 28px; opacity: 0.88; transition: opacity .13s; }
.footer-social a:hover img { opacity: 1; }

@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    padding-bottom: 22px;
  }
  .footer-contact ul { margin-top: 5px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
}
@media (max-width: 480px) {
  .footer-bottom { gap: 14px; }
  .footer-social { gap: 18px; }
}

/* --- COOKIE CONSENT --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: #F2FAFF;
  box-shadow: 0 -2px 15px rgba(23,107,135,0.11);
  z-index: 3000;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 22px 14vw 22px 14vw;
  font-size: 1rem;
  color: #041E28;
  animation: cookieBannerSlide .4s;
}
@keyframes cookieBannerSlide {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 auto;
  margin-right: 14px;
}
.cookie-banner .btn-primary,
.cookie-banner .btn-secondary,
.cookie-banner .btn-cookie-settings {
  padding: 10px 28px;
  font-size: 1rem;
  border-radius: 32px;
  margin-left: 8px;
  margin-top: 6px;
}
.btn-cookie-settings {
  border: 1.5px solid #176B87;
  background: #fff;
  color: #176B87;
  font-weight: 600;
  transition: background 0.14s, color .11s;
  cursor: pointer;
}
.btn-cookie-settings:hover, .btn-cookie-settings:focus {
  background: #176B87;
  color: #fff;
}
@media (max-width: 1000px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 18px; padding: 20px 16px; }
  .cookie-banner p { margin-right: 0; }
  .cookie-banner .btn-primary,.cookie-banner .btn-secondary,.cookie-banner .btn-cookie-settings { width: 100%; margin-left: 0; }
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(23,107,135,0.23);
  z-index: 3999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.28s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  max-width: 400px;
  width: 98vw;
  padding: 30px 24px 20px 24px;
  box-shadow: 0 4px 32px rgba(23,107,135,0.13);
  animation: scaleIn .35s;
  display: flex;
  flex-direction: column;
  gap: 21px;
}
@keyframes scaleIn { from { transform: scale(.9); opacity:0;} to { transform: scale(1); opacity: 1; } }
.cookie-modal h2 { font-size: 1.25rem; margin-bottom: 7px; color: #176B87; }
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 8px;
  background: #F2FAFF;
  margin-bottom: 6px;
  font-size: 1.01rem;
}
.cookie-category label { margin-left: 4px; }
.cookie-category .toggle-switch {
  width: 40px; height: 22px; border-radius: 14px; background: #ddeef7; position: relative; cursor: pointer; transition: background .12s;
  display: inline-block;
}
.cookie-category .toggle-switch[data-checked="true"] { background: #176B87; }
.cookie-category .toggle-switch .toggle-knob {
  width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(23,107,135,0.20);
  position: absolute; top: 2px; left: 2px; transition: left .2s;
}
.cookie-category .toggle-switch[data-checked="true"] .toggle-knob { left: 20px; }
.cookie-modal-actions { display: flex; gap: 12px; margin-top: 10px; justify-content: flex-end; }
.cookie-modal .btn-primary,.cookie-modal .btn-secondary,.cookie-modal .btn-cookie-settings {
  padding: 10px 26px;
  font-size: 1rem;
}

/* --- Helper Classes --- */
.hide { display: none !important; }
.text-center { text-align: center; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }

/* --- Responsive Headings & Paragraphs --- */
@media (max-width: 620px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.14rem; }
  h3 { font-size: 1.07rem; }
  section { padding-top: 28px; }
}

/* Hide extra margin on last section */
section:last-of-type { margin-bottom: 0; }

/* --- Utility: White Space & Hierarchy --- */
main {
  background: #fff;
  min-height: 70vh;
  padding-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
/* UL, OL, LI Style */
ul, ol {
  margin-left: 0;
  padding-left: 24px;
  margin-bottom: 15px;
}
ul li, ol li {
  margin-bottom: 10px;
  color: #041E28;
  font-size: 1rem;
  list-style-type: disc;
}
.text-section ul, .content-wrapper ul {
  margin-top: 2px;
  margin-bottom: 15px;
}
.text-section ul li { list-style-type: disc; }

/* Forms (Contact Page) */
input, textarea, select {
  border: 1.5px solid #e2ecef;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 18px;
  outline: none;
  transition: border 0.12s;
  font-family: 'Open Sans', Arial, sans-serif;
}
input:focus, textarea:focus, select:focus { border: 1.5px solid #176B87; }

/* --- Animation for micro-interactions --- */
.btn-primary, .btn-secondary, .btn-cookie-settings, .mobile-menu-toggle, .mobile-menu-close {
  transition: background .14s, color .13s, box-shadow .14s, transform .11s;
  will-change: transform, background, color, box-shadow;
}

/*--- Misc. ---*/
::-webkit-input-placeholder { color: #6a7e96; }
:-moz-placeholder { color: #6a7e96; }
::-moz-placeholder { color: #6a7e96; }
:-ms-input-placeholder { color: #6a7e96; }
::placeholder { color: #6a7e96; }

[tabindex="0"]:focus {
  outline: 2px solid #176B87;
  outline-offset: 2px;
}

/* --- Accessibility/contrast for testimonials --- */
.testimonial-card, .reference-case {
  color: #041E28;
  background: #fff;
}

/* --- Hide elements on print --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
}

/* --- End of Voltion Glide Reinigung CSS --- */
