/* ===================================================
   CSS Reset & Normalize (mobile-first, modern_bold)
   =================================================== */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F5F7FA;
  color: #162534;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.2s;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #184B6B;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F9A826;
}
ul, ol {
  padding-left: 1.2em;
  margin-top: 12px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 16px;
}
strong {
  font-weight: 700;
  color: #184B6B;
}

/* =============================================
   1. Typography (modern_bold style)
   ============================================= */
h1, h2, h3, h4 {
  font-family: 'Roboto Slab', 'Roboto', Arial, serif;
  font-weight: 800;
  color: #184B6B;
  letter-spacing: 0.02em;
  line-height: 1.12;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.section h1, .section h2, .section h3 {
  margin-top: 0;
}
/* Responsive - headings shrink on small screens */
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
}

/* Paragraphs & lists */
p {
  margin-bottom: 16px;
  font-size: 16px;
  color: #162534;
}

.text-section p {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* =============================================
   2. Layout Containers & Spacing
   ============================================= */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(24, 75, 107, 0.04);
}

@media (max-width: 900px) {
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 32px 8px;
  }
}

/* =============================================
   3. Header & Main Navigation
   ============================================= */
header {
  background: #fff;
  border-bottom: 4px solid #F9A826;
  box-shadow: 0 2px 12px 0 rgba(24,75,107,0.03);
  position: sticky;
  top: 0;
  z-index: 90;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
  padding: 10px 0;
  min-height: 64px;
}
.main-nav a {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.03em;
  color: #184B6B;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a.cta-btn {
  color: #fff;
  background: #F9A826;
  margin-left: 12px;
  border-radius: 20px;
  padding: 10px 26px;
  font-size: 18px;
  font-family: 'Roboto Slab', 'Roboto';
  font-weight: 800;
  letter-spacing: 0.07em;
  box-shadow: 0 3px 10px 0 rgba(249,168,38,0.10);
  border: none;
  cursor: pointer;
  transition: background 0.20s, box-shadow 0.20s;
}
.main-nav a.cta-btn:hover, .main-nav a.cta-btn:focus {
  background: #184B6B;
  color: #fff;
  box-shadow: 0 7px 18px 0 rgba(24,75,107,0.14);
}
.main-nav a:hover, .main-nav a:focus {
  background: #F9A826;
  color: #fff;
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 18px;
  margin-left: 0;
}

/* Hide main-nav on mobile */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
}

/* =============================================
   4. Mobile Navigation / Hamburger Menu
   ============================================= */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 1020px) {
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    background: #184B6B;
    color: #fff;
    border: none;
    border-radius: 10px;
    width: 48px;
    height: 48px;
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 180;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    box-shadow: 0 3px 10px 0 rgba(24,75,107,0.15);
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: #F9A826;
    color: #184B6B;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #184B6B;
  color: #fff;
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.77,0,0.175,1);
  will-change: transform;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 20px;
  gap: 16px;
}
.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.1rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 18px;
  margin-right: 4px;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F9A826;
  color: #184B6B;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 20px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Roboto Slab', 'Roboto', Arial, serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 14px 0 14px 12px;
  border-radius: 10px;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F9A826;
  color: #184B6B;
}

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

/* ================================================
   5. Hero Section (Bold, Modern, Geometric Shapes)
   ================================================ */
.hero {
  background: linear-gradient(120deg, #184B6B 86%, #F9A826 120%);
  color: #fff;
  min-height: 340px;
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 60px;
  border-radius: 0 0 48px 0;
  box-shadow: 0 7px 28px 0 rgba(24,75,107,0.18);
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 220px;
  position: relative;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 45px 0;
  position: relative;
  z-index: 1;
}
.hero h1, .hero h2 {
  color: #fff;
  text-shadow: 0 1px 5px rgba(24, 75, 107, 0.29);
}
.hero h1 {
  font-size: 2.7rem;
  font-family: 'Roboto Slab', 'Roboto';
}
.hero h2 {
  font-size: 1.55rem;
}
.hero .cta-btn {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .hero {
    min-height: 180px;
    margin-bottom: 36px;
    border-radius: 0 0 28px 0;
  }
  .hero .container, .hero .content-wrapper {
    padding: 24px 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero h2 {
    font-size: 1.1rem;
  }
}

/* ================================================
   6. Features / Leistungen / Waschanlage (Cards)
   ================================================ */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-top: 18px;
  margin-bottom: 16px;
}
.feature {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 3px 16px 0 rgba(24, 75, 107, 0.09);
  padding: 32px 26px 26px 26px;
  width: 270px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 8px 28px 0 rgba(24,75,107,0.16);
  transform: translateY(-4px) scale(1.025);
}
.feature img {
  width: 54px;
  height: 54px;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 8px #F9A82633);
}
.feature h3 {
  margin-bottom: 6px;
  color: #184B6B;
  font-size: 1.1rem;
  font-family: 'Roboto Slab', 'Roboto';
}
.feature p {
  color: #184B6B;
  font-size: 1rem;
}
.feature strong {
  color: #F9A826;
  font-family: 'Roboto Slab', 'Roboto';
  font-size: 1.1rem;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .features-grid {
    gap: 16px;
  }
  .feature {
    width: 45vw;
    min-width: 160px;
    max-width: 380px;
    padding: 22px 10px 18px 16px;
  }
}
@media (max-width: 768px) {
  .features-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature {
    width: 100%;
    padding: 20px 6vw;
    min-width: unset;
    margin-bottom: 12px;
  }
}

/* Cards container: for any general card layout */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(24,75,107,0.09);
  padding: 26px 20px;
  flex: 1 1 230px;
  transition: box-shadow 0.18s, transform 0.13s;
  display: flex;
  flex-direction: column;
}
.card:hover, .card:focus-within {
  box-shadow: 0 9px 32px 0 rgba(24,75,107,0.20);
  transform: translateY(-4px);
}

