/* ------------------------------------------------------
   CSS Reset & Base 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 { scroll-behavior: smooth; height: 100%; }
body { min-height: 100vh; background: #FDF6ED; }
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section { display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; border: 0; }
button { background: none; border: none; cursor: pointer; font: inherit; }

/* ------------------------------------------------------
   CSS Variables for Brand & Creative Palette
---------------------------------------------------------*/
:root {
  --primary: #23243A;
  --secondary: #B8A171;
  --accent: #FDF6ED;
  --brand-blue: #3B489C;
  --brand-rose: #FFDAD6;
  --brand-green: #5FA38A;
  --brand-yellow: #FFE375;
  --brand-orange: #FFB86B;
  --danger: #DF4C3B;

  --font-display: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', Arial, sans-serif;

  --shadow-md: 0 4px 16px 0 rgba(35,36,58,0.08), 0 1.5px 6px 0 #E5DECD;
  --shadow-lg: 0 8px 28px 0 rgba(35,36,58,0.13);
}

@media (max-width: 768px) {
  html { font-size: 98%; }
}

/* ------------------------------------------------------
   Body & Typography
---------------------------------------------------------*/
body {
  font-family: var(--font-body);
  color: var(--primary);
  background: var(--accent);
  font-size: 16px;
  line-height: 1.7;
}
strong { font-weight: 700; }
em { font-style: italic; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 { font-size: 2.75rem; color: var(--brand-blue); margin-bottom: 28px; }
h2 { font-size: 2rem; color: var(--secondary); margin-bottom: 24px; }
h3 { font-size: 1.25rem; color: var(--brand-rose); margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.12rem; }
p, ul, ol { margin-bottom: 18px; }
blockquote {
  font-family: var(--font-display);
  color: var(--brand-blue);
  font-style: italic;
  background: #FFE37533;
  border-left: 4px solid var(--secondary);
  padding: 18px 22px;
  margin-bottom: 10px;
  border-radius: 12px;
}
cite {
  font-family: var(--font-body);
  font-style: normal;
  color: var(--primary);
  font-size: 1rem;
  opacity: 0.83;
}

/* Artistic headline underline */
h1, h2 { position: relative; }
h1::after, h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 6px;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--brand-yellow) 40%, var(--brand-orange) 80%);
  border-radius: 10px;
}

/* Artistic font: handwritten, for select sections */
.handwritten { font-family: 'Pacifico', cursive; font-size: 2rem; color: var(--brand-orange); letter-spacing: 0.02em; }

/* ------------------------------------------------------
   Containers & Spacing Patterns
---------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF9F3;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  position: relative;
}
@media (min-width: 900px) {
  .content-wrapper { gap: 30px; }
}

.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: 20px;
  box-shadow: var(--shadow-md);
  transition: transform 0.24s cubic-bezier(.4,1.2,.5,1), box-shadow 0.19s;
  min-width: 270px;
}
.card:hover { transform: translateY(-8px) scale(1.025); box-shadow: var(--shadow-lg); }
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 26px;
  gap: 16px;
}

.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) {
  .content-grid,
  .card-container,
  .text-image-section {
    flex-direction: column !important;
    align-items: stretch;
    gap: 20px !important;
  }
  .container { padding: 0 10px; }
}

/* ------------------------------------------------------
   Header & Main Nav Styles (Desktop and Mobile)
---------------------------------------------------------*/
header {
  width: 100%;
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 2px 12px 0 rgba(35,36,58,.17);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
}
header img { height: 42px; width: auto; margin-right: 16px; }
nav { display: flex; flex-direction: row; align-items: center; gap: 16px; }
header nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: 1.1rem;
  border-radius: 6px;
  padding: 6px 10px;
  transition: background 0.19s, color 0.19s;
}
header nav a:hover,
header nav a.active {
  background: var(--secondary);
  color: var(--primary);
}
.cta-button {
  margin-left: 28px;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 30px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 12px 34px;
  box-shadow: 0 2px 8px 0 #EAD7B4;
  transition: background 0.24s, color 0.21s, box-shadow 0.19s, transform 0.19s;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.cta-button:hover,
.cta-button:focus {
  background: var(--brand-orange);
  color: var(--primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* Mobile Menu: Burger + Overlay */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--secondary);
  background: transparent;
  padding: 6px 12px;
  border-radius: 8px;
  z-index: 9999;
  position: relative;
  margin-left: 12px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #fff7e1;
  color: var(--primary);
}
.mobile-menu {
  position: fixed;
  right: 0; top: 0;
  width: 100%;
  height: 100vh;
  background: var(--accent);
  box-shadow: -6px 0 34px 0 rgba(35,36,58,.19);
  z-index: 11000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.75,-0.01,.45,1);
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.3rem;
  padding: 12px 20px 10px 0;
  color: var(--primary);
  background: transparent;
  border: none;
  margin-bottom: 10px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 30px 30px 30px 40px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--primary);
  padding: 14px 0;
  border-bottom: 1px dashed var(--secondary);
  width: 100%;
  transition: background 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--brand-yellow);
  color: var(--brand-blue);
}

