/* Dawnmist Glade Poolservice - Vintage Retro CSS
 * All Flexbox. No CSS Grid or Columns.
 * Brand: Modern vintage/retro, Dawnmist Glade Poolservice
 * Color Palette: Primary #15678F, Secondary #44B3C2, Accent #F3F7FA + retro creams, faded oranges, mint, sand, navy
 * Fonts: Montserrat (display), Open Sans (body), plus retro fallback
 */

/* 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,
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; }
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #F3F1E7; /* vintage cream */
  color: #35322a;
  position: relative;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #15678F; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #E46927; /* retro orange */ }
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

ul, ol { padding-left: 24px; }

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #123c52; /* navy - retro */
}
h1 { font-size: 2.5rem; margin-bottom: 24px; line-height: 1.16; }
h2 { font-size: 2rem; margin-bottom: 18px; line-height: 1.18; }
h3 { font-size: 1.4rem; margin-bottom: 15px; line-height: 1.2; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 12px; }
p, ul, ol, li, td, th { font-size: 1rem; line-height: 1.67; color: #4D473B; }
p { margin-bottom: 16px; }
strong, b { color: #15678F; }

/* Retro Google Fonts Fallback */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans Regular'), local('OpenSans-Regular');
}

/* VINTAGE/RETRO DECORATIVE ELEMENTS */
body {
  /* subtle dots / pattern background for retro feel */
  background-image: repeating-linear-gradient(135deg,#f3f1e7 0 18px,#e9e1cf 18px 36px), repeating-linear-gradient(90deg,rgba(238,209,154,0.10) 0 40px,transparent 40px 80px);
}


/* ====== CONTAINER/SECTION LAYOUTS ====== */
.container {
  width: 100%;
  max-width: 1070px;
  padding: 0 18px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fffbe6;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(88,60,22,0.06);
  border: 1px solid #e8dab2;
}
@media (max-width: 700px) {
  .section {
    margin-bottom: 40px;
    padding: 24px 8px;
    border-radius: 10px;
  }
  .container { padding: 0 6vw; }
}

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

.feature-grid, .content-grid, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card-container { gap: 24px; }
.content-grid { gap: 20px; }

@media (max-width: 900px) {
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
}

.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;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 0;
}

/* ================= HEADER ================== */
header {
  background: #e8dab2;
  border-bottom: 3px solid #b7a27b;
  box-shadow: 0 2px 12px rgba(60,35,21,0.05);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 22px;
  flex-wrap: wrap;
}
nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  display: block;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #594e33;
  font-weight: 500;
  letter-spacing: .05em;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.2s, box-shadow 0.19s;
}
header nav a:hover, header nav a:focus {
  background: #15678F;
  color: #fffde5;
  box-shadow: 0 2px 8px rgba(21,103,143,0.11);
}

.cta-btn {
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #e0984b;
  color: #fffbe6;
  border-radius: 22px;
  padding: 12px 32px;
  font-size: 1.1rem;
  margin-left: 10px;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 14px rgba(224,152,75,0.13);
  border: 2px solid #9e7451;
  text-shadow: 0 1px 0 #b78851;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, transform 0.15s;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: #15678F;
  color: #e0984b;
  box-shadow: 0 6px 22px rgba(21,103,143,0.14);
  transform: translateY(-1px) scale(1.03);
}

header img[alt*="Logo"], header img[alt*="logo"] {
  height: 52px; width: auto; margin-right: 12px;
}
@media (max-width: 540px) {
  header img[alt*="Logo"], header img[alt*="logo"] {
    height: 36px;
  }
}

