/* -------------------------------------------------------------------------------------------------
   RESET & BASE STYLES  
---------------------------------------------------------------------------------------------------*/
html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  height: 100%;
  color: #22314C; /* Primary brand color for text for maximum contrast */
  background: #F9FAFB; /* Slightly off-white for artistic feel */
  font-family: Roboto, Arial, sans-serif;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
:root {
  --primary: #22314C;
  --secondary: #E5E7EB;
  --accent: #7DBD54;
  --bg-light: #F9FAFB;
  --surface: #FFF;
  --alert: #E88080;
}

/* -------------------------------------------------------------------------------------------------
   TYPOGRAPHY
---------------------------------------------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 16px 0;
  font-family: 'Lato', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--primary);
}
h1 {
  font-size: 2.4rem; /* 38px approx */
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 1px 2px 0px var(--accent), 0 10px 40px var(--accent, #A6DAAC);
  letter-spacing: 1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  font-style: italic;
}
h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 8px;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.05rem;
  font-weight: 600;
}
p, ul, ol, blockquote, table, li {
  color: #243154;
  font-size: 1rem;
  line-height: 1.68;
  margin-bottom: 12px;
}
p {
  max-width: 740px;
  margin-bottom: 18px;
}
ul, ol {
  margin-top: 0;
  margin-bottom: 18px;
  padding-left: 18px;
}
li {
  margin-bottom: 8px;
  font-size: 1rem;
}
a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.3s;
}
a:hover, a:focus {
  color: #274e37;
  text-decoration: none;
}
blockquote {
  font-family: 'Lato', cursive, sans-serif;
  background: #E5E7EB;
  padding: 18px 26px;
  border-left: 6px solid var(--accent);
  border-radius: 10px;
  font-size: 1.1rem;
  color: #17213a;
  margin: 0 0 12px 0;
}

/* -------------------------------------------------------------------------------------------------
   CONTAINER & LAYOUT
---------------------------------------------------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 8px 40px 0 rgba(34, 49, 76, 0.07);
  position: relative;
}

/* Flex layouts per requirements */
.features-grid,
.services-list,
.card-container,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.content-grid {
  gap: 20px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 18px 0 rgba(34, 49, 76, 0.08);
  padding: 28px 22px;
  min-width: 260px;
  transition: box-shadow 0.25s, transform 0.2s;
  z-index: 1;
}
.card:hover, .card:focus-within {
  transform: translateY(-6px) scale(1.03) rotate(-1deg);
  box-shadow: 0 12px 36px 0 rgba(34, 49, 76, 0.13);
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 20px;
  min-width: 260px;
  background: #fff;
  box-shadow: 0 2px 24px 0 rgba(125, 189, 84, 0.08);
  border-left: 7px solid var(--accent);
  border-radius: 18px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .18s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 60px 0 rgba(125, 189, 84, 0.15);
  transform: scale(1.03) rotate(1deg);
}
.testimonial-card .testimonial-author {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--primary);
  margin-top: 8px;
  align-self: flex-end;
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f4f8ed;
  border: 1.5px dashed var(--accent);
  border-radius: 14px;
  padding: 18px 8px;
  margin-top: 10px;
}

.faq-accordion > div {
  background: #f7fdf2;
  margin-bottom: 18px;
  border-radius: 12px;
  padding: 18px 24px;
  box-shadow: 0 1px 8px 0 rgba(125,189,84,0.08);
  transition: box-shadow .22s;
}
.faq-accordion > div:hover {
  box-shadow: 0 4px 28px 0 rgba(125,189,84,0.20);
}

/* Table styles for Preise page */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
thead th {
  background: var(--primary);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  padding: 12px 8px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom: 3px solid var(--accent);
}
tbody td {
  padding: 14px 7px;
  border-bottom: 1px solid #DFE3EC;
  font-size: 1.01rem;
}
tbody tr:nth-child(odd) {
  background: #F7FAF9;
}

