/* ----- CSS 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,
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 {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px; /* default, mobile first */
  background: #FAFAFA;
  color: #243726;
}

body {
  min-height: 100vh;
  background: #FAFAFA;
  line-height: 1.6;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #255A34;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFB84C;
}
ul {
  list-style: none;
  padding-left: 0;
}

/* ----- FONT IMPORT (Use webfonts in project setup) ----- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans:wght@400;600&display=swap');

/* ----- TYPOGRAPHY ----- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: -0.01em;
  color: #255A34;
}
h1 {
  font-size: 2.5rem; /* 40px */
  margin-bottom: 16px;
  font-weight: 700;
}
h2 {
  font-size: 2rem;   /* 32px */
  margin-bottom: 16px;
  font-weight: 700;
}
h3 {
  font-size: 1.375rem; /* 22px */
  margin-bottom: 10px;
  font-weight: 600;
}
h4 {
  font-size: 1.125rem; /* 18px */
  margin-bottom: 8px;
}
p, .text-section p, li, td, th {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #243726;
}
strong {
  font-weight: 600;
  color: #255A34;
}

.subheadline {
  color: #715e29;
  font-size: 1.2rem;
  margin-bottom: 24px;
  font-weight: 400;
}

.text-section {
  margin-bottom: 8px;
  padding-top: 0;
}

/* ----- LAYOUT: CONTAINER & SECTION ----- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 2px 16px rgba(220, 180, 94, 0.05), 0 1.5px 4px rgba(37, 90, 52, 0.04);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-section ul, .text-section ol {
  margin: 8px 0 8px 22px;
  padding: 0;
  list-style: disc inside;
}
.text-section li {
  margin-bottom: 8px;
}

/* ----- HEADER ---- */
header {
  background: #fff;
  border-bottom: 1.5px solid #E8E8E8;
  box-shadow: 0 2px 10px rgba(220, 180, 94, 0.03);
  position: sticky;
  top: 0;
  z-index: 999;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  justify-content: flex-start;
  padding-top: 14px;
  padding-bottom: 14px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}
header nav a {
  padding: 8px 0;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #FFF4E1;
  color: #255A34;
}

.cta-primary {
  display: inline-block;
  background: #FFB84C;
  color: #255A34;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 32px;
  padding: 13px 32px;
  box-shadow: 0 2px 8px rgba(255,184,76,0.13);
  text-align: center;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.21s, box-shadow 0.21s, transform 0.16s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #ffcb7d;
  color: #255A34;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 20px rgba(255,184,76,0.21);
}

.mobile-menu-toggle {
  display: none;
  background: #FFB84C;
  color: #255A34;
  border: none;
  font-size: 2.2rem;
  border-radius: 50%;
  padding: 8px 16px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255,184,76,0.09);
  margin-left: 16px;
  transition: background 0.19s, box-shadow 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FFD98B;
  outline: none;
}

