/* =========================
    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,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;
  min-height: 100vh;
  background: #f5efe6;
  color: #332c1b;
}
ol,ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  border-style: none;
  max-width: 100%;
  height: auto;
}
button,input,select,textarea {
  font-family: inherit;
  font-size: 100%;
}
*:focus {
  outline: 2px solid #FE9726;
  outline-offset: 2px;
}

/* =========================
   FONT IMPORTS
   ========================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans:wght@400;700&display=swap');

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #FFF9F1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1E2320;
  margin-bottom: 12px;
  text-shadow: 0 2px 0 #FFE4B7;
}

h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #175D29;
  letter-spacing: 0.5px;
}

p, ul, ol, li {
  color: #554624;
  font-size: 1rem;
}

strong {
  font-weight: 700;
}

/* ============== COLOR PALETTE ============== */
:root {
  --primary: #175D29;            /* Hauptgrün */
  --secondary: #FFE4B7;          /* Pastell Cream/Beige */
  --accent: #FE9726;             /* Retro Orange */
  --dark: #1E2320;
  --brown: #786150;
  --vintage-teal: #47ADA0;
  --vintage-yellow: #F8D568;
  --vintage-red: #E86C00;
}

/* =========================
   GLOBAL LAYOUT CONTAINERS
   ========================= */
.container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 18px;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF9F1;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 #efe6db;
  border: 2px solid #F8D56822;
}

@media (max-width: 768px) {
  .section {
    padding: 26px 6px;
    margin-bottom: 36px;
  }
}

