/* Fellzauber Kassel - Elegant Classic CSS */
/* --------------------------------------------------
   Reset & Box Sizing
-------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, img, dl, dd, blockquote, fieldset, legend, input, textarea, button {
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  min-height: 100vh;
  background: #F5F6F0;
  color: #273329;
  font-family: 'Libre Baskerville', 'Times New Roman', Times, serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
  transition: background 0.25s;
}
a {
  color: #205D3A;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #7BD5B4;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style-position: inside;
}

/* --------------------------------------------------
   Typography
-------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: 'Georgia', 'Libre Baskerville', 'Times New Roman', Times, serif;
  font-weight: 400;
  color: #205D3A;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
h4, h5 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
p, ul, ol {
  margin-bottom: 18px;
  color: #37443c;
  font-family: 'Merriweather', 'Georgia', Times, serif;
}
strong, b {
  font-weight: 700;
  color: #205D3A;
}
.subheadline {
  font-family: 'Georgia', 'Libre Baskerville', 'Times New Roman', Times, serif;
  font-size: 1.15rem;
  color: #7D8779;
  margin-bottom: 24px;
}

/* --------------------------------------------------
   Containers & Section Layouts
-------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.section {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 4px 18px rgba(100, 120, 90, 0.05);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

/* --------------------------------------------------
   Header & Navigation
-------------------------------------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #E7EBE4;
  position: relative;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px 20px;
  gap: 12px;
}
header a img {
  height: 48px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Georgia', 'Libre Baskerville', serif;
  font-size: 1.05rem;
  color: #205D3A;
  padding: 7px 0;
  position: relative;
  transition: color 0.15s;
}
.main-nav a:after {
  content: '';
  display: block;
  margin: 0 auto;
  width: 0;
  border-bottom: 2px solid #7BD5B4;
  transition: width 0.2s;
}
.main-nav a:hover:after,
.main-nav a:focus:after {
  width: 90%;
}
.main-nav a.active {
  color: #7BD5B4;
  font-weight: 700;
}
.cta-btn {
  background: #205D3A;
  color: #fff;
  font-family: 'Georgia', 'Libre Baskerville', serif;
  font-size: 1.06rem;
  letter-spacing: 0.025em;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 500;
  box-shadow: 0 2px 8px 0 rgba(32, 93, 58, 0.07);
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.2s;
  outline: none;
  margin-left: 12px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #7BD5B4;
  color: #205D3A;
  box-shadow: 0 4px 24px rgba(123, 213, 180,0.15);
  transform: translateY(-2px) scale(1.01);
}
button {
  font-family: 'Georgia', 'Libre Baskerville', serif;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: #205D3A;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E8F3ED;
  color: #7BD5B4;
}
/* --------------------------------------------------
   Mobile Navigation
-------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(245, 246, 240, 0.98);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 30px 20px 30px;
  box-shadow: 0 4px 32px rgba(32, 93, 58, 0.10);
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.81,.07,.22,1.06);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 2.5rem;
  color: #205D3A;
  cursor: pointer;
  margin-bottom: 16px;
  transition: color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #7BD5B4;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  margin-top: 16px;
}
.mobile-nav a {
  font-family: 'Georgia', 'Libre Baskerville', serif;
  font-size: 1.2rem;
  color: #205D3A;
  padding: 6px 0;
  transition: color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #7BD5B4;
}

/* --------------------------------------------------
   Hero Section
-------------------------------------------------- */
.hero {
  background: #E8F3ED;
  padding: 48px 0 38px 0;
  border-bottom: 1px solid #E2ECDF;
  margin-bottom: 60px;
}
.hero .container {
  align-items: flex-start;
  flex-direction: column;
}
.hero .content-wrapper {
  max-width: 640px;
  gap: 12px;
}

