/* RESET & BASE ----------------------------------------------------------- */
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, 
main, 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #FAFAFA;
  color: #2B2F3A;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  outline: none;
  background: none;
}
strong, b {
  font-weight: 600;
}

:root {
  --primary: #2B2F3A;
  --secondary: #7BA095;
  --accent: #F5E1B7;
  --gradient-1: linear-gradient(90deg, #7BA095 0%, #F5E1B7 100%);
  --gradient-2: linear-gradient(90deg, #F5E1B7 0%, #7BA095 100%);
  --gradient-bg: linear-gradient(120deg, #F5E1B7 0%, #E9F6F2 45%, #7BA095 100%);
  --shadow: 0 4px 12px 0 rgba(43,47,58,0.08);
  --radius: 14px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* CONTAINER & LAYOUT ----------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* Typography ------------------------------------------------------------- */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1.18;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
  letter-spacing: -0.01em;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.23;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary);
  letter-spacing: -0.01em;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.24;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--primary);
  letter-spacing: -0.01em;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.22;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--primary);
}
.subheadline {
  color: var(--secondary);
  font-size: 1.15rem;
  font-family: var(--font-body);
  font-weight: 400;
  margin-bottom: 18px;
}
p, li, ul, ol {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--primary);
}
p {
  margin-bottom: 10px;
}
ul, ol {
  margin-left: 18px;
}
.text-section ul {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.text-section p + ul {
  margin-top: 8px;
}

/* Links ------------------------------------------------------------------ */
a.cta {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  background: var(--gradient-1);
  color: var(--primary);
  box-shadow: var(--shadow);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  cursor: pointer;
  margin-top: 10px;
  text-align: center;
}
a.cta.primary,
button.cta.primary {
  background: var(--primary);
  color: #fff;
}
a.cta.primary:hover,
button.cta.primary:hover,
a.cta.secondary:hover,
button.cta.secondary:hover {
  background: var(--gradient-2);
  color: var(--primary);
  box-shadow: 0 8px 24px 0 rgba(123,160,149,0.17);
}
a.cta.secondary,
button.cta.secondary {
  background: var(--accent);
  color: var(--primary);
}

/* Header & NAV ------------------------------------------------------------ */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(43,47,58,0.06);
  z-index: 100;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}
.logo img {
  height: 44px; max-width: 150px;
  margin-right: 20px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.22s, color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
  text-shadow: 0 2px 8px #F5E1B780;
}
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  transition: background 0.22s, color 0.22s;
  z-index: 301;
  margin-left: 10px;
  cursor: pointer;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--secondary);
  color: #fff;
}