main section.hero {
  background: repeating-linear-gradient(-45deg, #FFE4B7, #FFE4B7 22px, #F8D568 22px, #F8D568 44px);
  border: none;
  box-shadow: none;
  position: relative;
  min-height: 260px;
  margin-bottom: 40px;
  padding: 40px 0 32px 0;
}
main section.hero h1,
main section.hero p {
  color: #1E2320;
}
main section.hero .btn-primary {
  margin-top: 22px;
}

/* =========== RETRO EMBELLISHMENTS PATTERNS =========== */
.section, .card, .testimonial-card, .service-list > div, .feature-grid > div {
  background: #fffefd url('data:image/svg+xml;utf8,<svg width="40" height="40" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="4" height="4" rx="2" fill="%23FFE4B7"/></svg>') repeat;
  background-size: 40px 40px;
}

/* Inherit for hero and containers so not everywhere gets it heavy */
main section.hero {
  background: repeating-linear-gradient(-45deg, #FFE4B7, #FFE4B7 18px, #F8D568 18px, #F8D568 36px);
  background-blend-mode: lighten;
}

/* =================== FLEXBOX GRIDS =================== */
.feature-grid, .tips-grid, .article-list, .service-list, .testimonial-list, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

@media (max-width: 768px) {
  .feature-grid, .tips-grid, .article-list, .service-list, .testimonial-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

.feature-grid > div, .service-list > div, .testimonial-list > .testimonial-card, .tips-grid > div, .article-list > article {
  flex: 1 1 250px;
  background: #fff;
  border-radius: 17px;
  padding: 22px 20px;
  box-shadow: 0 2px 9px #f5e2bb77;
  margin-bottom: 0;
  border: 1.5px solid #FFE4B7;
  position: relative;
  min-width: 210px;
  min-height: 120px;
  font-size: 1rem;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover, .service-list > div:hover, .testimonial-card:hover, .article-list > article:hover {
  box-shadow: 0 8px 32px #FE972633, 0 1px 2px #0001;
  transform: translateY(-4px) scale(1.022);
}
.service-list, .feature-grid {
  gap: 24px;
}

.service-list > div {
  border-left: 8px solid var(--accent);
  border-radius: 0 17px 17px 17px;
  margin-bottom: 0;
}

.tips-grid > div, .article-list > article {
  border-left: 6px solid var(--primary);
  border-radius: 0 17px 17px 17px;
}

.article-list > article {
  background: #fffdf9;
  min-width: 180px;
}

@media (max-width: 768px) {
  .feature-grid > div, .service-list > div, .tips-grid > div, .article-list > article {
    min-width: 0;
    border-left-width: 4px;
    padding: 14px 12px;
    font-size: 0.98rem;
  }
}

/* =================== CARDS & TESTIMONIALS =================== */
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px #FE972628;
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px 22px 25px;
  border: 1.5px solid #F8D568;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 26px #FE972633;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}

/* =================== TESTIMONIALS =================== */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 18px 18px 18px;
  background: #fffef9;
  border-left: 8px solid var(--vintage-red);
  border-radius: 16px 8px 18px 18px;
  box-shadow: 0 2px 9px #F8D56855;
  max-width: 420px;
  min-width: 220px;
  margin-bottom: 0;
  z-index: 1;
  color: #362b18;
  font-size: 1.04rem;
  transition: box-shadow 0.2s, transform 0.17s;
}
.testimonial-card:hover, .testimonial-card.featured {
  box-shadow: 0 8px 34px #FE972644, 0 2px 10px #0001;
  border-left-color: var(--accent);
  background: #FFF3DF;
}
.testimonial-card p {
  color: #362b18;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card span {
  color: #8d7000;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .testimonial-list {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
    border-left-width: 4px;
    padding-left: 12px;
  }
}

/* ================= BUTTONS =================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 34px 13px 28px;
  background: linear-gradient(90deg, #FED086 0%, #FE9726 100%);
  color: #175D29;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11rem;
  font-weight: bold;
  border: none;
  border-radius: 100px 36px 36px 100px / 42px 50px 56px 62px;
  box-shadow: 0 3px 14px #FE972630, 0 1px 3px #1002;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.22s, color 0.19s, transform 0.14s, box-shadow 0.16s;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg,#FE9726 0%,#FED086 100%);
  color: #fff;
  transform: scale(1.04) translateY(-2px) rotate(-1deg);
  box-shadow: 0 6px 20px #FE972677,0 4px 10px #0001;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 18px 8px 20px 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.19s, color 0.16s, border 0.17s, transform 0.13s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: #fff;
  border-color: var(--accent);
  transform: scale(1.03) translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border: none;
}
.btn-outline {
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}
button {
  font-family: inherit;
  font-size: 1rem;
}

/* ================= NAVIGATION =================== */
header {
  width: 100%;
  background: #fff8e5;
  border-bottom: 4px dotted #F8D568;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px 10px 18px;
}
@media (max-width: 992px) {
  header .container {
    flex-wrap: wrap;
    gap: 12px;
  }
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  color: var(--primary);
  position: relative;
  padding: 3px 3px 3px 0;
  font-weight: 600;
  letter-spacing: 0.7px;
  background: none;
  border-radius: 0;
  transition: color 0.18s, background 0.14s;
}
header nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.23s;
  margin-top: 2px;
}
header nav a:hover, header nav a:focus {
  color: var(--accent);
}
header nav a:hover:after, header nav a:focus:after {
  width: 100%;
}
header img {
  height: 52px;
  width: auto;
  border-radius: 9px;
  margin-right: 6px;
  background: #FFE4B7;
  padding: 2px 5px;
}

@media (max-width: 930px) {
  header nav {
    display: none;
  }
  header .btn-primary {
    display: none;
  }
}

/* =============== MOBILE NAVIGATION =============== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 1001;
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 2.4rem;
  padding: 8px 16px;
  border-radius: 15px 8px 26px 14px;
  box-shadow: 0 2px 9px #FE972622;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, transform 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: #FFF9F1;
  transform: scale(1.03) rotate(-2deg);
}
@media (max-width: 930px) {
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff8eedd;
  backdrop-filter: blur(1.5px);
  box-shadow: 0 2px 30px #E86C0020;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.73,-0.06,.34,1.18);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 26px;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 6px 23px 9px 0;
  cursor: pointer;
  transition: color 0.16s, transform 0.15s;
  z-index: 10000;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #362b18;
  transform: rotate(8deg) scale(1.05);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 8px;
  margin-top: 20px;
  padding: 0 27px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.34rem;
  color: #1E2320;
  font-weight: 600;
  padding: 13px 0 12px 5px;
  border-bottom: 1.6px dashed #FE972633;
  transition: background 0.17s, color 0.19s;
  border-radius: 0;
  margin-bottom: 3px;
  letter-spacing: 1px;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FE972622;
  color: var(--vintage-red);
}
@media (min-width: 931px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ================== FOOTER =================== */
footer {
  background: #FFE4B7;
  border-top: 4px dotted #F8D568;
  padding: 36px 0 12px 0;
  font-size: 1.04rem;
  color: #492c04;
  font-family: 'Montserrat', Arial, sans-serif;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
@media (min-width: 700px) {
  footer .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }
}
.footer-nav {
  display: flex;
  gap: 23px;
  flex-wrap: wrap;
  font-size: 0.97rem;
}
.footer-nav a {
  color: #332c1b;
  font-weight: 600;
  border-bottom: 1px dashed #F8D568;
  padding-bottom: 2.5px;
  transition: color 0.18s, border 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

/* ============== LISTS, BADGES, VISUALS ============== */
ul, ol {
  margin-left: 0;
  margin-bottom: 15px;
}
ul li, ol li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  font-size: 1rem;
}
ul li:before {
  content: '\25C9';
  color: var(--accent);
  font-size: 1.03em;
  position: absolute;
  left: 0;
  top: 3px;
}
ol li:before {
  content: counter(li) '.';
  color: var(--primary);
  font-size: 1.03em;
  position: absolute;
  left: 0;
  top: 3px;
}
ol {
  counter-reset: li;
}
ol li {
  counter-increment: li;
}

.service-price {
  display: inline-block;
  background: #F8D568;
  color: #175D29;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01em;
  font-weight: 600;
  border-radius: 9px;
  padding: 4px 15px;
  margin-top: 11px;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 4px #E7B28E33;
}

/* =============== FEATURE ITEM ================ */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 21px;
    align-items: flex-start;
  }
}