/* ================= MOBILE NAVIGATION =================== */
.mobile-menu-toggle {
  display: none;
  background: #E46927;
  color: #fffbe6;
  font-size: 2rem;
  border-radius: 8px;
  padding: 7px 14px;
  margin-left: 14px;
  transition: background 0.17s, color 0.17s;
  cursor: pointer;
  z-index: 1051;
  border: 2px solid #b55f1f;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #fffbe6;
  color: #E46927;
  border-color: #e0984b;
}
@media (max-width: 850px) {
  header nav, .cta-btn { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  z-index: 2000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(130deg, #f3f1e7 80%, #e8dab2 100%);
  box-shadow: 0 1px 22px 4px #8b765d47;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(0.71,0,0.44,1);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 22px 18px 0;
  font-size: 2.2rem;
  background: #fffbe6;
  color: #E46927;
  border-radius: 8px;
  border: 2px solid #e0984b;
  padding: 4px 15px;
  cursor: pointer;
  box-shadow: 0 2px 12px #a66f1644;
  transition: background 0.18s, color 0.17s, border 0.18s;
  z-index: 2200;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fffbe6;
  background: #E46927;
  border-color: #b55f1f;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: #15678F;
  background: #fffbe6;
  padding: 14px 22px;
  margin-bottom: 6px;
  border-radius: 14px;
  border: 2px solid #e0984b;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.16s, color 0.18s, border 0.17s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #E46927;
  color: #fffbe6;
  border-color: #b55f1f;
}

/* ================= FOOTER ================== */
footer {
  background: #e8dab2;
  border-top: 3px solid #b7a27b;
  margin-top: 80px;
  padding: 42px 0 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 28px;
}
footer nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
footer a {
  color: #4a3922;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: .04em;
  font-size: 1rem;
  transition: color 0.15s;
}
footer a:hover, footer a:focus {
  text-decoration: underline;
  color: #E46927;
}
footer .contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
  color: #4d473b;
  font-size: 0.98rem;
}
footer .contact-details img {
  width: 18px; height: 18px;
  filter: sepia(.43) saturate(0.85) contrast(1.12);
}
footer .legal-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 16px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  footer {
    padding: 32px 0 0 0;
  }
}

/* ====== CARDS ====== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fffbe6;
  border-radius: 13px;
  box-shadow: 0 2px 14px 0 rgba(149,137,105,0.08);
  border: 1.5px solid #e8dab2;
  padding: 24px;
  min-width: 220px;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.17s, box-shadow 0.18s;
}
.card:hover, .card:focus-within {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 35px 0 rgba(149,137,105,0.14);
}

/* ====== FEATURES ====== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  padding: 18px 0 8px 0;
}

/* ====== TESTIMONIALS ====== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffbe6;
  border: 2px solid #15678F;
  border-radius: 14px;
  box-shadow: 0 3px 18px 0 rgba(21,103,143,0.067);
  font-family: 'Open Sans', Arial, sans-serif;
  flex: 1 1 250px;
  min-width: 220px;
  margin-bottom: 20px;
  color: #21211e;
  transition: box-shadow 0.21s, border 0.15s, transform 0.15s;
  position: relative;
}
.testimonial-card img {
  width: 36px;
  height: 36px;
  filter: sepia(0.7) hue-rotate(-15deg) saturate(2.2);
}
.testimonial-card p {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0;
  color: #15678F;
  font-style: italic;
}
.testimonial-card span {
  color: #7b693a;
  font-size: 0.98em;
  font-family: 'Open Sans', Arial, sans-serif;
  letter-spacing: 0.04em;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 10px 35px 0 rgba(21,103,143,0.11);
  border-color: #E46927;
  transform: translateY(-2px) scale(1.016);
}

@media (max-width: 800px) {
  .testimonial-card {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
    padding: 15px;
  }
  .testimonial-card img { width: 28px; height: 28px; }
}

/* ====== FAQ SECTION ====== */
.faq-section {
  background: #fffbe6;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 8px rgba(116,104,71,0.09);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.faq-entry {
  margin-bottom: 18px;
  background: #f8ebd1;
  border: 1.5px solid #e0984b;
  border-radius: 11px;
  padding: 15px 20px;
  box-shadow: 0 1px 8px rgba(224,152,75,0.04);
}
.faq-entry h3 {
  font-size: 1.12rem;
  color: #15678f;
  margin-bottom: 6px;
}
.faq-entry p {
  margin-bottom: 0;
}

