/* ===== CSS RESET & BASE ===== */
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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #145871;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #145871;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus { outline: 2px solid #81B8CA; }

/* ===== FONT IMPORT ===== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&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, Helvetica, sans-serif;
  color: #145871;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 { font-size: 2.25rem; line-height: 1.13; margin-bottom: 24px; }
h2 { font-size: 1.5rem; margin-bottom: 20px; }
h3 { font-size: 1.125rem; margin-bottom: 12px; } 
h4, h5, h6 { font-size: 1rem; }

p, ul, ol, table, blockquote {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #145871;
  margin-bottom: 16px;
  max-width: 800px;
}
strong { font-weight: 600; }
em { font-style: italic; }

ul, ol {
  padding-left: 22px;
  margin-bottom: 24px;
  list-style-position: outside;
}
ul li, ol li {
  margin-bottom: 8px;
}

.table, table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  margin-bottom: 30px;
}
table th, table td {
  padding: 12px 8px;
  border-bottom: 1px solid #F4F8FB;
}
table th {
  background: #F4F8FB;
  color: #145871;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(20,88,113,0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(20,88,113,0.13);
}

.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;
  margin-bottom: 40px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 24px 18px 24px;
  background: #F4F8FB;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(20,88,113,0.04);
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 16px rgba(20,88,113,0.10);
}
.client-name {
  font-size: 1rem;
  color: #145871;
  font-weight: 600;
  opacity: 0.85;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
  list-style: none;
}
.feature-grid li {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(20,88,113,0.05);
  padding: 28px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s;
}
.feature-grid li:hover {
  box-shadow: 0 4px 18px rgba(20,88,113,0.10);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  filter: none;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
  list-style: none;
}
.service-list li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(20,88,113,0.05);
  flex: 1 1 220px;
  min-width: 200px;
  padding: 24px 20px 18px 20px;
  margin-bottom: 0px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.18s;
}
.service-list li:hover {
  box-shadow: 0 4px 18px rgba(20,88,113,0.10);
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.project-case {
  background: #F4F8FB;
  border-radius: 10px;
  padding: 22px 18px;
  box-shadow: 0 1px 5px rgba(20,88,113,0.07);
}

.contact-info-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #145871;
}
.contact-info-item img {
  width: 22px;
  height: 22px;
}

.contact-cta-text { margin-bottom: 20px; }

.blog-list .blog-teaser {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(20,88,113,0.04);
  padding: 24px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.18s;
}
.blog-list .blog-teaser:hover {
  box-shadow: 0 6px 20px rgba(20,88,113,0.09);
}

/********** HERO SECTIONS **********/
.hero, .hero-about, .hero-services, .hero-prices, .hero-referenzen, .hero-blog, .hero-contact {
  background: #F4F8FB;
  display: flex;
  align-items: center;
  min-height: 320px;
  margin-bottom: 60px;
  padding: 56px 0 32px 0;
}
.hero h1,
.hero-about h1,
.hero-services h1,
.hero-prices h1,
.hero-referenzen h1,
.hero-blog h1,
.hero-contact h1 {
  font-size: 2.25rem;
  color: #145871;
  margin-bottom: 18px;
  font-weight: 700;
  line-height: 1.18;
}
.hero p,
.hero-about p,
.hero-services p,
.hero-prices p,
.hero-referenzen p,
.hero-blog p,
.hero-contact p {
  font-size: 1.18rem;
  color: #145871;
  margin-bottom: 22px;
  opacity: .95;
  max-width: 740px;
}

/********** BUTTONS & CTA **********/
.cta-primary, .cta-secondary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  display: inline-block;
  padding: 13px 34px;
  background: #145871;
  color: #fff;
  border-radius: 24px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-align: center;
  box-shadow: 0 2px 8px rgba(20,88,113,.07);
  outline: none;
  border: none;
  cursor: pointer;
  transition: background 0.21s, color 0.18s, box-shadow 0.18s;
  margin-bottom: 0;
}
.cta-primary:hover, .cta-primary:focus {
  background: #0e3e54;
  color: #fff;
  box-shadow: 0 4px 18px rgba(20,88,113,0.15);
}
.cta-secondary {
  background: #81B8CA;
  color: #145871;
  border: none;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #145871;
  color: #fff;
}
button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/******** NAVIGATION & HEADER ********/
header {
  background: #fff;
  border-bottom: 1px solid #F4F8FB;
  padding: 0 0;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 0;
  justify-content: space-between;
  min-height: 70px;
}
.logo img {
  height: 45px;
  width: auto;
  margin-right: 30px;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-right: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #145871;
  padding: 7px 14px;
  border-radius: 7px;
  transition: background 0.15s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F4F8FB;
  color: #145871;
}
header .cta-primary {
  margin-left: 18px;
  padding: 11px 26px;
  font-size: 1rem;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #145871;
  margin-left: 10px;
  display: none;
}

/******** MOBILE MENU ********/
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(20,88,113,0.98);
  transform: translateX(100%);
  transition: transform 0.44s cubic-bezier(.4,0,.2,1);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  padding: 24px 24px 14px 0;
  cursor: pointer;
  margin-right: 10px;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 0 0 0 40px;
  margin-top: 12px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 12px 0;
  font-size: 1.18rem;
  border-radius: 5px;
  width: 100%;
  transition: background 0.18s, color 0.17s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #81B8CA;
  color: #145871;
}