/* MOBILE MENU & OVERLAY -------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.75,-0.01,0,1.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 28px 20px 28px;
  gap: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: var(--primary);
  align-self: flex-end;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 50%;
  padding: 6px 10px;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--primary);
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid #F3F4F5;
  transition: color 0.17s;
  width: 100%;
}
.mobile-nav a:hover {
  color: var(--secondary);
  background: var(--accent);
  border-radius: var(--radius);
  padding-left: 12px;
}

/* HERO SECTION ----------------------------------------------------------- */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.hero {
  background: linear-gradient(120deg, #F5E1B7 20%, #F8F9F3 40%, #7BA095 100%);
  border-bottom-left-radius: 100px 36px;
  border-bottom-right-radius: 32px 42px;
  padding-top: 48px;
  padding-bottom: 56px;
  box-shadow: 0 8px 32px 0 rgba(123,160,149,0.09);
}
.hero .content-wrapper {
  min-height: 280px;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}
.hero h1 { color: var(--primary); }
.hero .subheadline {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 18px;
}

/* CARD & FLEX CONTAINERS ------------------------------------------------- */
.card-container, .card-grid, .feature-grid, .features, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 220px;
  min-width: 220px;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
}
.card:hover {
  box-shadow: 0 8px 24px 0 rgba(123,160,149,0.16);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* FEATURE SECTIONS ------------------------------------------------------- */
.features .content-wrapper { gap: 30px; }
.feature-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid li {
  flex: 1 1 260px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  font-size: 1.04rem;
  color: var(--primary);
  font-family: var(--font-body);
}
.feature-grid img {
  width: 38px; height: 38px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SECTION & SPACING ------------------------------------------------------ */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.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;
}

/* TESTIMONIALS ----------------------------------------------------------- */
.testimonials .content-wrapper {
  gap: 28px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 24px 0 rgba(43,47,58,0.10);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px 20px 24px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 600px;
  flex: 1 1 320px;
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.08rem;
  flex: 1 1 auto;
}
.testimonial-card span {
  color: var(--secondary);
  font-size: 0.98rem;
  font-weight: 600;
  margin-left: 15px;
}
.star-rating {
  display: flex;
  align-items: center;
  gap: 2px;
}
.star-rating img {
  width: 22px;
  height: 22px;
}

/* ABOUT SECTIONS --------------------------------------------------------- */
.about-short, .about, .team, .values {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section a.cta {
  align-self: flex-start;
}

/* SERVICES / LEISTUNGEN ------------------------------------------------- */
.services ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.services ul li {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.services ul span {
  color: var(--secondary);
  font-size: 0.97rem;
}
.services a.cta {
  margin-top: 14px;
}

/* CTA / NEWSLETTER SECTIONS ---------------------------------------------- */
.cta, section.cta {
  background: var(--gradient-bg);
  border-radius: var(--radius);
  box-shadow: 0 6px 24px 0 rgba(43,47,58,0.09);
  padding: 42px 24px;
  text-align: center;
  margin-bottom: 60px;
}
.cta .content-wrapper, section.cta .content-wrapper {
  align-items: center;
}
.newsletter-signup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

/* BLOG LIST -------------------------------------------------------------- */
.blog-list .content-wrapper {
  gap: 28px;
}
.blog-preview {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.blog-preview h3 {
  color: var(--secondary);
}
.blog-categories {
  display: flex;
  gap: 10px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.search-box input[type="search"] {
  padding: 7px 14px;
  border-radius: 8px;
  background: #F8F9F9;
  border: 1px solid #E0E4E2;
  color: var(--primary);
  transition: border 0.2s;
}
.search-box input[type="search"]:focus {
  border: 1.5px solid var(--secondary);
}

/* TABLES & FAQ ----------------------------------------------------------- */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  margin-top: 14px;
}
th, td {
  padding: 15px 14px;
  text-align: left;
  border-bottom: 1px solid #F1F0EE;
}
th {
  background: var(--accent);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.06rem;
}
tr:last-child td {
  border-bottom: none;
}
dt {
  font-weight: 600;
  margin-top: 19px;
}
dd {
  margin-left: 18px;
  color: var(--secondary);
  margin-bottom: 6px;
}

/* FOOTER ----------------------------------------------------------------- */
footer {
  width: 100%;
  background: #23262F;
  color: #fff;
  padding: 44px 0 18px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 38px;
}
.footer-logo img {
  width: 60px;
  height: auto;
  margin-bottom: 10px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a, .footer-legal a {
  color: #fff;
  font-family: var(--font-display);
  opacity: 0.83;
  transition: color 0.2s, opacity 0.2s;
  font-size: 1rem;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: var(--accent);
  opacity: 1;
}
.social-links {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.social-links img {
  width: 32px; height: 32px;
  filter: grayscale(30%) brightness(92%);
  transition: filter 0.15s;
  cursor: pointer;
}
.social-links img:hover {
  filter: grayscale(0%) brightness(120%);
}
.copyright {
  width: 100%;
  text-align: left;
  color: #E9ECE9;
  font-size: 0.97rem;
  margin-top: 18px;
  opacity: 0.77;
}

/* COOKIE CONSENT BANNER -------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  border-top: 4px solid var(--secondary);
  box-shadow: 0 -2px 22px 0 rgba(123,160,149,0.08);
  z-index: 9999;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  animation: cookieDrop 0.55s cubic-bezier(.61,-0.12,.23,1.06) 1;
  font-size: 1rem;
}
@keyframes cookieDrop {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 340px;
  color: var(--primary);
  font-size: 0.97rem;
  margin-right: 14px;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  padding: 9px 22px;
  border-radius: 7px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.2s;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-btn.reject {
  background: #D8DCD7;
  color: var(--primary);
}
.cookie-btn.settings {
  background: var(--accent);
  color: var(--primary);
}
.cookie-btn:focus,
.cookie-btn:hover {
  background: var(--primary);
  color: #fff;
}
/* Cookie Modal Popup --------------------------------------------------- */
.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%) scale(0.96);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px 0 rgba(43,47,58,0.19);
  z-index: 10000;
  min-width: 280px;
  max-width: 95vw;
  padding: 30px 30px 24px 30px;
  display: none;
  flex-direction: column;
  gap: 20px;
  animation: cookieModalIn 0.3s cubic-bezier(.71,-0.23,.34,1.41) 1;
}
.cookie-modal.open {
  display: flex;
  animation: cookieModalIn 0.28s cubic-bezier(.71,-0.23,.34,1.41) 1;
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translateX(-50%) scale(0.89); }
  to   { opacity: 1; transform: translateX(-50%) scale(1); }
}
.cookie-modal-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  border-radius: 50%;
  padding: 5px 9px;
  transition: background 0.13s;
}
.cookie-modal-close:focus,
.cookie-modal-close:hover {
  background: var(--accent);
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid #EEF1F3;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-family: var(--font-body);
  color: var(--primary);
  font-weight: 500;
}
.category-toggle {
  width: 42px;
  height: 26px;
  background: #EDEDED;
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.14s;
}
.category-toggle input {
  display: none;
}
.category-toggle span {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  background: var(--secondary);
  border-radius: 50%;
  transition: left 0.20s, background 0.18s;
}
.category-toggle input:checked + span {
  left: 19px;
  background: var(--primary);
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 10px;
}
/* Hide on desktop */
@media (min-width: 769px) {
  .cookie-banner, .cookie-modal {
    font-size: 1rem;
  }
}

/* RESPONSIVE & ADAPTIVE -------------------------------------------------- */
@media (max-width: 1180px) {
  .container {
    max-width: 970px;
  }
}
@media (max-width: 980px) {
  .container {
    max-width: 732px;
  }
  .footer-nav, .footer-legal {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-logo img { width: 44px; }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.5rem; }
  header .container {
    flex-wrap: wrap;
    flex-direction: row;
    min-height: 60px;
    gap: 8px;
  }
  .main-nav,
  header .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-logo img {
    width: 35px;
    margin-bottom: 8px;
  }
  .content-wrapper,
  .feature-grid,
  .services ul,
  .about-short .content-wrapper,
  .about .content-wrapper,
  .team .content-wrapper,
  .values .content-wrapper
   {
    gap: 16px;
  }
  .content-grid {
    gap: 14px;
  }
  .card, .testimonial-card {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
    padding: 16px 11px;
  }
  .footer-nav, .footer-legal {
    flex-direction: column;
    gap: 7px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .cta, section.cta {
    padding: 30px 8px;
  }
  .blog-preview {
    padding: 13px 8px;
  }
}
@media (max-width: 520px) {
  h1, .h1 { font-size: 1.29rem; }
  h2, .h2 { font-size: 1.05rem; }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .section, section {
    padding: 20px 4px;
  }
  .footer-logo img {
    width: 22px;
    margin-bottom: 4px;
  }
  .testimonial-card, .card {
    padding: 10px 5px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 7px;
  }
  .cookie-modal {
    padding: 12px 7px 8px 7px;
    min-width: 0;
    bottom: 36px;
  }
}

/* MICRO-INTERACTIONS & HOVER STATES ------------------------------------- */
.cta, .cookie-btn, button, a {
  transition: background 0.21s, color 0.19s, box-shadow 0.19s;
}
a:focus, button:focus, .cookie-btn:focus {
  outline: 2px solid var(--accent);
}
.card:hover, .testimonial-card:hover, .blog-preview:hover {
  box-shadow: 0 16px 44px 0 rgba(43,47,58,0.13);
}
input[type="search"]:focus {
  border-color: var(--secondary);
  background: #fff;
}

/* MISC. CLASSES ---------------------------------------------------------- */
.d-none { display: none !important; }

/* Hide scroll on mobile menu open (optional, via JS):
body.menu-open {
  overflow: hidden;
}
*/