/* ============== UTILITY & SPACING ============== */
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 25px !important; }
.mt-2 { margin-top: 18px !important; }
.mt-3 { margin-top: 27px !important; }
.gap-3 { gap: 24px !important; }
.gap-2 { gap: 16px !important; }

/* ============ CONTACT UL STYLES ============ */
.content-wrapper ul li img, .content-wrapper ol li img {
  vertical-align: middle;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  margin-top: -3px;
}
.content-wrapper ul li a, .content-wrapper ol li a {
  color: #147552;
  text-decoration: underline;
  font-size: 1.03rem;
  transition: color 0.16s;
  word-break: break-word;
}
.content-wrapper ul li a:hover, .content-wrapper ol li a:focus {
  color: #FE9726;
}

/* ================== FAQ & ARTICLE =============== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.faq-list h3 {
  color: var(--accent);
  font-size: 1.11rem;
}
.faq-list p {
  margin-bottom: 6px;
  margin-left: 0;
}

/* ============= ANIMATIONS & TRANSITIONS ============= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.section, .hero, .testimonial-card, .service-list>div, .feature-grid>div {
  animation: fadeInUp 0.4s cubic-bezier(.32,1.42,.59,.99) both;
}

/* ========== COOKIE CONSENT BANNER ============= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 12000;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  background: #FFF9F1;
  border-top: 4px solid #FE9726;
  box-shadow: 0 -6px 26px #78615018;
  padding: 24px 34px 20px 22px;
  font-size: 1.01rem;
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 18px 18px 0 0;
  max-width: 660px;
  margin: 0 auto;
  animation: fadeInUp 0.7s cubic-bezier(.32,1.22,.44,.99) both;
}

.cookie-banner__text {
  max-width: 330px;
  color: #332c1b;
}
.cookie-banner__actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner button{
  padding: 9px 28px;
  border-radius: 13px;
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 1px 6px #E86C0018;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.16s;
}
.accept-btn {
  background: var(--primary);
  color: #fff;
}
.accept-btn:hover, .accept-btn:focus {
  background: var(--accent);
  color: #fff;
}
.reject-btn {
  background: #F8D568;
  color: #332c1b;
}
.reject-btn:hover {
  background: var(--brown);
  color: #fff;
}
.settings-btn {
  background: #fff;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.settings-btn:hover, .settings-btn:focus {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 670px) {
  .cookie-banner {
    max-width: 97vw;
    padding: 16px 7px 8px 11px;
    flex-direction: column;
    gap: 15px;
    left: 1vw;
    right: 1vw;
  }
  .cookie-banner__text {
    max-width: 100%;
  }
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 12001;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: #1E232066;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.28s cubic-bezier(.63,-0.18,.31,1.07);
}
.cookie-modal-overlay.active {
  opacity: 1; visibility: visible;
}
.cookie-modal {
  background: #FFF9F1;
  border-radius: 22px;
  max-width: 420px;
  width: 93vw;
  padding: 38px 20px 22px 23px;
  box-shadow: 0 8px 45px #FE972633, 0 2px 8px #3202;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: fadeInUp 0.37s cubic-bezier(.27,.94,.61,1.32) both;
  color: #362b18;
}
.cookie-modal h3 {
  color: var(--accent);
  font-size: 1.14rem;
  margin-bottom: 16px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 21px;
  background: #fff5eb;
  border-radius: 14px;
  padding: 12px 15px;
  box-shadow: 0 2px 8px #E86C0022;
  font-size: 1rem;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--accent);
}
.cookie-category.essential label:after{
  content: ' (immer aktiv)';
  color: #175D29;
  font-size: 0.95em;
  font-weight: 600;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  min-width: 95px;
}

/* ================== MEDIA QUERIES =============== */
@media (max-width: 590px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.12rem; }
  .section, main section.hero {
    padding: 12px 3px 13px 3px;
  }
  .card, .testimonial-card {
    padding: 15px 6px 12px 10px;
    font-size: 0.98rem;
  }
  .btn-primary, .btn-secondary, .btn-outline {
    padding: 9px 16px;
    font-size: 1rem;
  }
}