/******** FOOTER ********/
footer {
  background: #F4F8FB;
  border-top: 1px solid #E6EEF2;
  padding: 40px 0 22px 0;
  width: 100%;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 28px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-logo img {
  height: 40px;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #145871;
  opacity: .98;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 0;
}
.footer-nav a:hover {
  text-decoration: underline;
}
.footer-contact {
  font-size: 0.97rem;
  color: #145871;
}
.footer-contact a {
  color: #145871;
  text-decoration: underline;
}
.footer-copy {
  font-size: 0.92rem;
  opacity: 0.7;
  margin-top: 12px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/******** SPECIAL SECTIONS ********/
.privacy-policy, .gdpr-policy, .cookie-policy, .terms-conditions, .thank-you-confirmation {
  padding: 48px 0 32px 0;
}

/******** COOKIE BANNER ********/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1050;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -6px 24px rgba(20,88,113,0.08), 0 -1px 0 #F4F8FB;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 24px 20px;
  font-size: 1rem;
  color: #145871;
  transition: transform 0.4s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 300px;
  max-width: 560px;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner button,
.cookie-banner .cookie-settings-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
  border-radius: 18px;
  border: none;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cookie-banner .cookie-accept {
  background: #145871;
  color: #fff;
}
.cookie-banner .cookie-reject {
  background: #F4F8FB;
  color: #145871;
  border: 1px solid #81B8CA;
}
.cookie-banner .cookie-settings-btn {
  background: transparent;
  color: #145871;
  border: 1px solid #81B8CA;
}
.cookie-banner .cookie-accept:hover {
  background: #0e3e54;
}
.cookie-banner .cookie-reject:hover,
.cookie-banner .cookie-settings-btn:hover {
  background: #E6EEF2;
}

/***** COOKIE SETTINGS MODAL *****/
.cookie-modal {
  position: fixed;
  z-index: 1101;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20,88,113,0.15);
  pointer-events: all;
  opacity: 1;
  transition: opacity 0.21s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px 28px 32px;
  min-width: 310px;
  max-width: 96vw;
  box-shadow: 0 8px 32px rgba(20,88,113,0.15);
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #145871;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-modal .cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.cookie-modal .cookie-modal-header h2 {
  font-size: 1.2rem;
  color: #145871;
  margin-bottom: 0;
}
.cookie-modal .cookie-modal-close {
  background: none;
  border: none;
  color: #145871;
  font-size: 2.2rem;
  cursor: pointer;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  font-weight: 500;
  color: #145871;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: #145871;
}
.cookie-modal .cookie-category .cookie-essential {
  font-style: italic;
  color: #81B8CA;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 16px;
}
.cookie-modal .cookie-accept, .cookie-modal .cookie-reject {
  padding: 10px 22px;
  font-size: 1.03rem;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal .cookie-accept {
  background: #145871;
  color: #fff;
}
.cookie-modal .cookie-reject {
  background: #F4F8FB;
  color: #145871;
  border: 1px solid #81B8CA;
}
.cookie-modal .cookie-accept:hover {
  background: #0e3e54;
}
.cookie-modal .cookie-reject:hover {
  background: #E6EEF2;
}

/******** MEDIA QUERIES ********/
@media (max-width: 1020px) {
  .container {
    max-width: 97vw;
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  .content-wrapper {
    gap: 18px;
  }
  .feature-grid,
  .service-list {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container, header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-primary {
    order: 1;
    margin-left: 0;
    margin-top: 12px;
    align-self: flex-start;
  }
  .feature-grid, .service-list, .content-grid, .contact-info-list {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    padding: 18px 10px 15px 10px;
  }
  .blog-list .blog-teaser {
    padding: 16px 10px;
  }
  header .container {
    min-height: 60px;
  }
  .hero, .hero-about, .hero-services, .hero-prices, .hero-referenzen, .hero-blog, .hero-contact {
    min-height: 160px;
    padding: 32px 0 16px 0;
  }
  footer .container {
    gap: 12px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 24px 10px;
  }
  .cookie-modal .cookie-modal-content {
    padding: 26px 12px 18px 12px;
    min-width: unset;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.13rem; }
  .feature-grid li, .service-list li {
    padding: 17px 7px 12px 7px;
  }
  .testimonial-card {
    padding: 15px 4px 12px 4px;
  }
  .card {
    padding: 20px 8px;
  }
}

/***** Animations & Micro-interactions *****/
.cta-primary, .cta-secondary, .cookie-banner button, .cookie-modal button {
  transition: background 0.25s, color 0.21s, box-shadow 0.2s, transform 0.14s;
}
.cta-primary:active, .cta-secondary:active,
.cookie-banner button:active, .cookie-modal button:active {
  transform: translateY(1.5px) scale(.97);
}
.mobile-menu,
.cookie-banner,
.cookie-modal {
  transition: transform 0.44s cubic-bezier(.4,0,.2,1), opacity 0.3s;
}

/***** Hide/Show helpers (for JavaScript) *****/
.hide { display: none !important; }
.show { display: block !important; }

/**** Accessibility focus ring ****/
:focus-visible {
  outline: 2px solid #81B8CA;
  outline-offset: 2px;
}

/***** Utility *****/
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/***** END Minimalist CSS for Glanzkraft Reinigung *****/