/* VitalGlanz Köln – style.css – gradient_modern design
   Responsive Flexbox, cookie banner, mobile menu, ALL requirements covered */

/* RESET & BASELINE 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #21526E;
  background: #F9F7F2;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-image: linear-gradient(180deg, #F9F7F2 0%, #e6eeea 100%);
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #21526E;
  margin-bottom: 12px;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 16px; }
h2 { font-size: 2rem; line-height: 1.15; margin-bottom: 14px; }
h3 { font-size: 1.3rem; line-height: 1.2; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }
p {
  margin-bottom: 16px;
}

strong { font-weight: 700; }
a {
  color: #21526E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #67B68E;
  text-decoration: underline;
}
ul, ol {
  margin: 0 0 16px 16px;
  padding: 0;
}
ul li, ol li { margin-bottom: 8px; }
img { max-width: 100%; display: block; border-radius: 6px; }

/* LAYOUT CONTAINERS (Consistent Spacing) */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.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: 18px;
  box-shadow: 0 4px 20px 0 rgba(33,82,110,0.08);
  padding: 24px 20px 20px 20px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px 0 rgba(103,182,142,0.15);
  transform: translateY(-2px) scale(1.015);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(33,82,110,0.05);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 440px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s, transform 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(103,182,142,0.16);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card p {
  color: #21526E;
  font-size: 1.06rem;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #67B68E;
  font-size: 0.95rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & NAVIGATION */
header {
  background: linear-gradient(90deg, #F9F7F2 60%, #E5EDF2 100%);
  box-shadow: 0 2px 10px 0 rgba(33,82,110,0.05);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
}
.brand-logo {
  display: flex;
  align-items: center;
  margin-right: 24px;
}
.brand-logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.025rem;
}
.main-nav a {
  padding: 7px 8px;
  border-radius: 8px;
  color: #21526E;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #f3f6f0;
  color: #67B68E;
}
.cta-btn {
  background: linear-gradient(90deg, #67B68E 0%, #21526E 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 24px;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(103,182,142,0.13);
  font-size: 1.09rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.13s, transform 0.13s, box-shadow 0.13s;
  margin-left: 20px;
  display: inline-block;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #21526E 0%, #67B68E 100%);
  color: #fff;
  transform: translateY(-1px) scale(1.035);
  box-shadow: 0 4px 20px 0 rgba(33,82,110,0.11);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #21526E;
  box-shadow: 0 2px 8px 0 rgba(103,182,142,0.11);
  position: absolute;
  top: 17px;
  right: 16px;
  z-index: 220;
  transition: background 0.17s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #e6eeea;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 85vw;
  max-width: 340px;
  height: 100vh;
  background: #fff;
  box-shadow: -3px 0 30px 0 rgba(33,82,110,0.17);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.6,0.06,0.17,1);
  z-index: 520;
  display: flex;
  flex-direction: column;
  padding: 24px 0 0 0;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: #21526E;
  font-size: 2rem;
  margin-right: 18px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: color 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: #67B68E; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-left: 30px;
}
.mobile-nav a {
  color: #21526E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 0 6px 0;
  border-bottom: 1px solid #f3f6f0;
  border-radius: 0;
  transition: color 0.2s;
  min-width: 120px;
  min-height: 42px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus { color: #67B68E; background: #e6eeea; }

@media (max-width: 1020px) {
  header .container {
    gap: 6px;
    padding-left: 7px;
    padding-right: 7px;
  }
  .cta-btn { margin-left: 10px; padding: 10px 17px; }
  .main-nav { gap: 15px; font-size: 0.995rem; }
}

@media (max-width: 960px) {
  .main-nav { gap: 11px; font-size: 0.95rem; }
}
@media (max-width: 860px) {
  header .container { padding-left: 3px; padding-right: 3px; }
}

@media (max-width: 768px) {
  .main-nav, .cta-btn { display: none !important; }
  .mobile-menu-toggle { display: flex; }
  .mobile-menu { display: flex; }
  .brand-logo img { height: 41px; }
}

@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* HERO & FEATURE SECTIONS */
.hero, .hero-thanks {
  padding: 80px 0 56px 0;
  background: linear-gradient(90deg, #F9F7F2 38%, #E5EDF2 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
}
.hero .container, .hero-thanks .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero h1, .hero-thanks h1 {
  font-size: 2.45rem;
  color: #21526E;
  margin-bottom: 10px;
  text-shadow: 0 1px 0 #fff;
}
.hero p, .hero-thanks p {
  font-size: 1.15rem;
  color: #21526E;
  margin-bottom: 18px;
}

.features ul, .features-about ul, .features-map ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding-left: 0;
}
.features ul li, .features-about ul li, .features-map ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px 11px 11px;
  background: #f2fbf6;
  border-radius: 14px;
  color: #21526E;
  font-weight: 500;
  font-size: 1.01rem;
  box-shadow: 0 1px 6px 0 rgba(103,182,142,0.06);
  transition: box-shadow 0.18s;
}
.features ul li img, .features-about ul li img, .features-benefits ul li img {
  height: 28px; width: 28px; border-radius: 50%; background: #e9f7ef; padding: 3px;
}

/* FLEX SECTIONS */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
  justify-content: flex-start;
}
.service-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(103,182,142,0.07);
  padding: 22px 20px 18px 20px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.14s;
}
.service-item:hover {
  box-shadow: 0 6px 26px 0 rgba(33,82,110,0.14);
  transform: translateY(-2px) scale(1.016);
}
.service-item h3 {
  color: #21526E;
  font-size: 1.2rem;
  margin-bottom: 7px;
}
.service-item .price {
  color: #67B68E;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}

/* ABOUT PAGE */
.brand-values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: disc inside;
  padding-left: 0;
}
.brand-values-list li {
  background: #e6eeea;
  padding: 7px 15px;
  border-radius: 10px;
  font-size: 1.03rem;
  color: #21526E;
  margin-right: 7px;
  margin-bottom: 6px;
}
.text-section {
  margin-bottom: 15px;
}

