/* === 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,
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background-color: #F5F5F5;
  color: #181818;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}
a {
  color: #114C8C;
  text-decoration: none;
  transition: color .2s;
}
a:focus {
  outline: 2px solid #114C8C;
  outline-offset: 2px;
}
a:hover, a:active {
  color: #D9B25B;
}

hr {
  border: 0;
  height: 1px;
  background: #E0E3EA;
  margin: 24px 0;
}

/* === TYPOGRAPHY & HEADINGS === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #114C8C;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1.15;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  line-height: 1.2;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, ul, ol, dl {
  color: #1d1d1d;
  font-size: 1rem;
  margin-bottom: 14px;
  line-height: 1.6;
}
strong, b {
  font-weight: 700;
}
em, i {
  font-style: italic;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  color: #114C8C;
  margin-bottom: 24px;
  font-weight: 500;
}

/* === UTILITY FLEX CLASSES === */
.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  align-items: flex-start;
  gap: 20px;
}

/* === SECTIONS, SPACING, STRUCTURE === */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(17,76,140,.08);
  position: relative;
}

.features, .benefits {
  padding-top: 0;
  background: #F5F5F5;
  box-shadow: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(17,76,140,.10);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 295px;
  min-width: 260px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

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

ul.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  justify-content: space-between;
  margin: 0;
}
ul.feature-grid > li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(17,76,140,.07);
  flex: 1 1 220px;
  min-width: 190px;
  max-width: 300px;
  padding: 22px 18px 15px 18px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
ul.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
  background: #F5F5F5;
  border-radius: 10px;
  padding: 6px;
}

.trust-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 14px;
  justify-content: flex-start;
}
.trust-icons > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  min-width: 170px;
  box-shadow: 0 1px 8px rgba(17,76,140,.07);
  text-align: center;
}
.trust-icons img {
  width: 42px;
  height: 42px;
  margin-bottom: 6px;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0 0 24px 0;
}
.product-list > li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(17,76,140,.07);
  padding: 22px 16px 15px 16px;
  min-width: 220px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* === HERO === */
