/* ==== 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 { height: 100%; box-sizing: border-box; }
body { min-height: 100%; width: 100%; background: #faf8f6; font-family: 'Open Sans', Arial, sans-serif; color: #223A3E; font-size: 16px; line-height: 1.64; }
img, svg { display: block; max-width: 100%; height: auto; border: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; background: none; }

/* ==== BRAND FONTS ==== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

:root {
  --primary: #223A3E;
  --secondary: #80B67A;
  --accent: #F3E7CB;
  --brand-orange: #FF7754;
  --brand-blue: #3496F3;
  --brand-pink: #E07599;
  --brand-green: #93C572;
  --shadow: 0 4px 20px rgba(34, 58, 62, 0.10), 0 1.5px 4px rgba(34,58,62,0.03);
  --radius: 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--primary);
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.325rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 8px; }
p, ul, ol, .subheadline { font-family: 'Open Sans', Arial, sans-serif; font-size: 1rem; color: #294245; }
.subheadline { font-size: 1.17rem; font-style: italic; color: var(--brand-pink); margin-bottom: 18px; }

/* ==== LAYOUT CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 1160px;
  padding: 0 18px;
  margin: 0 auto;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ==== HEADER & NAVIGATION ==== */
header {
  background: var(--accent);
  box-shadow: var(--shadow);
  border-radius: 0 0 var(--radius) var(--radius);
  position: relative;
  z-index: 10;
}
header .container {
  padding-top: 12px;
  padding-bottom: 12px;
}
header .content-wrapper {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.logo-link {
  display: flex;
  align-items: center;
  height: 60px;
}
.logo-link img {
  height: 52px;
  border-radius: 8px;
  box-shadow: 0 0 0 2px var(--secondary);
  background: #fff;
  padding: 2px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: #fff;
}
.main-nav .cta-primary {
  background: var(--brand-orange);
  color: #fff;
  box-shadow: 0 3px 12px rgba(34,58,62,0.09);
  border-radius: 12px;
  font-size: 1.07rem;
  letter-spacing: 0.02em;
  transition: background 0.22s, box-shadow 0.18s;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 4px 20px rgba(34,58,62,0.14);
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #fff;
  font-size: 2.3rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 30;
  border: none;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--brand-orange);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(242,237,230,0.96);
  box-shadow: 0 0 40px 10px rgba(34,58,62,0.16);
  z-index: 1000;
  transform: translateX(-105%);
  transition: transform 0.38s cubic-bezier(0.72,0,0.32,1), opacity 0.18s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 30px 0 0 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: var(--brand-orange);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 24px;
  margin-bottom: 32px;
  border: none;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--brand-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary);
  border-radius: 9px;
  padding: 12px 20px 12px 0;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ==== HERO SECTION ==== */
.hero {
  position: relative;
  background: linear-gradient(105deg, #F3E7CB 60%, #fff 100%);
  border-radius: 0 0 var(--radius) var(--radius);
  margin-bottom: 60px;
  animation: heroFadeIn 0.7s both 0.1s;
}
@keyframes heroFadeIn {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: none; }
}
.hero .container {
  padding-top: 38px;
  padding-bottom: 36px;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.4rem;
  color: var(--brand-orange);
  letter-spacing: 0.01em;
}
.hero .cta-primary {
  margin-top: 16px;
}

/* ==== CTA BUTTONS ==== */
.cta-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--brand-orange);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(34,58,62,0.10);
  transition: background 0.21s cubic-bezier(0.78,0.09,0.31,1), box-shadow 0.15s;
  cursor: pointer;
  border: none;
  margin-top: 7px;
  position: relative;
}
.cta-primary:focus, .cta-primary:hover {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 6px 24px rgba(34,58,62,0.14);
  text-decoration: none;
}