/* --------------------------------------------------
   Features (Index Highlights)
-------------------------------------------------- */
.features {
  margin-bottom: 60px;
  padding: 40px 0px;
}
.features h2 {
  margin-bottom: 24px;
  color: #205D3A;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  justify-content: space-between;
  align-items: stretch;
}
.feature {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 260px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 14px 0 rgba(32, 93, 58, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 20px 20px 20px;
  transition: box-shadow 0.18s, transform 0.18s;
  margin-bottom: 20px;
}
.feature img {
  height: 32px;
  margin-bottom: 12px;
}
.feature h3 {
  font-size: 1.17rem;
  margin-bottom: 6px;
  color: #205D3A;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 6px 28px rgba(32,93,58,0.13);
  transform: translateY(-3px) scale(1.022);
}

/* --------------------------------------------------
   Testimonial Card
-------------------------------------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #F5F6F0;
  box-shadow: 0 2px 14px 0 rgba(32,93,58,0.06);
  border-radius: 14px;
  margin-bottom: 24px;
  padding: 22px 24px 20px 22px;
  min-width: 0;
}
.testimonial-card h3 {
  font-size: 1rem;
  color: #234826;
  margin-bottom: 4px;
}
.testimonial-card p {
  color: #273329;
  font-size: 1rem;
  font-family: 'Merriweather', 'Georgia', Times, serif;
  margin-bottom: 0;
}

/* Ensure strong contrast for testimonials */
.testimonial-card,
.testimonial-card p, .testimonial-card h3 {
  background: #F5F6F0;
  color: #234826;
}

/* --------------------------------------------------
   Cards & Grids
-------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px 0 rgba(32,93,58,0.07);
  transition: box-shadow 0.16s, transform 0.16s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px rgba(32,93,58,0.15);
  transform: translateY(-2px) scale(1.013);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

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

/* --------------------------------------------------
   CTA Section
-------------------------------------------------- */
.cta-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
  background: #E8F3ED;
  border-radius: 12px;
  padding: 18px 22px 20px 16px;
  margin: 24px 0 10px 0;
  align-items: flex-start;
}
.cta-section .cta-btn {
  margin-left: 0;
}

/* --------------------------------------------------
   Footer
-------------------------------------------------- */
footer {
  background: #E8F3ED;
  border-top: 1px solid #D5DFDA;
  padding: 32px 0 20px 0;
  margin-top: 60px;
}
footer .container {
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #205D3A;
  font-family: 'Georgia', 'Libre Baskerville', serif;
  font-size: 1.01rem;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #7BD5B4;
}
.footer-contact {
  font-size: 0.97rem;
  color: #234826;
  text-align: center;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.65;
}

/* --------------------------------------------------
   Contact Info
-------------------------------------------------- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 22px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
}
.contact-info img {
  height: 22px;
  width: 22px;
}

.anfahrtsskizze {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f8faf7;
  border-radius: 10px;
  padding: 10px 15px;
  margin-top: 6px;
  margin-bottom: 24px;
}
.anfahrtsskizze img {
  height: 32px;
  width: 32px;
}

/* --------------------------------------------------
   Lists, FAQ, Service Lists
-------------------------------------------------- */
.service-list ul, .text-section ul {
  list-style-type: disc;
  padding-left: 24px;
  margin-bottom: 18px;
}
.text-section ul li, .service-list ul li {
  margin-bottom: 10px;
  font-size: 1rem;
}

