/* ===============================
   HAUSGEWANDT – STYLE.CSS
   Geometric Structured – Montserrat (display), Roboto (body)
   Brand: #215C50, #ECEFF1, #FFB300, #ffffff, #d48a00
   =============================== */

/* ===== 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,
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;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #fff;
  color: #215C50;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, picture {
  max-width: 100%;
  display: block;
}
a {
  color: #215C50;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.69,0,.39,1.01);
}
a:hover, a:focus {
  color: #FFB300;
  outline: none;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}

/* ===== Brand Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #215C50;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  font-weight: 800;
}
h1 {
  font-size: 2.25rem; /* 36px */
  line-height: 1.15;
}
h2 {
  font-size: 1.5rem; /* 24px */
  line-height: 1.2;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}
h4, h5, h6 {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

p, li, span, label, input, button {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
strong {
  font-weight: 700;
}

/* ===== Spacing Patterns: Geometric/Structured ===== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.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: 2px solid #ECEFF1;
  border-radius: 18px;
  box-shadow: 0px 2px 12px rgba(33,92,80,0.09);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s cubic-bezier(.69,0,.39,1.01), border-color 0.25s cubic-bezier(.69,0,.39,1.01);
}
.card:hover, .card:focus-within {
  border-color: #FFB300;
  box-shadow: 0px 4px 28px rgba(33,92,80,0.18);
  z-index: 2;
}
.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 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #ECEFF1;
  color: #193230;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(33,92,80,0.08);
  margin-bottom: 20px;
  min-width: 0;
  max-width: 640px;
  border-left: 6px solid #FFB300;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== Layout Containers & Helpers ===== */
.content-wrapper,
.text-section,
.cta-fullwidth,
.contact-short {
  background: #fff;
  border-radius: 20px;
  padding: 40px 32px;
  margin-bottom: 32px;
  box-shadow: 0px 2px 12px rgba(33,92,80,0.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cta-fullwidth {
  background: #215C50;
  color: #fff;
  align-items: center;
  text-align: center;
  box-shadow: 0px 4px 32px rgba(33,92,80,0.18);
}
.cta-fullwidth h2,
.cta-fullwidth p {
  color: #fff;
}
.cta-fullwidth .cta-btn {
  margin: 20px 0 0 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 20px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 210px;
  background: #ECEFF1;
  border-radius: 18px;
  box-shadow: 0 1px 8px rgba(33,92,80,0.07);
  min-width: 200px;
  padding: 28px 22px 22px 22px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.feature-grid > div:hover {
  border-color: #FFB300;
  box-shadow: 0 2px 16px rgba(33,92,80,0.13);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
}
.feature-grid h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
  text-align: center;
}
.feature-grid p {
  font-size: 0.98rem;
  color: #215C50;
  text-align: center;
}

.contact-short {
  align-items: flex-start;
}
.contact-short ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.contact-short li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  color: #215C50;
}
.contact-short img {
  width: 22px;
  height: 22px;
}

/* ===== Navigation Header ===== */
header {
  background: #ECEFF1;
  border-bottom: 3px solid #FFB300;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 20px;
  background: transparent;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 1rem;
  color: #215C50;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.2s;
  position: relative;
  display: inline-flex;
  align-items: center;
}
.main-nav a.cta-btn {
  background: #FFB300;
  color: #fff;
  padding: 10px 18px;
  margin-left: 12px;
  border-radius: 20px;
  font-size: 1rem;
  letter-spacing: 0.04em;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(33,92,80,0.10);
  border: none;
  outline: none;
  transition: background 0.18s, box-shadow 0.22s;
}
.main-nav a.cta-btn:hover, .main-nav a.cta-btn:focus {
  background: #d48a00;
  color: #fff;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FFB300;
  color: #fff;
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 10px;
}

.mobile-menu-toggle {
  display: none;
  background: #FFB300;
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.15s;
  z-index: 1200;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #215C50;
}

/* ===== Mobile Menu Overlay ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33,92,80, 0.98);
  z-index: 2000;
  flex-direction: column;
  align-items: stretch;
  transition: transform 0.4s cubic-bezier(.26,.73,.75,.95);
  transform: translateX(100%);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #FFB300;
  font-size: 2rem;
  border: none;
  align-self: flex-end;
  margin: 24px 28px 0 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.15rem;
  text-transform: uppercase;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 12px;
  background: transparent;
  transition: background 0.17s, color 0.15s;
  width: 100%;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFB300;
  color: #215C50;
}

/* ===== Main Content & Sections ===== */
main {
  margin: 0 0 36px 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* ===== FORM STYLES ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 14px;
}
label {
  font-size: 1rem;
  font-weight: 500;
  color: #215C50;
  margin-bottom: 3px;
}
input[type="text"],
input[type="email"] {
  background: #ECEFF1;
  border: 2px solid #215C50;
  border-radius: 9px;
  outline: none;
  font-size: 1.06rem;
  padding: 12px 14px;
  margin-bottom: 8px;
  transition: border-color 0.18s;
}
input[type="text"]:focus, input[type="email"]:focus {
  border-color: #FFB300;
}
input[type="checkbox"] {
  accent-color: #215C50;
  margin-right: 6px;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}
button[type="submit"],
.cta-btn,
button.cta-btn {
  background: #FFB300;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  border: none;
  border-radius: 20px;
  padding: 12px 32px;
  font-size: 1.09rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.16s, box-shadow 0.16s, color 0.15s;
  box-shadow: 0 2px 8px rgba(33,92,80,0.11);
  outline: none;
}
button[type="submit"]:hover,
.cta-btn:hover,
button.cta-btn:hover,
.cta-btn:focus {
  background: #d48a00;
  color: #fff;
}

/* ===== Lists & Blockquotes ===== */
ul, ol {
  margin: 0 0 18px 24px;
}
blockquote {
  background: #ECEFF1;
  color: #215C50;
  border-left: 6px solid #FFB300;
  margin: 20px 0;
  padding: 18px 26px;
  font-style: italic;
  border-radius: 8px;
}

/* ===== Footer ===== */
footer {
  background: #215C50;
  color: #fff;
  padding: 40px 0 21px 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 16px;
  justify-content: center;
}
.footer-links a {
  color: #FFB300;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  border-radius: 7px;
  padding: 7px 13px;
  transition: background 0.18s, color 0.18s;
}
.footer-links a:hover,
.footer-links a:focus {
  background: #FFB300;
  color: #215C50;
}
.contact-details {
  text-align: center;
  color: #ffffff;
  font-size: 0.98rem;
  margin-top: 9px;
}
.contact-details span {
  margin: 0 6px;
}
.contact-details div {
  margin-top: 7px;
}

/* ===== Responsive ===== */
@media (max-width: 1224px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
}
@media (max-width: 1020px) {
  .main-nav {
    gap: 18px;
    flex-wrap: wrap;
  }
  .footer-links {
    gap: 9px;
  }
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 22px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper, .text-section, .cta-fullwidth, .contact-short {
    padding: 26px 13px;
    border-radius: 15px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
    align-items: flex-start;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .section {
    margin-bottom: 32px;
    padding: 24px 0;
  }
}
@media (max-width: 550px) {
  h1 {
    font-size: 1.55rem;
    text-align: left;
  }
  h2 {
    font-size: 1.18rem;
  }
  .footer-links {
    flex-direction: column;
    gap: 6px;
  }
  .testimonials {
    padding: 6px 0;
  }
}

/* ===== Testimonials ===== */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 16px;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 10px;
  color: #12312B;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #534A00;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ===== Cookie Consent Banner ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #ECEFF1;
  box-shadow: 0 -4px 16px rgba(33,92,80,0.19);
  color: #215C50;
  font-family: 'Roboto', Arial, sans-serif;
  z-index: 2500;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 26px 10px 20px 10px;
  gap: 20px;
  flex-wrap: wrap;
  animation: slideUpBanner 0.56s cubic-bezier(.4,.12,.73,1.12);
}
@keyframes slideUpBanner {
  0% { transform: translateY(120%); opacity: 0; }
  75% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0 0 0 0;
  font-size: 1rem;
  max-width: 370px;
}
.cookie-banner .cookie-btn {
  background: #FFB300;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-right: 11px;
  transition: background 0.18s, color 0.15s;
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: #d48a00;
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: #215C50;
  color: #fff;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #123830;
}

/* ===== Cookie Preferences Modal ===== */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(33,92,80, 0.85);
  z-index: 4000;
  align-items: center;
  justify-content: center;
  animation: fadeModal 0.4s cubic-bezier(.18,.68,.68,1.12);
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  padding: 40px 32px;
  max-width: 410px;
  min-width: 0;
  text-align: left;
  position: relative;
  box-shadow: 0 6px 48px rgba(33,92,80,0.17);
  color: #215C50;
  font-size: 1rem;
}
.cookie-modal h2 {
  font-size: 1.23rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  margin: 19px 0 15px 0;
}
.cookie-category label {
  margin-left: 8px;
  font-size: 1rem;
  color: #215C50;
}
.cookie-modal .cookie-btn-row {
  display: flex;
  gap: 14px;
  margin-top: 25px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  font-size: 0.97rem;
  padding: 9px 16px;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 14px;
  right: 21px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #FFB300;
  cursor: pointer;
}
.cookie-modal .cookie-close:focus {
  outline: 2px solid #FFB300;
}
.cookie-modal input[type="checkbox"]:disabled + label {
  color: #cfcfcf;
}

/* ===== Micro animations, Buttons, Interactions ===== */
button, .cta-btn, .cookie-btn, .mobile-menu-toggle {
  transition: background 0.16s, color 0.16s, box-shadow 0.22s, transform 0.10s;
}
button:active, .cta-btn:active, .cookie-btn:active, .mobile-menu-toggle:active {
  transform: translateY(2px) scale(0.97);
  box-shadow: 0 1px 5px rgba(33,92,80,0.08);
}

/* Geometric/Angular Adjustable Effects */
hr {
  border: none;
  border-top: 2.5px solid #ECEFF1;
  margin: 25px 0;  
  width: 100%;
}

/* Signature Angle Accent */
.cta-fullwidth, .content-wrapper {
  position: relative;
  overflow: hidden;
}
.cta-fullwidth::before {
  content: '';
  position: absolute;
  top: -44px; left: -60px;
  width: 220px; height: 110px;
  background: #FFB300;
  clip-path: polygon(0 36%, 100% 0, 90% 100%, 0% 80%);
  opacity: 0.15;
  z-index: 0;
}
.content-wrapper::after {
  content: '';
  position: absolute;
  bottom: -36px; right: -69px;
  width: 185px; height: 82px;
  background: #215C50;
  clip-path: polygon(0 0, 100% 25%, 75% 100%, 0% 67%);
  opacity: 0.09;
  z-index: 0;
}
/* Layer content above accents */
.content-wrapper > *, .cta-fullwidth > * {
  position: relative;
  z-index: 2;
}

/* ===== Misc ===== */
::-webkit-input-placeholder { color: #8CA19B; }
:-ms-input-placeholder { color: #8CA19B; }
::placeholder { color: #8CA19B; }

/* Hide scroll on mobile menu overlayed content */
body.menu-open {
  overflow: hidden;
}

/* Utility: visually-hidden for accessibility */
.visually-hidden {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  height: 1px !important; width: 1px !important;
  margin: -1px !important; overflow: hidden !important;
  padding: 0 !important; position: absolute !important;
}

/* ========== END ========== */