@media (max-width: 400px) {
  .container { padding: 0 3px; }
  .hero { min-height: 140px; }
}

/* ================ RETRO & NOSTALGIA DETAILS ================ */
section.hero:before {
  content:"";
  display: block;
  position: absolute;
  left: -32px;
  top: -24px;
  width: 100px;
  height: 100px;
  z-index: 0;
  opacity: 0.11;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 96 96" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="48" cy="48" r="46" fill="%23FE9726" fill-opacity="0.24" stroke="%23175D29" stroke-width="3"/></svg>') no-repeat center center/contain;
}
main section.hero .container,
.section .container {
  z-index: 1;
  position: relative;
}

hr {
  border: none;
  height: 2px;
  width: 92%;
  margin: 32px 0 27px 0;
  background: linear-gradient(to right, #F8D568 50%, #E86C00 100%);
  opacity: .37;
  border-radius: 2px;
}

/* Prevent overlapping */
.card,.service-list>div, .feature-grid>div, .testimonial-card, .article-list>article {
  margin-bottom: 20px;
}
.section:not(:last-child) {
  margin-bottom: 60px;
}

/* =============== PRINT ============== */
@media print {
  header, footer, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay { display: none!important; }
  body, main { background: #fff; }
  * { box-shadow: none !important; color: #000 !important; }
}