/* -------------------------------------------------------------------------------------------------
   HEADER & NAVIGATION
---------------------------------------------------------------------------------------------------*/
header {
  background: linear-gradient(90deg, #FCFFF5 85%, #eafcde 120%);
  box-shadow: 0 3px 20px 0 rgba(34, 49, 76, 0.04);
  padding: 0px 0 0 0;
}
.main-nav {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 18px;
  height: 68px;
}
.main-nav a {
  color: var(--primary);
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 8px;
  background: transparent;
  transition: background .22s, color .22s, box-shadow .22s;
  position: relative;
}
.main-nav a:not(.cta-button):hover, .main-nav a:not(.cta-button):focus {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 9px #7DBD54ae;
}
.main-nav img {
  max-height: 36px;
  margin-right: 18px;
  display: block;
}
.cta-button {
  background: var(--accent);
  color: #fff !important;
  border: 0;
  font-weight: 900;
  border-radius: 99px;
  padding: 0.67em 2em;
  box-shadow: 0 2px 22px 0 #7DBD5470;
  letter-spacing: 1.1px;
  font-size: 1.07rem;
  margin-left: 10px;
  transition: background 0.18s, transform 0.15s, box-shadow 0.23s;
  cursor: pointer;
  text-decoration: none;
  font-family: 'Lato', Arial, sans-serif;
}
.cta-button:hover, .cta-button:focus {
  background: #497e29;
  transform: scale(1.03) translateY(-2px);
  box-shadow: 0 6px 36px 0 #7DBD54b4;
  color: #fff !important;
}


/* -------------------------------------------------------------------------------------------------
   MOBILE NAVIGATION
---------------------------------------------------------------------------------------------------*/
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: #FFF;
  font-size: 2.2rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 8px;
  position: absolute;
  right: 16px;
  top: 12px;
  z-index: 1220;
  cursor: pointer;
  box-shadow: 0 2px 14px 0 #7DBD5435;
  transition: background .18s, color .19s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #497e29;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,49,76,0.96);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-110%);
  transition: transform 0.34s cubic-bezier(.71,-0.17,.54,1.23);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #7DBD54;
  border: none;
  font-size: 2.4rem;
  position: absolute;
  top: 19px;
  right: 28px;
  cursor: pointer;
  z-index: 2100;
  padding: 5px 10px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 80px 34px 24px 34px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  background: #7DBD54;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  padding: 16px 36px;
  border-radius: 18px;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.15s, color 0.15s, box-shadow 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #22314C;
  color: #7DBD54;
  box-shadow: 0 2px 18px 0 #7DBD54AC;
}

/* Hide main nav on mobile */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}
/* Fix mobile menu stacking */
body.menu-open {
  overflow: hidden;
}

/* -------------------------------------------------------------------------------------------------
   FOOTER
---------------------------------------------------------------------------------------------------*/
footer {
  background: var(--primary);
  color: #fff;
  padding: 40px 12px 16px 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 14px;
  margin-top: -10px;
}
.footer-nav a {
  color: var(--accent);
  text-decoration: none;
  padding: 7px 2px;
  font-size: 1.02rem;
  font-family: 'Lato', Arial, sans-serif;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  background: #5a7a93;
}
.footer-contact {
  margin-top: 12px;
  text-align: center;
  color: #dae6f5;
  font-size: 0.98rem;
  opacity: 0.93;
}

/* -------------------------------------------------------------------------------------------------
   BUTTONS & INTERACTION
---------------------------------------------------------------------------------------------------*/
button, .cta-button {
  cursor: pointer;
  font-family: 'Lato', Roboto, sans-serif;
  font-weight: 700;
  border: none;
}
button:disabled,
.cta-button:disabled {
  background: #E5E7EB;
  color: #A5B3C3;
  cursor: not-allowed;
}