/* ===========================================
   7. Testimonials / Customer Voices
   =========================================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 40px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(24, 75, 107, 0.09);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.12s;
  color: #184B6B;
  font-size: 1.18rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.testimonial-card strong {
  color: #184B6B;
  font-family: 'Roboto Slab', 'Roboto';
  font-weight: 800;
  font-size: 1.1rem;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 7px 24px 0 rgba(24, 75, 107, 0.14);
  transform: translateY(-2px) scale(1.012);
  background: #F5F7FA;
}
@media (max-width: 768px) {
  .testimonial-card {
    font-size: 1rem;
    padding: 18px 10px;
    flex-direction: column;
    gap: 10px;
  }
}

/* ===========================================
   8. Footer Section
   =========================================== */
footer {
  background: #184B6B;
  color: #fff;
  margin-top: 40px;
  padding-top: 36px;
  padding-bottom: 0px;
  box-shadow: 0 -3px 20px 0 rgba(24,75,107,0.09);
}
footer section {
  background: transparent;
  border-radius: 0;
  margin-bottom: 0;
  padding: 0 0 24px 0;
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
footer img {
  height: 38px;
  width: auto;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
footer nav a {
  color: #F9A826;
  font-weight: 700;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 15px;
  letter-spacing: 0.025em;
  transition: color 0.16s;
  margin-right: 2px;
  padding: 0 4px;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  text-decoration: underline;
}
footer p, footer a {
  color: #fff;
}
footer p {
  font-size: 14px;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  footer .container {
    padding: 0 10px;
  }
  footer .content-wrapper{
    gap: 6px;
  }
}

/* ===========================================
   9. Call-To-Action Button (Bold & Bright)
   =========================================== */
.cta-btn, .cta-btn:visited {
  display: inline-block;
  padding: 13px 32px;
  background: #F9A826;
  color: #184B6B;
  border: none;
  font-family: 'Roboto Slab', 'Roboto';
  font-size: 1.21rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  border-radius: 24px;
  box-shadow: 0 3px 10px 0 rgba(220,170,48,0.12);
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.18s, transform 0.09s;
  margin-bottom: 6px;
  margin-top: 7px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #184B6B;
  color: #fff;
  box-shadow: 0 6px 22px 0 rgba(24,75,107,0.13);
  transform: translateY(-2px) scale(1.04);
  outline: none;
}

/* ===========================================
   10. Utilities & Specific Patterns
   =========================================== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .text-image-section,
  .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .feature-item {
    gap: 8px;
  }
}

/* ==========================
   Cookie Consent Banner
   ========================== */
#cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 500;
  background: #184B6B;
  color: #fff;
  padding: 26px 20px 22px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  box-shadow: 0 -5px 24px 0 rgba(24,75,107,0.10);
  font-size: 1.08rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  animation: slideCookieBanner 0.5s cubic-bezier(0.4,0,0.2,1);
}
@keyframes slideCookieBanner {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

#cookie-consent-banner p {
  margin-bottom: 0;
  color: #fff;
  font-size: 1.09rem;
}
#cookie-consent-banner button {
  margin-left: 10px;
  padding: 10px 24px;
  border: none;
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
  margin-bottom: 0;
}
#cookie-consent-accept {
  background: #F9A826;
  color: #184B6B;
  font-family: 'Roboto Slab', 'Roboto', Arial, serif;
  margin-right: 3px;
}
#cookie-consent-accept:hover, #cookie-consent-accept:focus {
  background: #fff;
  color: #184B6B;
  box-shadow: 0 0 0 3px #F9A82644;
}
#cookie-consent-reject {
  background: #fff;
  color: #184B6B;
  margin-right: 3px;
}
#cookie-consent-reject:hover, #cookie-consent-reject:focus {
  background: #F9A826;
  color: #184B6B;
  box-shadow: 0 0 0 3px #F9A82633;
}
#cookie-consent-settings {
  background: none;
  color: #F9A826;
  border: 1.7px solid #F9A826;
  transition: background 0.15s, color 0.15s, border 0.13s;
}
#cookie-consent-settings:hover, #cookie-consent-settings:focus {
  background: #F9A826;
  color: #184B6B;
}
@media (max-width: 700px) {
  #cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 18px 10px 16px 10px;
    font-size: 0.99rem;
  }
  #cookie-consent-banner p { font-size: 0.98rem; }
}