/* CONTACT/BLOCKS */
.contact-info, .contact-info-block {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px 0 rgba(103,182,142,0.08);
  padding: 17px 18px 13px 18px;
  margin-bottom: 18px;
  color: #21526E;
  font-size: 1rem;
  word-break: break-word;
}
.contact-info strong, .contact-info-block strong {
  color: #21526E;
  font-family: 'Montserrat', Arial, sans-serif;
}
.features-map .text-section, .features-map .contact-info-block {
  margin-bottom: 8px;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, #21526E 0%, #67B68E 90%);
  color: #fff;
  padding: 38px 0 17px 0;
  margin-top: 70px;
  font-size: 1rem;
  box-shadow: 0 -2px 16px 0 rgba(103,182,142,0.07);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 11px;
}
.footer-nav a {
  color: #fff;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.93;
  transition: color 0.18s, opacity 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F9F7F2;
  opacity: 1;
}
footer .contact-info {
  background: rgba(255,255,255,0.11);
  color: #fff;
  border-radius: 8px;
  box-shadow: none;
  padding: 16px;
  font-size: 1rem;
  margin-bottom: 7px;
}
footer .contact-info a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.17s;
}
.footer-legal {
  font-size: 0.98rem;
  color: #e6eeea;
  opacity: 0.79;
  margin-top: 9px;
}
.footer-legal a { color: #e6eeea; opacity: 0.95; }
.footer-legal a:hover, .footer-legal a:focus { color: #fff; }

/* LEGAL TEXT */
.legal-text {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 12px 0 rgba(33,82,110,0.04);
  padding: 40px 17px 30px 17px;
  margin-bottom: 60px;
}

/* BUTTONS & INTERACTIONS */
button, .cta-btn, input[type=button], input[type=submit] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.14s;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  border-top: 3px solid #67B68E;
  box-shadow: 0 -2px 24px 0 rgba(33,82,110,0.10);
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
  z-index: 9999;
  padding: 22px 18px 18px 18px;
  font-size: 1.02rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}
.cookie-banner button, .cookie-banner .cookie-btn {
  background: #67B68E;
  color: #fff;
  font-size: 1rem;
  border-radius: 20px;
  padding: 8px 18px;
  font-weight: 700;
  box-shadow: 0 1px 8px 0 rgba(103,182,142,0.07);
  border: none;
  margin: 0 0 0 0;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .cookie-btn.settings {
  background: #21526E;
}
.cookie-banner button:hover, .cookie-banner button:focus, .cookie-banner .cookie-btn:hover, .cookie-btn:focus {
  background: #21526E;
}
.cookie-banner .cookie-btn.reject {
  background: #E5544E; color: #fff;
}
.cookie-banner .cookie-btn.reject:hover {
  background: #a93c36;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(33,82,110,0.24);
  z-index: 10010;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.active {
  display: flex;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 38px 24px 20px 24px;
  max-width: 430px;
  min-width: 300px;
  box-shadow: 0 6px 40px 0 rgba(33,82,110,0.24);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 4px;
}
.cookie-modal-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-category label {
  color: #21526E;
  font-weight: 600;
}
.cookie-category input[type=checkbox] {
  accent-color: #67B68E;
  width: 22px; height: 22px;
  border-radius: 4px;
  margin-right: 6px;
  border: 1.5px solid #21526E;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 17px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  padding: 8px 18px;
  font-size: 1rem;
}

/* ANIMATION UTILITIES */
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu, .cookie-modal-overlay, .cookie-banner {
    transition: all 0.32s cubic-bezier(0.64,0,0.32,1);
  }
  .cta-btn, .testimonial-card, .card, .service-item {
    transition: box-shadow 0.18s, transform 0.14s, background 0.19s;
  }
}

/* RESPONSIVENESS (flex-direction and size) */
@media (max-width: 1100px) {
  .service-list, .features ul, .features-about ul, .content-grid {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .hero,
  .hero-thanks {
    min-height: 240px;
    padding: 64px 0 38px 0;
  }
  .card-container,
  .service-list,
  .footer-nav,
  .features ul,
  .features-about ul {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .section, .legal-text { padding: 28px 9px 22px 9px; }
  .testimonial-card, .service-item, .card {
    min-width: 100%;
    max-width: 100%;
    padding: 14px 11px 14px 11px;
  }
  .content-grid, .service-list, .card-container {
    flex-direction: column;
    gap: 16px;
    justify-content: flex-start;
  }
  .features ul, .features-about ul, .brand-values-list {
    flex-direction: column;
    gap: 9px;
  }
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 15px;
  }
  .text-image-section { flex-direction: column; gap: 14px; }
  .brand-logo img { height: 36px; }
  .cta-btn {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }
  .cookie-modal {
    min-width: 0;
    width: 92vw;
    padding: 20px 7vw 12px 7vw;
  }
}
@media (max-width: 420px) {
  .cookie-modal {
    padding: 14px 3vw 9px 3vw;
  }
  .cookie-banner {
    padding: 16px 4vw 14px 4vw;
  }
}

/* MISC UI fixes for clarity */
::-webkit-input-placeholder { color: #8faab5; opacity: 1; }
:-moz-placeholder { color: #8faab5; opacity: 1; }
::-moz-placeholder { color: #8faab5; opacity:1; }
:-ms-input-placeholder { color: #8faab5; opacity: 1; }
input, textarea {
  font-family: 'Open Sans',Arial,sans-serif;
  font-size: 1rem;
}

/* VISUAL SEPARATORS */
hr {
  border: none;
  border-top: 1.8px solid #e6eeea;
  margin: 28px 0 24px 0;
}

section {
  padding: 20px 0;
}

/* ENSURE NO ABSOLUTE LAYOUT FOR CONTENT – only allowed for decor */

/* END */