.hero {
  background-color: #114C8C;
  color: #fff;
  padding: 56px 20px 44px 20px;
  border-radius: 0 0 28px 28px;
  margin-bottom: 48px;
  box-shadow: 0 4px 28px rgba(17,76,140,0.07);
}
.hero h1, .hero .subheadline {
  color: #fff;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}

/* === BUTTONS === */
.cta-button, .btn, .cookie-accept-btn, .cookie-reject-btn, .cookie-settings-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: #114C8C;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 10px rgba(17,76,140,0.09);
  cursor: pointer;
  margin-top: 8px;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.cta-button:hover, .cta-button:focus,
.btn:hover, .btn:focus {
  background: #D9B25B;
  color: #114C8C;
}
.cta-button:active {
  background: #0e3e74;
}

/* Cookie banner buttons */
.cookie-accept-btn {
  background: #D9B25B;
  color: #114C8C;
}
.cookie-accept-btn:hover, .cookie-accept-btn:focus {
  background: #114C8C;
  color: #fff;
}
.cookie-reject-btn {
  background: #ddd;
  color: #114C8C;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus {
  background: #bbb;
  color: #114C8C;
}
.cookie-settings-btn {
  background: #114C8C;
  color: #fff;
  border: 2px solid #D9B25B;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #D9B25B;
  color: #114C8C;
}

/* === NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(17,76,140,0.07);
  padding: 0 0 0 0;
  position: relative;
  z-index: 20;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  min-height: 64px;
  padding: 12px 20px;
}
.main-nav img {
  height: 44px;
  margin-right: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #114C8C;
  padding: 8px 0;
  border-bottom: 2.5px solid transparent;
  transition: border 0.15s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  border-bottom: 2.5px solid #D9B25B;
  color: #D9B25B;
}
.main-nav .cta-button {
  margin-left: auto;
  padding: 10px 24px;
}
@media (max-width: 1200px) {
  .main-nav img { margin-right: 16px; }
  .main-nav { gap: 16px; }
}
@media (max-width: 1024px) {
  .main-nav a { font-size: 0.95rem; }
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 18px;
  background: #fff;
  color: #114C8C;
  padding: 10px 14px;
  border: 2px solid #D9B25B;
  border-radius: 8px;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 41;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #114C8C;
  color: #fff;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 2px 32px rgba(17,76,140,0.21);
  flex-direction: column;
  z-index: 50;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.56,0.08,0.53,1.11);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 18px 0 0;
  background: #D9B25B;
  color: #114C8C;
  border-radius: 50%;
  font-size: 2rem;
  padding: 8px 14px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #114C8C;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin: 52px 0 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.3rem;
  color: #114C8C;
  padding: 12px 0;
  border-bottom: 2px solid transparent;
  width: 90vw;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #D9B25B;
  border-bottom: 2px solid #D9B25B;
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 961px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* === FOOTER === */
footer {
  background: #F5F5F5;
  border-top: 3px solid #114C8C;
  padding: 36px 0 28px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-nav a {
  font-size: 1rem;
  color: #114C8C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #D9B25B;
}
.footer-contact {
  text-align: center;
  color: #222;
  font-size: 0.94rem;
  line-height: 1.7;
}

/* === TABLES (Vergleich) === */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
  font-size: 1rem;
}
.comparison-table th, .comparison-table td {
  border: 2px solid #ececec;
  text-align: left;
  padding: 12px 10px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.comparison-table th {
  background: #114C8C;
  color: #fff;
  font-size: 1.09rem;
}
.comparison-table td {
  background: #fff;
}
.comparison-highlights {
  list-style: disc inside;
  color: #114C8C;
}
.best-value {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F5F5F5;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-top: 14px;
  box-shadow: 0 1px 6px rgba(17,76,140,.08);
}
.best-value img {
  width: 32px;
  height: 32px;
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(17,76,140,0.09);
  margin-bottom: 20px;
  flex-wrap: wrap;
  flex: 1 1 320px;
  min-width: 240px;
}
.testimonial-card .star-rating {
  color: #D9B25B;
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
}
.testimonial-card p {
  color: #1d1d1d;
  font-size: 1rem;
  margin: 0 0 4px 0;
  line-height: 1.53;
}
.testimonial-card strong {
  color: #114C8C;
  font-size: 1rem;
}
.video-testimonial-placeholder {
  background: #F5F5F5;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #999;
  font-style: italic;
}
.video-testimonial-placeholder img {
  width: 42px;
  height: 42px;
}

/* === CALL TO ACTION (CTA) SECTION === */
.cta {
  background: #114C8C;
  color: #fff;
  box-shadow: 0 4px 28px rgba(17,76,140,0.10);
  border-radius: 16px;
  margin-bottom: 40px;
}
.cta h2, .cta p {
  color: #fff;
}
.cta .cta-button {
  background: #D9B25B;
  color: #114C8C;
}
.cta .cta-button:hover, .cta .cta-button:focus {
  background: #fff;
  color: #114C8C;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 1030;
  background: #fff;
  border-top: 3px solid #D9B25B;
  box-shadow: 0 -2px 24px rgba(17,76,140,0.13);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 32px 18px 32px;
  gap: 26px;
  width: 100vw;
  max-width: 100vw;
  transition: transform .3s cubic-bezier(.8,-0.02,.38,1.01), opacity .18s;
  opacity: 1;
  visibility: visible;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.cookie-banner-text {
  font-size: 1rem;
  color: #114C8C;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 600px) {
  .cookie-banner {
    padding: 14px 8px 12px 8px;
    gap: 16px;
  }
}

/* === COOKIE MODAL === */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right:0; bottom:0;
  background: rgba(17,76,140,0.23);
  z-index: 1128;
  align-items: center;
  justify-content: center;
  transition: opacity .25s;
  pointer-events: auto;
}
.cookie-modal.open {
  display: flex;
  opacity: 1;
}
.cookie-modal-dialog {
  background: #fff;
  padding: 36px 30px 30px 30px;
  border-radius: 13px;
  box-shadow: 0 2px 24px rgba(17,76,140,.15);
  min-width: 318px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.38rem;
  color: #114C8C;
  font-weight: 700;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 10px;
  background: #D9B25B;
  color: #114C8C;
  border-radius: 50%;
  font-size: 1.4rem;
  border: none;
  width: 32px;
  height: 32px;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #114C8C;
  color: #fff;
}
.cookie-modal-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #114C8C;
}
.cookie-category.essential label {
  color: #bbb;
  font-style: italic;
}

.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 7px;
}
@media (max-width: 540px) {
  .cookie-modal-dialog {
    min-width: 90vw;
    padding: 18px 6vw 14px 6vw;
  }
}

/* === CONTACT, LOCATION, MAPS PLACEHOLDER === */
.contact ul,
.location ul,
.warranty ul, .benefits ul {
  list-style: none;
  margin: 16px 0 8px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact ul li, .location ul li, .warranty ul li, .benefits ul li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.02rem;
}
.contact ul img, .location ul img {
  width: 24px;
  height: 24px;
}
.maps-placeholder {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F5F5F5;
  border-radius: 12px;
  padding: 20px 18px;
  color: #999;
  font-style: italic;
  min-height: 60px;
  margin-top: 12px;
}
.maps-placeholder img {
  width: 38px;
  height: 38px;
}

/* === LEGAL === */
.legal ul {
  list-style: disc inside;
  margin: 14px 0;
}
.legal ul li {
  margin-bottom: 9px;
}
.legal a {
  color: #114C8C;
  text-decoration: underline;
}
.legal a:hover, .legal a:focus {
  color: #D9B25B;
}