/* ==== FLEX LAYOUT PATTERNS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  min-width: 245px;
  transition: box-shadow 0.14s, transform 0.09s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 34px 0 rgba(34,58,62,0.18);
  transform: translateY(-3px) scale(1.02);
}
.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;
  padding: 20px;
  background: #fff;
  color: var(--primary);
  border-radius: 24px;
  box-shadow: 0 2px 14px rgba(34,58,62,0.09);
  margin-bottom: 20px;
  min-width: 250px;
  max-width: 400px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.14s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 36px 0 rgba(220,128,128,0.14);
  transform: translateY(-2px) scale(1.018);
}
.testimonial-card p {
  color: #222;
  font-size: 1.07rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--brand-pink);
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px 18px 22px 18px;
  margin-bottom: 20px;
  position: relative;
  border: 2px solid transparent;
  transition: box-shadow 0.13s, border-color 0.12s, transform 0.11s;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 6px 23px 0 rgba(128,182,122,0.16);
  border-color: var(--secondary);
  transform: translateY(-2px) scale(1.018);
}
.feature-item img {
  width: 48px; height: 48px; display: block;
  border-radius: 10px;
  box-shadow: 0 0 0 3px var(--brand-blue), 0 1px 6px rgba(128,182,122,0.11);
  margin-bottom: 7px;
  background: #fbfaf7;
}

/* ====== PAGE SPECIFIC SECTIONS ====== */
.features, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-grid {
  width: 100%;
  gap: 24px;
}
.feature-list, .service-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}
.sustainability-highlight {
  background: var(--brand-green);
  color: #fff;
  padding: 14px 22px;
  border-radius: 18px;
  margin-bottom: 18px;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 14px rgba(146,197,114,0.08);
}
.feature-icons {
  display: flex;
  gap: 25px;
  margin-top: 12px;
}
.feature-icons img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff5ee;
  box-shadow: 0 1px 8px rgba(224,117,153,0.07);
}

/* ==== TEAM SECTION ==== */
.team-listing {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.team-member-profile {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 8px rgba(34,58,62,0.09);
  padding: 24px 18px 20px 18px;
  margin-bottom: 20px;
  min-width: 240px;
  flex: 1 1 240px;
  transition: box-shadow 0.14s, transform 0.11s;
}
.team-member-profile:hover, .team-member-profile:focus-within{
  box-shadow: 0 4.5px 18px 0 rgba(51,153,255,0.14);
  transform: scale(1.017);
}
.team-member-profile h3 {
  color: var(--brand-blue);
}

/* ==== TYPOGRAPHY ELEMENTS ==== */
.brand-values-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.brand-values-list li:before {
  content: '✦';
  color: var(--brand-orange);
  font-size: 1.1em;
  margin-right: 8px;
  vertical-align: middle;
}

ol {
  list-style: decimal inside;
  margin-bottom: 10px;
  margin-left: 14px;
  color: #5B858B;
}
ul {
  list-style: none;
}
.text-section ul li {
  margin-bottom: 5px;
  position: relative;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

/* ==== CARDS AND LISTS PATTERNS ==== */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  justify-content: flex-start;
}
.diy-project-ideas ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.diy-project-ideas ul li {
  font-size: 1.04rem;
  color: var(--brand-blue);
  font-style: italic;
}

/* ==== CONTACT AND FOOTER ==== */
.contact .container, .kontakt .container {
  padding-top: 18px;
  padding-bottom: 10px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 1rem;
  color: #2E484B;
  margin-top: 5px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  margin-right: 6px;
}
footer {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 0;
}
footer .container {
  padding-top: 40px;
  padding-bottom: 38px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 18px;
}
.footer-menu a {
  color: var(--brand-green);
  font-size: 1rem;
  border-radius: 7px;
  padding: 5px 10px;
  transition: background 0.18s, color 0.16s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: var(--brand-orange);
  color: #fff;
}
.brand-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.brand-info img {
  height: 40px;
  width: auto;
}
.brand-tagline {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-align: center;
}

/* ==== THANK-YOU PAGE ==== */
.thank-you .container {
  padding-top: 48px;
  padding-bottom: 48px;
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbe7;
  color: var(--primary);
  box-shadow: 0 -1.5px 8px 0 rgba(128,182,122,0.13);
  border-top: 2.5px solid var(--secondary);
  z-index: 2222;
  padding: 22px 16px 24px 16px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  animation: slideInCookie 0.6s cubic-bezier(0.62,0,0.28,1) both;
}
@keyframes slideInCookie {
  0% { transform: translateY(100px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
  font-size: 1rem;
  flex: 1 1 230px;
  color: var(--primary);
  margin-right: 8px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 8px;
  padding: 12px 20px;
  margin-bottom: 0;
  cursor: pointer;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.14s;
  box-shadow: 0 2px 7px rgba(128,182,122,0.08);
}
.cookie-btn.primary {
  background: var(--brand-orange);
  color: #fff;
}
.cookie-btn.secondary {
  background: var(--brand-blue);
  color: #fff;
}
.cookie-btn.ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--brand-blue);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--brand-pink);
  color: #fff;
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0; top:0; bottom:0;
  background: rgba(35,58,62,0.47);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.21s cubic-bezier(0.73,0.19,0.33,0.95) both;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeInCookieModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: var(--primary);
  border-radius: 18px;
  padding: 42px 30px;
  box-shadow: 0 2px 16px rgba(34,58,62,0.14);
  position: relative;
  min-width: 300px;
  max-width: 95vw;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 20px;
  right: 22px;
  background: var(--brand-orange);
  color: #fff;
  font-size: 1.6rem;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}
