/* CSS RESET & BASE TYPOGRAPHY */
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: inherit;
  vertical-align: baseline; }
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #FAF8F6;
  font-family: 'Roboto', Arial, sans-serif;
  color: #243239;
  font-size: 16px;
  min-height: 100vh;
  line-height: 1.7; }
img { max-width: 100%; height: auto; border-radius: 12px; }
a { color: #4B6B50; text-decoration: none; transition: color 0.18s; }
a:hover, a:focus { color: #A85923; text-decoration: underline; }
ul, ol { margin-left: 1.2em; margin-bottom: 1em; }
strong, b { font-weight: 700; }
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* BRAND VARIABLES (FALLBACKS FOR older browsers) */
:root {
  --brand-primary: #243239;
  --brand-secondary: #758F6D;
  --brand-accent: #ECECED;
  --brand-warm-bg: #FFF8F2;
  --brand-warm-orange: #FFB88A;
  --brand-warm-yellow: #FFE2B1;
  --brand-warm-green: #E7F3DD;
  --brand-border: #E3DED8;
  --btn-shadow: 0 2px 10px 0 rgba(206, 158, 90, 0.11);
}

/* TYPOGRAPHY & HEADINGS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #243239;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 1.8rem; line-height: 1.22; margin-bottom: 16px; }
h3 { font-size: 1.2rem; line-height: 1.25; margin-bottom: 10px; font-weight: 700; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 7px; font-weight: 600; }
p { margin-bottom: 1.1em; }
.text-section { margin-bottom: 24px; }

/* GLOBAL BUTTONS */
.cta-btn, .cookie-btn, .mobile-menu-close {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  display: inline-block;
  background: var(--brand-warm-orange);
  color: #243239;
  border-radius: 32px;
  border: none;
  padding: 14px 30px;
  font-size: 1.08rem;
  font-weight: 700;
  box-shadow: var(--btn-shadow);
  cursor: pointer;
  transition: background 0.2s, color 0.18s, box-shadow 0.2s, transform 0.1s;
  margin-top: 10px;
  margin-bottom: 10px;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #FFE2B1;
  color: #676767;
  box-shadow: 0 3px 18px 0 rgba(206,158,90,0.17);
  transform: translateY(-2px) scale(1.03);
}

/* HEADER & NAVIGATION */
header {
  background: #FFF8F2;
  border-bottom: 1px solid var(--brand-border);
  box-shadow: 0 3px 18px 0 rgba(360,158,90,0.03);
  padding: 0;
  margin-bottom: 0;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  gap: 30px;
}
header img {
  height: 52px;
  width: auto;
  border-radius: 10px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  margin: 0 0 0 30px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #47504A;
  padding: 7px 18px;
  border-radius: 20px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FFE2B1;
  color: #24292F;
}
header .cta-btn { margin-left: 28px; }

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-warm-orange);
  color: #243239;
  border: none;
  border-radius: 50%;
  font-size: 2.2rem;
  padding: 11px 17px 9px 17px;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1011;
  box-shadow: var(--btn-shadow);
  cursor: pointer;
  transition: background 0.18s, color 0.17s, transform 0.15s;
}
.mobile-menu-toggle:active { background: #ffd0a1; }
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #FFF8F2;
  box-shadow: 0 8px 40px rgba(75, 107, 80, 0.13);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.67, .02, .18, 1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 0 0;
  font-size: 2rem;
  background: #FFD0A1;
  color: #243239;
  padding: 7px 19px 7px 19px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: background 0.15s, color 0.12s, transform 0.12s;
  box-shadow: 0 2px 8px 0 rgba(236,186,90,0.18);
}
.mobile-menu-close:active {
  background: #FFB88A;
  color: #4B6B50;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 95%;
  margin: 30px auto 0 auto;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #4B6B50;
  padding: 13px 14px;
  font-size: 1.2rem;
  border-radius: 20px;
  transition: background 0.12s, color 0.12s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFE2B1;
  color: #243239;
  font-weight: 700;
}
@media (max-width:1023px) {
  .main-nav, header .cta-btn { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width:1024px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* HERO SECTIONS & BANNERS */
.hero {
  background: linear-gradient(115deg, #FFE2B1 65%, #E7F3DD 100%);
  min-height: 300px;
  display: flex;
  align-items: center;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  box-shadow: 0 5px 40px 0 rgba(255,184,138,0.07);
  margin-bottom: 60px;
}
.hero .container {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 250px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  max-width: 600px;
}


/* SECTION STRUCTURE & FLEX SPACING */
section { background: transparent; width: 100%; }
.section,.hero,section > .container { margin-bottom: 60px; padding: 40px 20px; }
.content-wrapper { display: flex; flex-direction: column; gap: 18px; width: 100%; }

.card-container,.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  background: #FFF8F2;
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: 0 2px 14px 0 rgba(166, 89, 35, 0.09);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.12s;
}
.card:hover, .card:focus {
  box-shadow: 0 5px 24px 0 rgba(166,89,35,0.18);
  transform: translateY(-3px) scale(1.015);
}
.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) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* LISTS, OL, UL & FEATURE ITEMS */
.feature-item,.service-item,.faq-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 1px 6px 0 rgba(168,113,59,0.07);
  padding: 22px 19px 19px 22px;
  margin-bottom: 20px;
  border: 1px solid var(--brand-border);
}
.feature-item:last-child,.service-item:last-child,.faq-item:last-child { margin-bottom: 0; }
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
  margin-top: 16px;
}
.service-item {
  flex: 1 1 260px;
  min-width: 230px;
  max-width: 350px;
  background: #FEFAF6;
  border-left: 7px solid #FFD0A1;
  transition: box-shadow 0.17s, border-color 0.15s;
}
.service-item:hover { border-color: #FFB88A; box-shadow: 0 3px 18px 0 rgba(166,89,35,0.18); }
.service-price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #4B6B50;
  background: #FFF6E8;
  border-radius: 14px;
  padding: 8px 18px;
  display: inline-block;
  margin-top: 9px;
  margin-bottom: 4px;
  font-size: 1.05rem;
}
ul li, ol li { margin-bottom: 7px; }