/* === FAQ === */
.faq dl {
  margin-bottom: 20px;
}
.faq dt {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #114C8C;
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 10px;
}
.faq dd {
  margin-bottom: 10px;
  margin-left: 18px;
  color: #1d1d1d;
  font-size: 1rem;
}
.support-contact-prompt {
  margin-top: 18px;
}

/* === SUCCESS PAGE === */
.success .cta-button {
  margin-top: 24px;
  min-width: 210px;
}

/* === SPACING == */
ul, ol {
  padding-left: 20px;
}
ul {
  margin-bottom: 20px;
}
ul li, ol li {
  margin-bottom: 6px;
  line-height: 1.7;
}

/* === VISUAL HIERARCHY + GEOMETRIC STRUCTURE === */
section, .section {
  box-shadow: 0 2px 12px rgba(17,76,140,0.07);
  border-radius: 18px;
}
.card, .testimonial-card, .feature-grid > li, .trust-icons > div, .maps-placeholder, .product-list > li, .best-value {
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(17,76,140,.07);
}
hr {
  border-radius: 2px;
}

/* === TRANSITIONS AND MICRO-INTERACTIONS === */
a, .cta-button, .cookie-banner button, .btn, .cookie-modal-close {
  transition: color .17s, background .17s, border .2s, box-shadow 0.19s;
}
.card, .testimonial-card, .feature-grid > li, .mobile-nav a, .product-list > li {
  transition: box-shadow 0.15s, transform 0.18s;
}
.card:hover, .testimonial-card:hover, .feature-grid > li:hover, .mobile-nav a:hover, .product-list > li:hover {
  box-shadow: 0 4px 22px rgba(17,76,140,0.15);
  transform: translateY(-3px) scale(1.025);
}

/* === ACCESSIBILITY & CONTRAST IMPROVEMENTS === */
.testimonial-card, .testimonial-card p, .testimonial-card strong {
  background: #fff !important;
  color: #181818 !important;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding: 0 10px;
  }
  .main-nav img { height: 34px; }
  section, .section {
    padding: 26px 10px;
    margin-bottom: 38px;
    border-radius: 12px;
  }
  .hero {
    padding: 38px 10px 28px 10px;
    border-radius: 0 0 18px 18px;
    margin-bottom: 30px;
  }
  ul.feature-grid, .trust-icons, .card-container, .product-list {
    gap: 14px;
  }
}
@media (max-width: 700px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .hero h1 { font-size: 1.35rem; }
  ul.feature-grid > li, .product-list > li, .trust-icons > div { min-width: 98vw; max-width: 98vw; padding: 16px; }
  .container { padding: 0 3vw; }
  .main-nav img { height: 24px; }
  .footer-contact { font-size: 0.88rem; }
  .footer-nav { gap: 16px; }
  section, .section { padding: 12px 2vw; }
  .testimonial-card { padding: 12px; min-width: 96vw; }
}

/* === GEOMETRIC/STRUCTURED DECORATIVE ELEMENTS === */
.hero:before, .cta:before {
  content: '';
  display: block;
  width: 80px;
  height: 80px;
  background: #D9B25B;
  opacity: 0.13;
  border-radius: 18px;
  position: absolute;
  top: 22px;
  right: 38px;
  z-index: 0;
  pointer-events: none;
}
.hero:after, .cta:after {
  content: '';
  display: block;
  width: 48px;
  height: 48px;
  background: #114C8C;
  opacity: 0.10;
  border-radius: 10px;
  position: absolute;
  bottom: 24px;
  left: 29px;
  z-index: 0;
  pointer-events: none;
}

/* === GEOMETRIC/ANGULAR FONT ADJUSTMENT === */
html, body, h1, h2, h3, h4, h5, h6, .cta-button, .main-nav a, .mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-variant-ligatures: none;
  text-rendering: geometricPrecision;
}
p, .text-section, .footer-contact, .cookie-banner, .cookie-modal {
  font-family: 'Roboto', Arial, sans-serif;
}

/* === MISCELLANEOUS === */
::-webkit-input-placeholder { color: #989898; }
::-moz-placeholder { color: #989898; }
:-ms-input-placeholder { color: #989898; }
::placeholder { color: #989898; }

/* Ensure minimum visual spacing for all cards & sections */
.card, .testimonial-card, .feature-grid > li, .trust-icons > div, .product-list > li, .maps-placeholder {
  margin-bottom: 20px;
}
.section, section {
  margin-bottom: 60px;
}

/* Accessibility z-index for overlays */
.cookie-modal {
  z-index: 1128;
}
.mobile-menu {
  z-index: 1065;
}

/* Hide visually but keep accessible */
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  border:0;
}