/* ========== TABLES (Preise) ============= */
table {
  width: 100%;
  background: #fffbe6;
  border-collapse: collapse;
  margin-bottom: 30px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  box-shadow: 0 4px 18px rgba(224,152,75,0.085);
  border-radius: 10px;
  overflow: hidden;
}
thead tr {
  background: #E46927;
  color: #fffbe6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
th, td {
  padding: 15px 12px;
  text-align: left;
  border-bottom: 1.5px solid #e8dab2;
}
th:last-child, td:last-child { border-right: none; }
tr:last-child td { border-bottom: none; }

/* ========== BUTTONS ============= */
button, .btn {
  background: #e0984b;
  color: #fffbe6;
  padding: 10px 30px;
  border-radius: 22px;
  box-shadow: 0 4px 14px rgba(224,152,75,0.11);
  border: 2px solid #9e7451;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, transform 0.14s;
  cursor: pointer;
  margin-right: 9px;
}
button:hover, .btn:hover,
button:focus, .btn:focus {
  background: #15678F;
  color: #e0984b;
  box-shadow: 0 6px 22px rgba(21,103,143,0.13);
  transform: translateY(-1px) scale(1.03);
}

/* ========== CTA BANNER SPECIAL =========== */
[role="banner"], .cta-banner, .content-wrapper > .cta-btn {
  background: linear-gradient(90deg, #E46927 25%, #e8dab2 100%);
  color: #fffbe6;
  border-radius: 22px;
  text-align: center;
  padding: 28px 10px;
  margin: 32px 0 0 0;
  box-shadow: 0 2px 20px 0 #e4692722;
}

/* ========== CONTACT BLOCK ========== */
.contact-block {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.contact-block p, .contact-block a {
  font-size: 1.1rem;
  color: #1f3a5a;
  font-family: 'Open Sans', Arial, sans-serif;
}
.contact-block img {
  width: 23px;
  margin-right: 12px;
  vertical-align: middle;
  filter: sepia(0.32) saturate(1.45) contrast(1.12);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 680px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.28rem; }
  .container { padding: 0 2vw; }
  .content-wrapper, .feature-grid { gap: 13px; }
}
@media (max-width: 500px) {
  .card, .testimonial-card, .faq-section, .section, table { padding: 13px 6px; }
  .container { padding: 0 0.8vw; }
  .mobile-nav a { font-size: 1.07rem; }
}


/* ====== COOKIE CONSENT BANNER ========== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #fffbe6;
  box-shadow: 0 -1px 17px #e4692726;
  border-top: 3.5px solid #e0984b;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 14px 20px 14px;
  gap: 18px;
  font-size: 1.09rem;
  color: #594e33;
  animation: cookieBannerIn 0.6s cubic-bezier(0.12,0.56,0.31,1) 1;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cookie-consent-banner .btn-settings {
  background: #44B3C2;
  color: #fffbe6;
  border: 2px solid #15678F;
}
.cookie-consent-banner .btn-reject {
  background: #E46927;
  border: 2px solid #a04211;
}
.cookie-consent-banner .btn-accept {
  background: #15678F;
  color: #fffbe6;
  border: 2px solid #44B3C2;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  opacity: 0.95;
  box-shadow: 0 3px 9px rgba(21,103,143,.12);
}
@keyframes cookieBannerIn {
  0% {transform: translateY(65px) scale(0.97); opacity:0;}
  100% {transform: none; opacity:1;}
}

/* === COOKIE MODAL / PREFERENCES === */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3200;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(44,44,44,0.47);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.5s cubic-bezier(0.22,0.61,0.36,1.01);
}
@keyframes cookieModalIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fffbe6;
  border-radius: 18px;
  max-width: 400px;
  width: 95vw;
  box-shadow: 0 2px 22px 0 #e469273a;
  padding: 2.2rem 1.5rem 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
}
.cookie-modal h2 { color: #15678F; margin-bottom: 9px; }
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.cookie-modal-category label {
  font-size: 1.07rem;
  color: #123c52;
}
.cookie-modal-category input[type="checkbox"] {
  width: 19px; height: 19px;
  accent-color: #E46927;
}
.cookie-modal-category .cookie-essential {
  color: #e0984b;
  font-weight: 700;
}
.cookie-modal .btn-row {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 8px; right: 10px;
  background: none;
  color: #e0984b;
  font-size: 1.65rem;
  border: none;
  cursor: pointer;
  opacity: 0.65;
  transition: color 0.19s, opacity 0.17s;
}
.cookie-modal .close-cookie-modal:hover { color: #15678F; opacity: 0.98; }

/* ==== ANIMATIONS & MICRO-INTERACTIONS */
.card, .testimonial-card, .faq-entry, .cta-btn, button {
  transition: box-shadow .2s, border .18s, transform .15s, background .17s, color .14s;
}
a, .cta-btn, button {
  transition: color .19s, background .18s, box-shadow .17s, transform .16s;
}

/* ======= RETRO PATTERN SHORT SEPARATORS ======= */
.retro-separator {
  width: 80px;
  height: 5px;
  border-radius: 9px;
  background: repeating-linear-gradient(90deg,#e0984b,#e0984b 16px,#e46927 16px,#e46927 32px);
  margin: 22px auto;
}

/* ===== SCROLLBAR RETRO ===== */
::-webkit-scrollbar {
  width: 10px;
  background: #f3f1e7;
}
::-webkit-scrollbar-thumb {
  background: #e8dab2;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e0984b;
}

/* ===== ACCESSIBILITY HELPER ===== */
.sr-only { position: absolute; left: -10000px; width:1px; height:1px; top:auto; overflow:hidden; }

/* Hide empty elements on purpose for accessibility tools */
[hidden], .hidden { display: none !important; }