/* Cookie Consent Modal */
#cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 9000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(24, 75, 107, 0.81);
  align-items: center;
  justify-content: center;
  transition: background 0.24s;
}
#cookie-modal-overlay.open {
  display: flex;
}
#cookie-modal {
  background: #fff;
  color: #162534;
  border-radius: 18px;
  max-width: 410px;
  width: 95vw;
  padding: 32px 30px 24px 30px;
  box-shadow: 0 7px 32px 0 rgba(24,75,107,0.19);
  font-size: 1.08rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  animation: fadeModalIn 0.32s cubic-bezier(0.68,0,0.32,1) forwards;
}
@keyframes fadeModalIn {
  from { opacity: 0; transform: scale(0.99) translateY(28px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
#cookie-modal h2 {
  font-size: 1.25rem;
  color: #184B6B;
  margin-bottom: 8px;
  margin-top: 0;
}
#cookie-modal label {
  font-size: 1.09rem;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 700;
  color: #184B6B;
}
#cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
#cookie-modal input[type="checkbox"] {
  accent-color: #F9A826;
  width: 22px;
  height: 22px;
}
#cookie-modal .cookie-essential {
  opacity: 0.7;
  pointer-events: none;
}
#cookie-modal-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  margin-bottom: 0;
}
#cookie-modal-buttons button {
  padding: 10px 26px;
  border-radius: 18px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  background: #184B6B;
  color: #fff;
  transition: background 0.15s, color 0.15s;
}
#cookie-modal-buttons button:first-child {
  background: #F9A826;
  color: #184B6B;
}
#cookie-modal-buttons button:first-child:hover, #cookie-modal-buttons button:first-child:focus {
  background: #fff;
  color: #184B6B;
  box-shadow: 0 0 0 2px #F9A82644;
}
#cookie-modal-buttons button:last-child {
  background: none;
  color: #184B6B;
  border: 1.5px solid #184B6B;
}
#cookie-modal-buttons button:last-child:hover, #cookie-modal-buttons button:last-child:focus {
  background: #184B6B;
  color: #fff;
}
#cookie-modal .close-modal {
  position: absolute;
  right: 14px;
  top: 14px;
  background: none;
  border: none;
  color: #184B6B;
  font-size: 1.5rem;
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 500px) {
  #cookie-modal {
    max-width: 99vw;
    min-width: 0;
    padding: 18px 8px 18px 8px;
    font-size: 1rem;
  }
}

/* ============================
   Miscellaneous Design Touches
   ============================ */
.text-section {
  padding: 0 0 12px 0;
}
.text-section ul {
  margin-top: 8px;
}

/* Animate CTA, Card, Feature on appear */
@media (prefers-reduced-motion: no-preference) {
  .cta-btn, .testimonial-card, .feature, .card {
    will-change: transform, opacity;
    animation: fadebgIn 0.7s cubic-bezier(0.6,0,0.3,1) both;
  }
  .feature { animation-delay: 0.09s; }
  .card { animation-delay: 0.13s; }
  .testimonial-card { animation-delay: 0.19s; }
}
@keyframes fadebgIn {
  from { opacity: 0; transform: translateY(42px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0px) scale(1); }
}

/* ============================
   Responsive Tweaks & Cleanups
   ============================ */
@media (max-width: 600px) {
  .section {
    padding: 18px 4vw;
    margin-bottom: 32px;
    border-radius: 8px;
  }
  .testimonial-card {
    padding: 10px 3vw;
    margin-bottom: 12px;
    border-radius: 8px;
  }
  .feature {
    padding: 14px 3vw 14px 4vw;
    margin-bottom: 10px;
    border-radius: 10px;
  }
  .cta-btn {
    padding: 11px 12vw;
    border-radius: 14px;
    font-size: 1rem;
  }
  .container {
    padding: 0 3vw;
  }
}

/* Prevent overlapping - minimum spacing for all content wrappers */
.content-wrapper > *:not(:last-child) {
  margin-bottom: 20px;
}

/* Horizontal rule styling */
hr {
  border: 0;
  height: 1.5px;
  background: #F9A826;
  margin: 18px 0;
  border-radius: 2px;
}

/* Fix for all selection highlight */
::selection {
  background: #F9A82655;
  color: #184B6B;
}