@media (max-width: 980px) {
  header nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ----- MOBILE MENU SLIDE ----- */
.mobile-menu {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff9f2;
  transform: translateX(-104vw);
  transition: transform 0.37s cubic-bezier(.61,0,.67,1.07);
  box-shadow: 0 0 0 rgba(37, 90, 52, 0);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 2px 24px rgba(37,90,52,0.19);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.3rem;
  margin: 24px 24px 8px 0px;
  color: #255A34;
  cursor: pointer;
  transition: color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFB84C;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 32px auto 0 auto;
  width: 90%;
  max-width: 340px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: #255A34;
  padding: 14px 0;
  border-radius: 10px;
  width: 100%;
  transition: background 0.17s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFF4E1;
  color: #FFB84C;
}

@media (max-width: 980px) {
  .mobile-menu {
    display: flex;
  }
}

/* ----- HERO ----- */
.hero {
  background: #FFF4E1;
  border-radius: 32px;
  margin-bottom: 48px;
  padding: 38px 0 42px 0;
  box-shadow: 0 4px 28px rgba(255, 184, 76, 0.09);
}
.hero h1 {
  color: #255A34;
}
.hero .subheadline {
  color: #5E6529;
  font-size: 1.1rem;
}

/* ----- CARDS, GRIDS, SECTIONS ----- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 16px rgba(220, 180, 94, 0.08);
  margin-bottom: 20px;
  padding: 24px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.22s, transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 32px rgba(255,184,76,0.14);
  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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #FFF8EB;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(255,184,76,0.065);
  margin-bottom: 24px;
  padding: 28px 32px 24px 32px;
  width: 100%;
  color: #243726;
  font-size: 1.08rem;
  transition: box-shadow 0.18s;
}
.testimonial-card strong {
  color: #255A34;
  font-size: 1.00rem;
  font-weight: 600;
}
.testimonial-card p {
  font-size: 1.15rem;
  color: #243726;
}
.testimonial-card:last-child {
  margin-bottom: 0;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 22px rgba(255, 184, 76, 0.15);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.features > div {
  background: #fff;
  border-radius: 18px;
  flex: 1 1 210px;
  min-width: 200px;
  box-shadow: 0 2px 12px rgba(255,182,76,0.07);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  transition: box-shadow 0.17s, transform 0.16s;
}
.features > div:hover, .features > div:focus-within {
  box-shadow: 0 4px 24px rgba(255,184,76,0.17);
  transform: translateY(-2px) scale(1.03);
}
.features img {
  width: 40px;
  height: 40px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.services-grid > div {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(255,184,76,0.10);
  padding: 25px 18px 16px 18px;
  min-width: 210px;
  flex: 1 1 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.services-grid > div:hover, .services-grid > div:focus-within {
  box-shadow: 0 7px 32px rgba(255,184,76,0.15);
  transform: scale(1.03);
}
.services-grid img {
  width: 42px;
  height: 42px;
}
.services-grid h3 {
  margin-bottom: 0px;
  margin-top: 4px;
  color: #255A34;
}
.services-grid p {
  color: #363726;
  margin-bottom: 0;
}

.map-placeholder {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #FFFAEC;
  border-radius: 11px;
  padding: 18px 20px;
  margin-top: 24px;
  box-shadow: 0 2px 10px rgba(255,184,76,0.05);
  font-size: 1.04rem;
}

/* CARD & GRID alignments for larger screens */
@media (min-width: 900px) {
  .content-wrapper {
    gap: 40px;
  }
  .section {
    padding: 60px 40px;
  }
  .articles-list {
    flex-direction: row;
  }
}

/* ----- ARTICLE LIST (Ratgeber) ----- */
.articles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.articles-list article {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(255,184,76,0.08);
  flex: 1 1 295px;
  min-width: 240px;
  padding: 22px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  line-height: 1.54;
  transition: box-shadow 0.21s, transform 0.14s;
}
.articles-list article:hover, .articles-list article:focus-within {
  box-shadow: 0 4px 22px rgba(255,184,76,0.15);
  transform: scale(1.03);
}
.articles-list a {
  color: #FFB84C;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.14s;
}
.articles-list a:hover, .articles-list a:focus {
  color: #255A34;
  text-decoration: underline;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.search-bar input {
  border: 1px solid #F6CF8A;
  border-radius: 10px;
  padding: 6px 14px;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.12s;
}
.search-bar input:focus {
  outline: none;
  border-color: #FFB84C;
  background: #FFF4E1;
}
.categories {
  color: #715e29;
  font-size: 1.01rem;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.categories span {
  margin-right: 3px;
}

/* ----- TABLE (Pricing) ----- */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(220, 180, 94, 0.07);
  margin-bottom: 24px;
  overflow: hidden;
}
thead {
  background: #FFF4E1;
}
thead th {
  color: #255A34;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 14px 8px;
  font-weight: 700;
}
tbody td, tbody th {
  font-size: 1rem;
  color: #243726;
  padding: 14px 8px;
  background: #fff;
}
tbody tr:nth-child(even) td {
  background: #FFFAF1;
}
td strong {
  color: #FFB84C;
}

/* ----- BUTTONS & INTERACTIONS ----- */
button,
input[type="button"],
input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 24px;
  background: #FFB84C;
  color: #255A34;
  font-size: 1.09rem;
  font-weight: 700;
  padding: 10px 26px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(255,184,76,0.08);
  transition: background 0.16s, transform 0.12s;
}
button:hover, button:focus {
  background: #FFD98B;
  outline: none;
}

/* ----- FOOTER ----- */
footer {
  background: #255A34;
  padding-top: 38px;
  padding-bottom: 22px;
  color: #fff;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.footer-brand img {
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 6px;
}
.footer-links a {
  color: #fff9f2;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 9px;
  padding: 6px 8px;
  font-weight: 500;
  transition: background 0.16s, color 0.14s;
}
.footer-links a:hover, .footer-links a:focus {
  background: #FFB84C;
  color: #255A34;
}
.contact-summary {
  text-align: center;
  font-size: 0.99rem;
  color: #f3e8d7;
  margin-bottom: 5px;
  line-height: 1.4;
}
.contact-summary a {
  color: #FFB84C;
  text-decoration: underline;
  transition: color 0.15s;
}
.contact-summary a:hover {
  color: #f4c13f;
}
.social-icons {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 4px;
}
.social-icons img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1) contrast(1.2);
  opacity: 0.8;
  transition: opacity 0.15s, transform 0.13s;
}
.social-icons img:hover {
  opacity: 1;
  transform: scale(1.12);
}
.legal-links {
  color: #ece8e2;
  font-size: 0.92rem;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* ----- COOKIE CONSENT ----- */
.cookie-banner {
  position: fixed;
  width: 100vw;
  bottom: 0;
  left: 0;
  background: #fff8ec;
  box-shadow: 0 -1.5px 16px rgba(255,184,76,0.11);
  padding: 24px 16px 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  z-index: 3000;
  animation: cookie-in 0.7s cubic-bezier(.45,0,.34,1.11) both;
}
@keyframes cookie-in {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.cookie-banner p {
  color: #243726;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  min-width: 112px;
  padding: 10px 16px;
  font-size: 1rem;
  border-radius: 19px;
  box-shadow: 0 1px 5px rgba(255,184,76,0.08);
  background: #FFB84C;
  color: #255A34;
  outline: none;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #FFD98B;
}
.cookie-banner .btn-settings {
  background: #fff;
  border: 1.5px solid #FFB84C;
  color: #255A34;
  transition: background 0.11s;
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: #FFF4E1;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,90,52,0.28);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-in 0.14s cubic-bezier(.5,0,.74,1.24) both;
}
@keyframes cookie-modal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  padding: 30px 24px;
  border-radius: 22px;
  min-width: 320px;
  max-width: 97vw;
  box-shadow: 0 14px 64px rgba(37,90,52,0.12);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.28rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  padding: 8px 0;
}
.cookie-category label {
  font-size: 1rem;
  color: #255A34;
  font-weight: 600;
}
.cookie-switch {
  appearance: none;
  width: 39px;
  height: 22px;
  background: #efd880;
  border-radius: 13px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-switch:checked {
  background: #FFB84C;
}
.cookie-switch:disabled {
  background: #e4e4e4;
  cursor: not-allowed;
}
.cookie-switch:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.14s;
  box-shadow: 0 1px 4px rgba(37,90,52,0.07);
}
.cookie-switch:checked:before {
  left: 20px;
}
.cookie-category small {
  color: #AA9155;
  font-size: 0.95em;
  margin-left: 8px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 10px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #255A34;
  cursor: pointer;
}
.cookie-modal .modal-close:hover { color: #FFB84C; }

/* ----- SPACING, UTILITIES, RESPONSIVE ----- */
@media (max-width: 700px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 38px;
  }
  .hero {
    margin-bottom: 28px;
    padding: 23px 0 28px 0;
  }
  .content-wrapper, .features, .services-grid {
    gap: 16px;
  }
  .card, .testimonial-card, .articles-list article, .services-grid > div {
    padding: 16px 12px;
    min-width: 0;
  }
  table, .footer-links {
    font-size: 0.92rem;
  }
}

@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.09rem; }
  h3 { font-size: 1.001rem; }
  .footer-brand img {
    width: 40px;
    height: 40px;
  }
}

/* ----- ACCESSIBILITY ----- */
:focus {
  outline: 2.5px solid #FFB84C;
  outline-offset: 2px;
}
[tabindex="0"]:focus { outline: 2.5px solid #255A34; outline-offset: 2px; }

/* ----- Z-INDEX HIERARCHY ----- */
header { z-index: 900; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 3000; }
.cookie-modal-overlay { z-index: 3500; }

/* ----- MISC ----- */
::-webkit-scrollbar {
  width: 9px;
  background: #fff8ec;
}
::-webkit-scrollbar-thumb {
  background: #FFE5B8;
  border-radius: 6px;
}

/* END */
