/* ===== CSS RESET & NORMALIZE (Mobile-first) ===== */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 100%; }
body { min-height: 100vh; background: #F3ECE7; color: #2D2D2D; line-height: 1.6; font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: #1A3956; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #E2B872; }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 600; }
table { border-collapse: collapse; width: 100%; margin-top: 1.5em; margin-bottom: 2em; background: #fff; border-radius: 18px; box-shadow: 0 2px 12px rgba(26, 57, 86, 0.05); }
th, td { padding: 14px 12px; border-bottom: 1px solid #eee; text-align: left; }
th { background: #F8F4F0; font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 1.1em; font-weight: 600; letter-spacing: 0.02em; color: #1A3956; }
tr:last-child td { border-bottom: none; }

/* ===== BASE BRAND COLORS ===== */
:root {
  --color-primary: #1A3956;
  --color-secondary: #F3ECE7;
  --color-accent: #E2B872;
  --color-bg: #F3ECE7;
  --color-white: #fff;
  --color-dark: #1A3956;
  --color-gray: #B3B0AD;
  --color-error: #B90000;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1A3956;
  margin-bottom: 16px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.25rem; margin-bottom: 24px; }
h2 { font-size: 1.65rem; margin-bottom: 18px; }
h3 { font-size: 1.18rem; margin-bottom: 12px; font-weight: 600; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }
p { margin-bottom: 1em; }
.cta-primary, .cta-primary:visited {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12em;
  padding: 12px 28px;
  border-radius: 32px;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 16px 0 rgba(226, 184, 114, 0.07);
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.12s;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
  outline: none;
  text-align: center;
}
.cta-primary:hover, .cta-primary:focus {
  background: #dab062;
  color: #0f253a;
  transform: translateY(-1px) scale(1.038);
  box-shadow: 0 6px 24px 0 rgba(226, 184, 114, 0.13);
}

/* ===== LAYOUT CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
main {
  padding-bottom: 40px;
}

.section {
  background: var(--color-white);
  border-radius: 20px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 28px 0 rgba(26,57,86,0.06);
}

.content-wrapper {
  width: 100%;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(226, 184, 114, 0.09);
  margin-bottom: 20px;
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  transition: transform 0.13s cubic-bezier(.29,.79,.36,.96), box-shadow 0.15s;
  border: 1px solid #F3ECE7;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(226, 184, 114, 0.18);
  transform: translateY(-4px) scale(1.012);
}
.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 {
  background: #FFF7EC;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(26, 57, 86, 0.04);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 5px solid var(--color-accent);
  transition: box-shadow 0.19s;
}
.testimonial-card p {
  color: #312b23;
  font-size: 1.08em;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: var(--color-primary);
  font-size: 0.98em;
}
.ratings-summary {
  font-size: 1.1em;
  color: #a37c30;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-top: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 10px;
}
.features-grid > div {
  background: #fff8ef;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(226, 184, 114, 0.06);
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 330px;
  padding: 22px 16px 19px 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  border: 1px solid #f8eee2;
  transition: box-shadow 0.15s cubic-bezier(.27,.66,.37,1);
}
.features-grid > div img {
  width: 40px;
  height: 40px;
  background: #f6ecd8;
  border-radius: 50%;
  margin-bottom: 6px;
}
.features-grid > div h3 {
  color: var(--color-primary);
  font-size: 1.22em;
}
.features-grid > div:hover{
  box-shadow: 0 4px 32px 0 rgba(226,184,114,0.17);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0;
  font-size: 1em;
}
.contact-info img {
  margin-right: 10px;
  vertical-align: middle;
  width: 20px; height: 20px;
}
.contact-info p {
  color: #41362f;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

/* ===== HEADER/NAVIGATION ===== */
header {
  background: var(--color-white);
  box-shadow: 0 2px 12px 0 rgba(26,57,86,0.04);
  position: relative;
  z-index: 41;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 16px;
}
header img[alt="Sparkling Tide Renovierung"] {
  height: 48px;
  border-radius: 16px;
  background: #f6f1eb;
  padding: 6px 10px;
  margin-right: 16px;
}
nav {
  display: flex;
  align-items: center;
  gap: 15px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  padding: 7px 18px;
  border-radius: 18px;
  font-size: 1em;
  font-weight: 500;
  transition: background 0.15s, color 0.22s, box-shadow 0.16s;
  margin: 0 2px;
}
nav a:hover, nav a:focus {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 3px 8px 0 rgba(226,184,114,0.11);
}
.cta-primary {
  margin-left: 12px;
}
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 2em;
  color: var(--color-accent);
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.14s;
  padding: 4px 9px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #faefdf;
  color: #bc8c31;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100vw;
  background: #fff7ec;
  z-index: 120;
  transform: translateX(-105vw);
  transition: transform 0.38s cubic-bezier(.28,.98,.35,1);
  box-shadow: 0 4px 48px 0 rgba(26, 57, 86, 0.16);
  display: flex;
  flex-direction: column;
  pointer-events: none;
  opacity: 0.03;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2em;
  color: var(--color-primary);
  align-self: flex-end;
  margin: 18px 22px 0 0;
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.15s, color 0.1s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #faefdf;
  color: var(--color-accent);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  padding: 13px 0 11px 4px;
  border-radius: 11px;
  font-size: 1.15em;
  font-weight: 500;
  width: 98%;
  display: block;
  margin-bottom: 2px;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: #fff;
}

/* ===== FOOTER ===== */
footer {
  background: #fff8ef;
  border-top: 2px solid #F3ECE7;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 14px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 7px;
  justify-content: center;
}
.footer-nav a {
  color: #5E4A23;
  font-size: 0.99em;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  transition: color 0.15s;
  padding: 2px 8px;
  border-radius: 9px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-primary);
  background: #fcf4e7;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #7e7255;
  font-size: 0.93em;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  text-align: center;
}

/* ===== COOKIE CONSENT BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  z-index: 9999;
  left: 0; right: 0;
  bottom: 0;
  background: #fff7ec;
  border-top: 2px solid #E2B872;
  box-shadow: 0 -3px 25px rgba(26, 57, 86, .08);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  font-size: 1.07em;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s, transform 0.24s;
  transform: translateY(40px);
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner-buttons {
  display: flex;
  gap: 17px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: var(--color-accent);
  color: #1A3956;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1em;
  padding: 9px 20px;
  border-radius: 20px;
  font-weight: 600;
  border: none;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, box-shadow 0.14s;
  box-shadow: 0 2px 8px rgba(226, 184, 114, 0.08);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #f5cd85;
  color: #1A3956;
  outline: none;
}
.cookie-settings-btn {
  background: #fff;
  color: #E2B872;
  border: 2px solid #E2B872;
  font-weight: 700;
  margin-left: 6px;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #feedd5;
  color: #1A3956;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26, 57, 86, 0.33);
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 410px;
  width: 95%;
  box-shadow: 0 12px 44px rgba(26, 57, 86, 0.23);
  padding: 36px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookieFadeIn 0.33s cubic-bezier(.18,.72,.28,1);
}
@keyframes cookieFadeIn { from { opacity: 0; transform: scale(0.93); } to { opacity: 1; transform: scale(1); } }
.cookie-modal h2 { font-size: 1.39em; margin-bottom: 12px; color: var(--color-primary); }
.cookie-category {
  background: #fcf6ed;
  border-radius: 10px;
  padding: 13px 13px 11px 17px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-category input[type="checkbox"] {
  margin-right: 0.5em;
  accent-color: #E2B872;
  width: 18px; height: 18px;
}
.cookie-category label { font-weight: 600; color: #664f1c; }
.cookie-modal-close {
  position: absolute;
  top: 11px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.48em;
  color: #bda06f;
  cursor: pointer;
  transition: color 0.16s;
  border-radius: 9px;
  padding: 3px 7px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: #986800; background: #faeed4; }

.cookie-modal-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn {
  min-width: 104px;
  text-align: center;
}

/* ===== RESPONSIVE DESIGN & FLEX RULES ===== */
@media (max-width: 1060px) { .container { max-width: 100%; } }
@media (max-width: 900px) {
  .features-grid { gap: 18px; }
  .features-grid > div {min-width: 170px; max-width: 98%;}
}
@media (max-width: 768px) {
  h1 { font-size: 1.56rem; }
  h2 { font-size: 1.15rem; }
  header .container { flex-direction: row; gap: 12px; }
  nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  .section { padding: 26px 7px; }
  .features-grid {
    flex-direction: column;
    gap: 13px;
  }
  .features-grid > div { max-width: 100%; }
  .text-image-section { flex-direction: column; gap: 20px; }
  .content-grid { flex-direction: column; gap: 14px; }
  .card-container, .footer-nav, .testimonial-card { flex-direction: column; gap: 13px; }
  .footer-info { align-items: center; }
}
@media (max-width: 500px) {
  html { font-size: 97%; }
  .section { margin-bottom: 38px; padding: 16px 2vw; }
  .container { padding-left: 2vw; padding-right: 2vw; }
  .cookie-banner { padding: 14px 4vw; font-size: 0.98em; }
  .cookie-modal { padding: 17px 5vw 14px 5vw; }
}

/* ===== UTILITIES ===== */
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.hide { display: none !important; }
.show { display: block !important; }

/* ===== MICRO-INTERACTIONS ===== */
.button, .cta-primary, .cookie-btn { transition: background 0.16s, color 0.16s, box-shadow 0.15s, transform 0.14s; }
.card:hover, .features-grid > div:hover, .testimonial-card:hover { box-shadow: 0 12px 36px rgba(226,184,114,0.19), 0 1.5px 8px 0 rgba(26,57,86,0.07); }
.testimonial-card:hover { background: #ffeece; }
.cookie-banner.active { animation: slideUpCookie 0.31s cubic-bezier(.27,.9,.36,.97); }
@keyframes slideUpCookie { from { transform: translateY(60px); opacity: 0; } to { transform: translateY(0px); opacity: 1; } }

/* ===== FORM ELEMENTS ===== */
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1em;
  border-radius: 14px;
  border: 1px solid #dfd3be;
  padding: 9px 13px;
  margin-bottom: 14px;
  outline: none;
  transition: border-color 0.14s, box-shadow 0.13s;
  box-shadow: 0 2px 10px rgba(226, 184, 114, 0.05);
  background: #fff8ef;
  color: #312B23;
}
input:focus, textarea:focus, select:focus {
  border-color: #E2B872;
  box-shadow: 0 4px 12px 0 rgba(226,184,114,0.13);
}
button:focus {
  outline: 2px solid #E2B872;
}
label { font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 1em; color: #835e22; font-weight: 500; margin-bottom: 5px; display: block; }

/* ===== ACCESSIBILITY HELPER CLASSES ===== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

/* ===== COLORS FOR TABLE ROW ALTERNATION ===== */
table tr:nth-child(even) { background: #fff5e8; }
table tr:nth-child(odd) { background: #fff; }

/* ===== BRAND FONT LOAD (Fallback in HTML, but CSS here as backup) ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;600;500&family=Open+Sans:wght@400;600;700&display=swap');

/* ===== END OF CSS ===== */