/* --------------------------------------------------
   Cookie Consent Banner & Modal
-------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; width: 100vw;
  z-index: 10000;
  background: #273329;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  box-shadow: 0 -2px 18px rgba(32,93,58, 0.09);
  padding: 24px 16px;
  font-family: 'Georgia', 'Libre Baskerville', serif;
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: opacity 0.26s, transform 0.38s cubic-bezier(.73,.12,.31,1.17), visibility 0.27s;
}
.cookie-banner.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cookie-banner .cookie-text {
  flex: 1 1 260px;
  max-width: 660px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  margin-left: 12px;
}
.cookie-btn {
  border-radius: 26px;
  border: none;
  font-family: 'Georgia', 'Libre Baskerville', serif;
  font-size: 0.97rem;
  padding: 8px 22px;
  margin-right: 3px;
  background: #7BD5B4;
  color: #234826;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.cookie-btn.accept {
  background: #205D3A;
  color: #fff;
}
.cookie-btn.reject {
  background: #7D8779;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: #234826;
  border: 1px solid #205D3A;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: #205D3A;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #7BD5B4;
  color: #205D3A;
}
/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(40, 53, 41, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.23s, visibility 0.23s;
}
.cookie-modal.visible {
  opacity: 1;
  visibility: visible;
}
.cookie-modal-dialog {
  background: #fff;
  color: #234826;
  border-radius: 18px;
  box-shadow: 0 6px 34px rgba(32, 93, 58, 0.21);
  max-width: 420px;
  width: 85vw;
  padding: 30px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 20100;
}
.cookie-modal-dialog h3 {
  font-size: 1.23rem;
  margin-bottom: 8px;
}
.cookie-modal-dialog .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-modal-dialog .cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #D5DFDA;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal-dialog .cookie-toggle:checked {
  background: #7BD5B4;
}
.cookie-modal-dialog .cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.21s;
  box-shadow: 0 2px 8px 0 rgba(100, 120, 90, 0.13);
}
.cookie-modal-dialog .cookie-toggle:checked:before {
  left: 18px;
}
.cookie-modal-dialog .cookie-footer {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

/* --------------------------------------------------
   Utility & Miscellaneous
-------------------------------------------------- */
::-webkit-input-placeholder {
  color: #aaa;
  opacity: 1;
  font-family: 'Open Sans', Arial, sans-serif;
}
::-moz-placeholder {
  color: #aaa;
  opacity: 1;
  font-family: 'Open Sans', Arial, sans-serif;
}
:-ms-input-placeholder {
  color: #aaa;
  opacity: 1;
  font-family: 'Open Sans', Arial, sans-serif;
}
::placeholder {
  color: #aaa;
  opacity: 1;
  font-family: 'Open Sans', Arial, sans-serif;
}

hr {
  border: 0;
  border-top: 1px solid #E7EBE4;
  margin: 30px 0;
}

/* --------------------------------------------------
   Media Queries (Responsive)
-------------------------------------------------- */
@media (max-width: 1000px) {
  .feature-grid {
    gap: 22px;
  }
  .feature {
    min-width: 185px;
    max-width: 210px;
    padding: 18px 9px 17px 15px;
  }
  .header .container, .footer .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 820px) {
  .container {
    max-width: 98vw;
  }
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 35px 0 18px 0;
    margin-bottom: 38px;
  }
  .features {
    padding: 18px 0;
    margin-bottom: 35px;
  }
  .footer-nav, .footer-contact {
    font-size: 0.95rem;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 15px;
  }
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  h3 {
    font-size: 1.03rem;
  }
  .header .container {
    flex-direction: row;
    gap: 2px;
    padding: 8px 6px 7px 6px;
  }
  .footer .container {
    gap: 9px;
    padding: 0 7px;
  }
  .footer-nav {
    gap: 14px;
  }
  .card-container,.content-grid,.feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature {
    min-width: 0!important;
    max-width: 100%!important;
    padding: 17px 9px 14px 9px;
  }
  .testimonial-card, .card {
    padding: 16px 8px 13px 8px;
  }
  .cta-section {
    padding: 12px 10px 13px 8px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .mobile-menu {
    padding: 13px 10px 15px 10px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 15px 4px 13px 4px;
    gap: 12px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-buttons {
    margin-left: 0;
    justify-content: flex-start;
  }
  .cookie-modal-dialog {
    max-width: 98vw;
    padding: 15px 6vw;
  }
}
@media (max-width: 430px) {
  .footer-contact, .footer-nav {
    font-size: 0.92rem;
  }
  .testimonial-card {
    font-size: 0.98rem;
  }
}

/* --------------------------------------------------
   Animations: subtle fade & slide
-------------------------------------------------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeInUp 0.75s cubic-bezier(.57,.18,.2,1.12) 0.12s forwards;
}
@keyframes fadeInUp {
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------
   Print & Accessibility
-------------------------------------------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  .section, .card, .content-wrapper, .feature { box-shadow: none !important; background: #fff !important; }
}

/* --------------------------------------------------
   Font Face fallback (for classic serif look)
-------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Merriweather:wght@400;700&display=swap');

/* --------------------------------------------------
   Custom Scrollbar (subtle, classic)
-------------------------------------------------- */
::-webkit-scrollbar {
  width: 10px;
  background: #E8F3ED;
}
::-webkit-scrollbar-thumb {
  background: #D5DFDA;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #B2C2BA;
}