.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.faq-item {
  flex: 1 1 340px;
  max-width: 520px;
  background: #FFFBF5;
  border-left: 4px solid #99A680;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  margin-bottom: 20px;
  background: #FCF5E9;
  border-radius: 20px;
  border: 1px solid #F4E6CB;
  box-shadow: 0 2px 12px 0 rgba(116,89,25,0.07);
  color: #243239;
}
.testimonial-card p {
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2A3C44;
  font-weight: 500;
}
.testimonial-card span {
  color: #758F6D;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}

/* PROJECTS (projekte.html) */
.project-highlight {
  background: #FFF8F2;
  border-radius: 18px;
  box-shadow: 0 1px 8px 0 rgba(205,184,170,0.08);
  padding: 20px 18px 18px 24px;
  margin-bottom: 24px;
  border-left: 5px solid #FFD0A1;
  transition: border-color 0.13s, box-shadow 0.18s;
}
.project-highlight:hover { border-color: #FFB88A; box-shadow: 0 7px 20px 0 rgba(205,184,170,0.14); }
.project-highlight h2 {
  font-size: 1.23rem;
  margin-bottom: 7px;
}

/* THANK YOU PAGE */
.thank-message {
  background: #FFF8F2;
  border-radius: 24px;
  padding: 35px 26px;
  box-shadow: 0 1px 12px 0 rgba(166, 89, 35, 0.09);
  text-align: left;
  margin-top: 14px;
  margin-bottom: 0;
}

/* FOOTER DESIGN */
footer {
  background: #ECECED;
  padding: 0;
  border-top: 1px solid #EDE5DE;
  box-shadow: 0 -2px 18px 0 rgba(75,107,80,0.03);
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 36px;
  padding: 32px 20px;
  justify-content: space-between;
}
footer img {
  height: 38px;
  width: auto;
  margin-bottom: 9px;
  border-radius: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  color: #243239;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 2px 0;
}
.footer-contact {
  color: #47504A;
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 280px;
}
@media (max-width:900px) {
  footer .container {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    padding: 24px 12px;
  }
  .footer-contact { margin-top: 15px; }
}

/* COOKIE CONSENT BANNER + MODAL */
.cookie-banner {
  position: fixed;
  left: 6px; right: 6px;
  bottom: 0; z-index: 3033;
  background: #FFF8F2;
  border-radius: 20px 20px 8px 8px;
  box-shadow: 0 -3px 22px 0 rgba(166,89,35,0.14);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px 20px 22px;
  gap: 20px;
  font-size: 1.02rem;
  max-width: 650px;
  margin: 0 auto 12px auto;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.27s;
}
.cookie-banner.hidden { opacity: 0; pointer-events: none; visibility: hidden; }
.cookie-banner .cookie-btn {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-right: 10px;
}
.cookie-btn.accept {
  background: #FFB88A;
  color: #243239;
}
.cookie-btn.reject {
  background: #FFD0A1;
  color: #758F6D;
}
.cookie-btn.settings {
  background: transparent;
  color: #59956B;
  border: 1px solid #FFB88A;
  font-weight: 500;
}
.cookie-btn:not(:last-child) { margin-bottom: 0; }

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(52,50,41,0.62);
  z-index: 3234;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.hidden { opacity: 0; pointer-events: none; }
.cookie-modal {
  background: #FFF8F2;
  border-radius: 24px;
  box-shadow: 0 7px 42px 0 rgba(168,113,59,0.15);
  min-width: 320px;
  max-width: 97vw;
  padding: 36px 26px 30px 28px;
  font-size: 1.08rem;
  color: #243239;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 3242;
}
.cookie-modal h2 {
  margin-bottom: 18px;
  font-size: 1.29rem;
}
.cookie-modal .toggle-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 15px;
}
.cookie-modal .cookie-btn {
  margin-top: 21px;
}
.toggle-switch {
  position: relative;
  width: 44px;
  height: 22px;
  background: #FFE2B1;
  border-radius: 36px;
  box-shadow: 0 1px 6px 0 rgba(255,167,0,0.05);
  transition: background 0.19s;
  cursor: pointer;
}
.toggle-switch input { display: none; }
.toggle-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #FFB88A;
  border-radius: 50%;
  transition: left 0.17s, background 0.13s;
  box-shadow: 0 0.5px 2.6px 0 rgba(186,89,35,0.13);
}
.toggle-switch input:checked + .toggle-slider {
  left: 24px;
  background: #758F6D;
}