@media (max-width: 1100px) {
  header .container {
    flex-wrap: wrap;
    gap: 8px;  
    padding: 8px 10px;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .cta-button { margin-left: auto; }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ------------------------------------------------------
   Hero Banner (Startseite)
---------------------------------------------------------*/
.hero {
  margin-bottom: 60px;
  padding: 0;
  background: linear-gradient(90deg, #B8A17109 50%, #FFDAD699 100%);
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  border-radius: 0 0 67px 0/0 0 45px 0;
  box-shadow: 0 20px 48px 0 #EAD7B4;
}
.hero .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 600px;
  background: rgba(255,253,240,0.97);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 44px 36px 38px 30px;
  margin-top: 50px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--primary);
}
.hero p {
  color: var(--primary);
  font-size: 1.23rem;
  margin-bottom: 28px;
}
.hero .cta-button {
  margin-top: 14px;
  font-size: 1.17rem;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 767px) {
  .hero {
    min-height: unset;
    border-radius: 0 0 30px 0/0 0 22px 0;
  }
  .hero .container { padding: 0 6px; }
  .hero .content-wrapper {
    padding: 25px 12px;
    margin-top: 15px;
  }
  h1 { font-size: 2rem;}
}

/* ------------------------------------------------------
   Features Section & Icons
---------------------------------------------------------*/
.features {
  background: #FFF9F3;
  border-radius: 22px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: var(--shadow-md);
}
.features .content-wrapper { gap: 26px; }
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 22px 0 18px 0;
  justify-content: space-between;
}
.feature-grid li {
  background: var(--brand-rose);
  border-radius: 19px;
  box-shadow: 0 2px 8px 0 #FFDAD699;
  min-width: 230px;
  max-width: 306px;
  padding: 24px 22px 18px 22px;
  font-family: var(--font-body);
  color: var(--primary);
  margin-bottom: 0;
  transition: transform 0.2s, box-shadow 0.21s;  
  position: relative;
}
.feature-grid li:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.045);
}
.feature-grid h3 {
  color: var(--brand-blue);
  font-family: var(--font-display);
}
.feature-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 10px;
}
.feature-icons li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  background: var(--brand-yellow);
  border-radius: 13px;
  color: var(--primary);
  font-weight: 600;
  padding: 11px 23px 11px 12px;
  box-shadow: 0 1px 6px 0 #FFE37599;
  font-size: 1.1rem;
  margin-bottom: 0;
}
.feature-icons img { height: 22px; width: 22px; margin-right: 6px; }

@media (max-width:768px) {
  .feature-grid,
  .feature-icons { flex-direction: column; align-items: stretch; gap: 14px; }
}

/* Feature-item (for .leistungen.html and any vertical grouping)*/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------------------------------------------------------
   Testimonials / Customer Reviews