.cookie-preference-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.cookie-category label {
  font-weight: 600;
  color: var(--primary);
}
.cookie-category input[type=checkbox] {
  accent-color: var(--brand-blue);
  width: 20px;
  height: 20px;
}
.cookie-category.essential label {
  color: var(--secondary);
}
.cookie-category.essential input[type=checkbox] {
  accent-color: var(--secondary);
}

/* ==== ANIMATIONS ==== */
a, button, .cta-primary, .cookie-btn {
  transition: background 0.18s, color 0.16s, box-shadow 0.14s, transform 0.12s;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1200px) {
  .container { max-width: 960px; }
}
@media (max-width: 992px) {
  .container { max-width: 720px; }
  .footer-menu, .brand-info, .footer-contact {
    flex: 1 1 100%;
    align-items: flex-start;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 28px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.4rem; }
  .hero h1 { font-size: 1.5rem; }
  .container { max-width: 99vw !important; padding: 0 7px; }
  .content-wrapper { gap: 14px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .section { margin-bottom: 40px; padding: 24px 7px; }
  .feature-grid, .testimonials, .testimonial-list, .team-listing {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .footer-contact { font-size: 0.95rem; gap: 7px; }
}
@media (max-width: 600px) {
  .hero .container { padding-top: 19px; padding-bottom: 18px; }
  .footer-menu { gap: 6px; }
  .brand-info img { height: 32px; }
}
/* Responsive alignment for text-image-section */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
}
/* Flexbox fallback for cards/list */
@media (max-width: 600px) {
  .card-container, .feature-grid, .testimonial-list, .team-listing { gap: 12px !important; }
  .card, .testimonial-card, .feature-item, .team-member-profile { min-width: 98px !important; padding: 14px 7px; }
}

/* ==== SCROLLBAR (optional, for artistic touch) ==== */
::-webkit-scrollbar { width: 11px; background: #f5f5f2; }
::-webkit-scrollbar-thumb { background: var(--brand-blue); border-radius: 8px; }

/* ==== MICRO-INTERACTIONS (e.g. raise on card hover) ==== */
.card:active, .testimonial-card:active, .feature-item:active {
  transform: scale(0.99);
  box-shadow: 0 1.5px 4px #223A3E33;
}

/* ==== ENSURE NO OVERLAPPING ==== */
.card, .feature-item, .testimonial-card, .team-member-profile {
  margin-bottom: 20px;
}

/* ==== Z-INDEX CONSISTENCY ==== */
header { z-index: 10; }
.mobile-menu { z-index: 1000; }
.cookie-banner { z-index: 2222; }
.cookie-modal { z-index: 3000; }

/* ==== ACCESSIBILITY ==== */
:focus-visible {
  outline: 3px dashed var(--brand-orange);
  outline-offset: 2px;
}

/* END */