/* RESPONSIVENESS */
@media (max-width: 900px) {
  .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .service-item {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .container { padding: 0 10px; }
  .section, .hero, section>.container { padding: 28px 6px; }
  header .container { flex-direction: column; padding: 12px 7px; gap: 15px; align-items: flex-start; }
  .main-nav { flex-direction: column; gap: 13px; margin-left: 0; }
  .footer-nav { flex-direction: row; gap: 10px; }
  footer .container { padding: 18px 9px; gap: 13px; flex-direction: column; }
  .project-highlight, .testimonial-card, .card, .thank-message, .feature-item, .service-item, .faq-item { padding: 15px 9px; border-radius: 13px; }
  .hero { padding: 10px 0; border-radius: 16px; }
}
@media (max-width: 490px) {
  .cookie-banner { padding: 13px 7px 13px 7px; flex-direction: column; align-items: flex-start; }
  .cookie-modal { padding: 17px 7px 17px 9px; min-width: 0; font-size: 0.95rem; }
}

/* MICRO-INTERACTIONS & TRANSITIONS */
section, .card, .testimonial-card, .service-item, .faq-item, .project-highlight, .thank-message {
  transition: box-shadow 0.17s, background 0.18s, border-color 0.12s;
}
.card:focus, .feature-item:focus, .project-highlight:focus, .testimonial-card:focus {
  outline: 2px solid #FFD0A1;
  outline-offset: 3px;
}
br { line-height: 180%; }

/* GENERAL UTILS */
::-webkit-input-placeholder { color: #A8A4A0; opacity:1; }
::-moz-placeholder { color: #A8A4A0; opacity:1; }
:-ms-input-placeholder { color: #A8A4A0; opacity:1; }
::placeholder { color: #A8A4A0; opacity:1; }

[tabindex]:not([tabindex="-1"]):focus {
  outline: 2px solid #4B6B50;
  outline-offset: 2px;
}


/* HEIGHT LIMITS ON FLEX GRIDS */
.card-container, .service-list, .content-grid {
  width: 100%;
}

/* SCROLLBAR STYLING (FRIENDLY) */
::-webkit-scrollbar { width: 10px; background: #FCF5E8; border-radius: 20px; }
::-webkit-scrollbar-thumb { background: #FFB88A; border-radius: 18px; }

/* LINK VISIBLE EFFECTS */
.footer-nav a:hover, .footer-nav a:focus {
  background: #FFD0A1;
  color: #243239;
  border-radius: 12px;
  padding: 2px 8px;
  text-decoration: underline;
}

/* ACCESSIBILITY: HIGH CONTRAST FOR TESTIMONIALS */
.testimonial-card {
  color: #243239;
  background: #FFF8F2;
  border-color: #FFE2B1;
}

/* NO GRID/COLUMNS AT ALL! */