---------------------------------------------------------*/
.testimonials,
.content-wrapper.testimonials {
  margin-bottom: 60px;
  background: none;
  gap: 26px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  flex-direction: column;
  min-width: 290px;
  max-width: 550px;
}
.testimonial-card blockquote {
  color: #23243A;
  background: #FFF7DD;
  font-size: 1.14rem;
  border-left: 5px solid var(--secondary);
  margin-bottom: 5px;
  padding: 12px 18px;
  box-shadow: none;
}
.testimonial-card cite {
  color: #484848;
  font-size: 1rem;
  text-align: right;
  margin-left: auto;
  opacity: 0.85;
}
@media (min-width: 800px) {
  .content-wrapper.testimonials {
    flex-direction: row;
    gap: 24px;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .testimonial-card {
    min-width: 320px;
    margin-right: 24px;
  }
}
/* Ensure contrast for testimonial cards */
.testimonial-card,
.testimonial-card * { color: #23243A !important; background: #FFF !important; }

/* ------------------------------------------------------
   Buttons, Micro-Interactions, Artistic Touches
---------------------------------------------------------*/
button, .cta-button {
  outline: none;
  transition: background 0.19s, color 0.19s, transform 0.18s, box-shadow 0.2s;
}
button:active,  .cta-button:active {
  transform: scale(0.98);
  box-shadow: 0 1px 3px #B8A17199;
}

/* Artistic squiggle underline for specific elements */
a:not(.cta-button):hover { color: var(--brand-blue); border-bottom: 2.5px wavy var(--brand-orange);}

/* Artistic Card border for DIY, Blog, etc */
.diy-list > div, .blog-list article, .tip-box {
  border-radius: 18px;
  background: #FFE37536;
  box-shadow: 0 1px 9px 0 #C6B25533;
  margin-bottom: 21px;
  padding: 22px 18px 17px 18px;
  border-left: 5px solid var(--brand-green);
  position: relative;
  transition: box-shadow 0.19s, transform 0.17s;
}
.diy-list > div:hover,
.blog-list article:hover,
.tip-box:hover {
  box-shadow: 0 6px 18px 0 #FFDAD666;
  transform: translateY(-7px) scale(1.01);
}
.tip-box h3 { color: var(--brand-green);}
.tip-box {
  margin-bottom: 24px;
  background: #D6FFEAB6;
  border-left-color: var(--brand-yellow);
}

/* Newsletter signup */
.newsletter-signup {
  background: #FFDAD6;
  color: var(--primary);
  padding: 16px 18px;
  border-radius: 12px;
  margin-top: 18px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-body);
}
.newsletter-signup a { color: var(--brand-blue); font-weight: bold; }

/* Benefit lists for services */
.benefits {
  background: #FFF9F3;
  border-left: 7px solid var(--brand-green);
  border-radius: 13px;
  padding: 21px 25px;
  margin-top: 34px;
  margin-bottom: 10px;
  box-shadow: 0 2px 9px #B8A17129;
}
.benefits h3 { color: var(--brand-green); margin-bottom: 16px; }

/* Service-list styles (leistungen) */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.service-list li {
  background: #FFE3751A;
  border-radius: 16px;
  box-shadow: 0 1px 9px #FFDAD633;
  margin-bottom: 0;
  padding: 28px 18px;
  border-left: 5px solid var(--brand-orange);
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.service-list li:hover { box-shadow: var(--shadow-lg); transform: scale(1.015); }
.service-list h2 {
  font-size: 1.39rem;
  margin-bottom: 8px;
  color: var(--brand-green);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.service-list h2 span { color: var(--brand-blue); font-size: 1.1rem; font-weight: 400; font-family: var(--font-body); margin-left: 20px; }

/* Project listing */
.project-listing {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.project {
  background: #B8A17122;
  border-radius: 18px;
  box-shadow: 0 2px 10px #EAD7B444;
  margin-bottom: 0;
  flex: 1 1 330px;
  min-width: 270px;
  max-width: 380px;
  padding: 25px 18px 16px 22px;
  border-left: 6px solid var(--brand-blue);
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.project:hover { box-shadow: var(--shadow-lg); transform: scale(1.025); }
.project h2 { color: var(--brand-blue); font-size: 1.27rem; margin-bottom: 13px; }
.project ul { margin-bottom: 8px; }
.project ul li { margin-bottom: 5px; font-size: 1.01rem; }

/* Contact Options & Forms (Kontakt) */
.contact-options li {
  margin-bottom: 8px;
  font-size: 1.09rem;
  font-family: var(--font-body);
}

/* Blog Category Section */
.blog-categories {
  background: #FFF5E3;
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 14px;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: var(--brand-blue);
  font-size: 0.98rem;
  font-family: var(--font-display);
}

/* ------------------------------------------------------
   Footer Styles
---------------------------------------------------------*/
footer {
  background: var(--primary);
  color: var(--accent);
  margin-top: 60px;
  padding: 38px 0 0 0;
  box-shadow: 0 -2px 12px #23243A29;
  position: relative;
  z-index: 1;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 38px;
  padding: 0 18px 25px 18px;
}
footer nav { flex-direction: column; align-items: flex-start; gap: 8px; }
footer nav a {
  color: var(--secondary);
  font-family: var(--font-body);
  font-size: 1.04rem;
  padding: 6px 0;
  border-bottom: 2px dotted #B8A17144;
  margin-bottom: 2px;
  transition: color 0.15s;
}
footer nav a:hover { color: var(--brand-yellow); border-bottom: 2px solid var(--brand-yellow); background: transparent; }
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
  font-size: 1.01rem;
}
.footer-contact img { height: 33px; margin-bottom: 7px; }
.footer-contact a {
  color: var(--brand-yellow);
  text-decoration: underline dotted;
  transition: color 0.17s;
}
.footer-contact a:hover { color: var(--danger); }

@media (max-width: 950px) {
  footer .container { flex-direction: column; align-items: flex-start; gap: 21px; }
  .footer-contact { align-items: flex-start; text-align: left; }
}

/* ------------------------------------------------------
   Cookie Consent Banner & Modal
---------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 20000;
  width: 100vw;
  display: flex;
  justify-content: center;
  background: rgba(253,246,237,.97);
  box-shadow: 0 -4px 18px #B8A17144;
  padding: 26px 10px 20px 10px;
  font-family: var(--font-body);
  border-top: 5px solid var(--secondary);
  transition: transform 0.41s cubic-bezier(.87,-0.01,.33,1);
  transform: translateY(0);
}
.cookie-banner.hide { transform: translateY(150%); pointer-events: none; }
.cookie-banner-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  max-width: 1050px;
  background: #fffbe8;
  padding: 16px 24px;
  border-radius: 17px;
  box-shadow: var(--shadow-md);
}
.cookie-banner-content p {
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 0;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-banner-actions button {
  border-radius: 7px;
  font-family: var(--font-display);
  border: none;
  padding: 11px 21px;
  font-size: 1.01rem;
  font-weight: 700;
  margin: 0;
  transition: background 0.17s, color 0.13s;
  box-shadow: 0 2px 5px #FFDAD644;
}
.cookie-accept {
  background: var(--brand-green);
  color: #fff;
}
.cookie-accept:hover { background: var(--brand-blue); color: #fff; }
.cookie-reject {
  background: #fff;
  color: var(--danger);
  border: 2px solid var(--danger);
}
.cookie-reject:hover { background: var(--danger); color: #fff; }
.cookie-settings {
  background: var(--brand-yellow);
  color: var(--primary);
}
.cookie-settings:hover { background: var(--secondary); color: #fff; }

@media (max-width: 700px) {
  .cookie-banner-content { flex-direction: column; gap: 14px; align-items: flex-start; padding: 10px 10px;}
  .cookie-banner-actions { flex-direction: column; gap: 9px; width: 100%; }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 21000;
  background: rgba(35,36,58,0.39);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: opacity 0.23s;
  opacity: 1;
}
.cookie-modal.hide { display: none; opacity: 0; }
.cookie-modal-content {
  background: #FFFBE8;
  border-radius: 19px;
  box-shadow: 0 4px 20px #B8A17144;
  padding: 34px 26px 24px 26px;
  max-width: 420px;
  min-width: 0;
  color: var(--primary);
  font-family: var(--font-body);
}
.cookie-modal-content h3 { color: var(--brand-blue); margin-bottom: 21px; font-size: 1.24rem; }
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 19px;
}
.cookie-category label {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--primary);
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: #B8A17166;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
  outline: none;
  border: none;
}
.cookie-toggle[aria-checked='true'] {
  background: var(--brand-green);
}
.cookie-toggle-slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
}
.cookie-toggle[aria-checked='true'] .cookie-toggle-slider {
  left: 22px;
}
.cookie-modal-content .cookie-actions {
  display: flex;
  gap: 11px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal-content button {
  border-radius: 7px;
  font-family: var(--font-display);
  border: none;
  padding: 9px 22px;
  font-size: 1.01rem;
  font-weight: 700;
  margin: 0;
  transition: background 0.17s, color 0.13s;
}
.cookie-modal-content .cookie-modal-close {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--secondary);
  margin-left: 0;
}
.cookie-modal-content .cookie-modal-close:hover {
  background: var(--secondary);
  color: #fff;
}
.cookie-modal-content .cookie-modal-save {
  background: var(--brand-green);
  color: #fff;
}
.cookie-modal-content .cookie-modal-save:hover {
  background: var(--brand-blue);
}

/* ------------------------------------------------------
   Responsive Utilities & Artistic Details
---------------------------------------------------------*/
@media (max-width: 600px) {
  h1 { font-size: 1.5rem !important; }
  h2 { font-size: 1.2rem !important; }
  .project,
  .feature-grid li,
  .testimonial-card,
  .card,
  .newsletter-signup { min-width: 0; max-width: 100%; }
  .container { padding: 0 2vw; }
  .content-wrapper {
    gap: 14px;
  }
}

/* Section separation on all pages */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* General spacing for all content input blocks */
section > .container > .content-wrapper > *, 
section > .container > .content-wrapper > .section {
  margin-bottom: 20px;
}
/* Prevent overlapping */
.card, .testimonial-card, .feature-grid li, .project, .blog-list article, .diy-list > div, .tip-box, .benefits, .newsletter-signup, .service-list li {
  margin-bottom: 20px;
}

/* Utility Class for z-index stacking (when using overlays or modals) */
.z-top { z-index: 99999 !important; position: relative; }

/* Artistic Dotted Border Underlines for Page Sections and Cards */
hr.artistic {
  border: none;
  border-top: 3px dotted var(--brand-orange);
  margin: 34px 0 22px 0;
  width: 60%;
}

/* Hide visually (for accessiblity in modals) */
.visually-hidden {
  position: absolute!important;
  height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
}

/* ------------------------------------------------------
   END CSS
---------------------------------------------------------*/