/* -------------------------------------------------------------------------------------------------
   ARTISTIC VISUALS & UNIQUENESS
---------------------------------------------------------------------------------------------------*/
.card img,
.features-grid img,
.services-list img {
  max-width: 48px;
  max-height: 48px;
  margin-bottom: 10px;
  filter: drop-shadow(0 1px 0 #7DBD54) drop-shadow(1px 5px 8px #e5e7ebdd);
}
/* Dotted accent underline for h2 */
h2::after {
  content: "";
  display: block;
  margin-top: 4px;
  width: 76px;
  height: 5px;
  border-radius: 50px;
  background: var(--accent);
  opacity: 0.44;
}
/* Artistic accent stroke on CTA */
.cta-button {
  box-shadow: 0 2px 22px 0 #7DBD5470, 0 0 0 3px #22314C1e inset;
  position: relative;
  overflow: hidden;
}
.cta-button::after {
  content: "";
  position: absolute;
  bottom: 0px; left: -28px;
  width: 80px; height: 100%;
  background: rgba(255,255,255,0.09);
  transform: skew(-24deg);
  pointer-events: none;
  opacity: 0.66;
  transition: left 0.3s cubic-bezier(.33,1.97,.52,-0.75);
}
.cta-button:hover::after {
  left: 80px;
}

/* Decorative squiggle behind testimonial */
.testimonial-card {
  position: relative;
  overflow: visible;
}
.testimonial-card::before {
  content: "";
  position: absolute;
  left: -46px; bottom: -22px;
  width: 78px; height: 33px;
  background: url('data:image/svg+xml;utf8,<svg fill="none" xmlns="http://www.w3.org/2000/svg" width="78" height="33"><path d="M1 20C20-2 54 47 77 11" stroke="%237DBD54" stroke-width="4" stroke-linecap="round"/></svg>') no-repeat;
  opacity: 0.23;
  pointer-events: none;
  z-index: -1;
}
@media (max-width: 600px) {
  .testimonial-card::before { left: -24px; width: 58px; height: 29px; }
}

/* -------------------------------------------------------------------------------------------------
   COOKIE BANNER & CONSENT MODAL
---------------------------------------------------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #fffbe7;
  color: #22314C;
  box-shadow: 0 -6px 26px -6px #22314c18;
  padding: 24px 16px 20px 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.35s cubic-bezier(.83,.13,.67,.87), opacity .27s;
  border-top: 3.5px solid var(--accent);
}
.cookie-banner.closed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-banner-text {
  font-size: 1rem;
  margin-bottom: 8px;
}
.cookie-banner .cookie-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.cookie-btn,
.cookie-settings-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 22px;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 10px 30px;
  margin: 0;
  box-shadow: 0 2px 14px #7DBD5455;
  transition: background .16s, box-shadow .18s, color .18s;
}
.cookie-btn.reject {
  background: var(--alert);
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus, .cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #22314C;
  color: #7DBD54;
  outline: none;
}

.cookie-settings-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  min-width: 320px;
  max-width: 96vw;
  width: 480px;
  background: #fff;
  color: #22314C;
  border-radius: 24px;
  box-shadow: 0 8px 90px 0 rgba(34,49,76,.25);
  z-index: 11000;
  transform: translate(-50%, -120%) scale(.92);
  opacity: 0;
  pointer-events: none;
  transition: all 0.34s cubic-bezier(.82,-0.18,.29,1.12);
  padding: 34px 24px 28px 24px;
  box-sizing: border-box;
}
.cookie-settings-modal.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: all;
}
.cookie-settings-modal h2 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 14px;
}
.cookie-settings-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.cookie-settings-modal .category-label {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}
.cookie-settings-modal .toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
}
.cookie-settings-modal .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-settings-modal .slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--secondary);
  border-radius: 18px;
  cursor: pointer;
  transition: background 0.22s;
}
.cookie-settings-modal .toggle-switch input:checked + .slider {
  background: var(--accent);
}
.cookie-settings-modal .slider:before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform .19s;
}
.cookie-settings-modal .toggle-switch input:checked + .slider:before {
  transform: translateX(14px);
}
.cookie-settings-modal .cookie-btn-row {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 20px;
}
.cookie-settings-modal .info {
  background: #f7fbe9;
  color: #22314c;
  border-radius: 7px;
  padding: 8px 11px;
  margin-bottom: 18px;
  font-size: .97em;
}

/* -------------------------------------------------------------------------------------------------
   RESPONSIVE QUERIES
---------------------------------------------------------------------------------------------------*/
@media (max-width: 1050px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .features-grid, .services-list, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .main-nav { flex-direction: column; }
}
@media (max-width: 750px) {
  .container { padding-left: 10px; padding-right: 10px; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.22rem; }
  .section { padding: 26px 4px; }
  .card { padding: 16px 8px; min-width: 170px; }
  .testimonial-card, .card, .faq-accordion > div {
    padding: 15px 9px;
  }
  .footer-contact { font-size: 0.9rem; }
}
@media (max-width: 600px) {
  .section { margin-bottom: 34px; }
  .main-nav, .footer-nav, .features-grid, .card-container, .content-grid {
    gap: 12px;
  }
  .content-wrapper {
    gap: 11px;
  }
  .testimonial-card {
    padding: 14px 8px;
    border-left-width: 4px;
  }
}
@media (max-width: 550px) {
  html, body { font-size: 16px; }
  .container { padding: 0 4px; }
  .cookie-settings-modal { padding: 18px 4px; max-width: 99vw; font-size: .95em; }
}

/* Text-Image/Section Responsive: force column on mobile */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: stretch; gap: 14px; }
}

/* -------------------------------------------------------------------------------------------------
   UNIQUE/ARTISTIC DETAILS
---------------------------------------------------------------------------------------------------*/
/* Artistic Font pairing - import in HTML head or via @import at top of file */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@700;900&family=Roboto:wght@400;700&display=swap');

/* Hand-drawn divider style (for About/Services/FAQ as accent) */
hr {
  border: none;
  border-top: 3px dashed var(--accent);
  margin: 22px 0;
  opacity: .5;
}

/* -------------------------------------------------------------------------------------------------
   MICRO-INTERACTIONS & TRANSITIONS
---------------------------------------------------------------------------------------------------*/
.card, .testimonial-card, .cta-button, .faq-accordion > div, .cookie-banner, .cookie-settings-modal {
  transition-property: box-shadow, background, color, transform, opacity;
  transition-duration: .24s;
  transition-timing-function: cubic-bezier(.38,1.23,.7,.72);
}

a, button, .cta-button {
  transition-property: background, color, box-shadow, transform;
  transition-duration: .16s;
  outline: none;
}
a:focus, button:focus, .cta-button:focus {
  box-shadow: 0 0 0 3px #7DBD54aa;
}

/* -------------------------------------------------------------------------------------------------
   PRINT OPTIMIZATION (optional for professional look)
---------------------------------------------------------------------------------------------------*/
@media print {
  header, .main-nav, .mobile-menu, .cookie-banner, .cookie-settings-modal, footer { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .section, .card, .testimonial-card { box-shadow: none !important; background: #fff !important; }
}
section {
  padding: 10px 0;
}