/* ------------------
   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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.6;
  font-size: 16px;
  background: #FFF9E3;
  color: #25405B;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: #25405B; text-decoration: none; transition: color 0.2s ease; }
a:hover, a:focus { color: #8DBF43; text-decoration: underline; }
ul, ol { margin-left: 20px; }

/* Font Imports (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Quicksand:wght@700&display=swap');

/* Typography */
h1, .hero-section h1 {
  font-family: 'Quicksand', cursive, sans-serif;
  font-weight: 700;
  font-size: 2.3rem;
  margin-bottom: 16px;
  color: #25405B;
  letter-spacing: 1px;
  line-height: 1.2;
}
h2 {
  font-family: 'Quicksand', cursive, sans-serif;
  font-size: 1.8rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: #25405B;
}
h3 {
  font-family: 'Quicksand', cursive, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
p, ul li, ol li, span, label {
  font-size: 1rem;
  color: #25405B;
  font-family: 'Open Sans', Arial, sans-serif;
}
strong {
  font-weight: 700;
  color: #8DBF43;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 700px;
}

/* Spacing & Section Layouts */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  box-shadow: 0 6px 14px 0 rgba(37,64,91,0.08);
  border-radius: 16px;
  padding: 28px 20px;
  min-width: 260px;
  flex: 1 1 260px;
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  box-shadow: 0 4px 9px 0 rgba(37,64,91,0.09);
  border-radius: 14px;
  padding: 24px 20px;
  margin-bottom: 24px;
  margin-top: 16px;
  border-left: 6px solid #8DBF43;
  max-width: 540px;
  min-width: 240px;
}
.testimonial-card p {
  color: #25405B;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
}
.testimonial-card span {
  color: #25405B;
  font-size: 0.95rem;
  margin-top: 6px;
  letter-spacing: 0.05em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 14px;
  background: #FFF9E3;
  border-radius: 10px;
  box-shadow: 0 3px 7px 0 rgba(141,191,67,0.09);
}

/* Icon Row */
.icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 18px;
}
.icon-row img {
  width: 54px;
  height: 54px;
  background: #8DBF43;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 1px 4px 0 rgba(37,64,91,0.08);
  transition: transform 0.2s;
}
.icon-row img:hover {
  transform: scale(1.15) rotate(-5deg);
  background: #25405B;
}

/* Tag */
.tag {
  display: inline-block;
  background: #8DBF43;
  color: #fff;
  font-family: 'Quicksand', cursive, sans-serif;
  font-size: 0.98rem;
  border-radius: 30px;
  padding: 7px 18px;
  margin: 0 7px 7px 0;
  transition: background 0.2s;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 5px 0 rgba(141,191,67,0.11);
  cursor: pointer;
}
.tag:hover {
  background: #25405B;
  color: #FFF9E3;
}

/* CTA Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Quicksand', cursive, sans-serif;
  background: #8DBF43;
  color: #fff;
  font-size: 1.15rem;
  padding: 13px 32px;
  border-radius: 40px;
  margin-top: 8px;
  box-shadow: 0 3px 14px 0 rgba(141,191,67,0.11);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.cta-button:hover, .cta-button:focus {
  background: #25405B;
  color: #FFF9E3;
  transform: translateY(-3px) scale(1.04);
}

/* Header & Navigation */
header {
  background: #fff;
  box-shadow: 0 1px 9px 0 rgba(37,64,91,0.07);
  position: sticky;
  top: 0;
  z-index: 101;
}
.logo img {
  height: 50px;
  margin-right: 18px;
  vertical-align: middle;
  transition: transform .15s;
}
.logo:hover img { transform: rotate(-5deg) scale(1.08); }

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 80px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Quicksand', cursive, sans-serif;
  font-size: 1rem;
  color: #25405B;
  font-weight: 700;
  padding: 6px 6px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #8DBF43;
  color: #fff;
}

/* Hamburger Button */
.mobile-menu-toggle {
  display: none;
  background: #8DBF43;
  color: #fff;
  font-size: 2.1rem;
  border: none;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 214;
  margin-left: 15px;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #25405B;
}

/* Mobile Navigation */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 6px 32px 0 rgba(37,64,91,0.21);
  z-index: 212;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(0.72,0.07,0.09,0.99);
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #8DBF43;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  margin: 18px 0 8px 16px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #25405B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin: 18px 0 0 32px;
}
.mobile-nav a {
  font-size: 1.18rem;
  font-family: 'Quicksand', cursive, sans-serif;
  color: #25405B;
  font-weight: 700;
  padding: 8px 0;
  border-radius: 8px;
  transition: background 0.13s, color 0.13s;
  min-width: 170px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #8DBF43;
  color: #fff;
}

/* Hide nav on mobile */
@media (max-width: 992px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* HERO SECTION */
.hero-section {
  background: linear-gradient(96deg, #FFF9E3 90%, #8DBF43 190%);
  padding: 56px 20px 46px 20px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  position: relative;
  overflow: hidden;
}
.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section .content-wrapper {
  text-align: left;
  align-items: flex-start;
  background: rgba(255,255,255,0.92);
  border-radius: 18px;
  padding: 36px 30px 32px 32px;
  box-shadow: 0 6px 22px 0 rgba(37,64,91,0.10);
  position: relative;
  z-index: 2;
  max-width: 550px;
  gap: 20px;
}
.hero-section h1 {
  color: #25405B;
  font-size: 2.4rem;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.hero-section p {
  color: #25405B;
  font-size: 1.12rem;
  margin-bottom: 10px;
}

/* Artistic Decorative Shape (optional) */
.hero-section:before {
  content: '';
  position: absolute;
  right: -70px;
  top: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #8DBF43;
  opacity: 0.23;
  z-index: 1;
}
.hero-section:after {
  content: '';
  position: absolute;
  left: -90px;
  bottom: -80px;
  width: 220px;
  height: 120px;
  border-radius: 90px 130px 120px 80px/100px 100px 80px 90px;
  background: #25405B;
  opacity: 0.13;
  z-index: 1;
}

/* Footer */
footer {
  margin-top: 60px;
  background: #25405B;
}
footer .container {
  padding: 0 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #FFF9E3;
  font-family: 'Quicksand', cursive, sans-serif;
  font-size: 1rem;
  padding: 4px 7px;
  border-radius: 8px;
  transition: background 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #8DBF43;
  color: #fff;
}
.brand-signature {
  color: #8DBF43;
  font-family: 'Quicksand', cursive, sans-serif;
  font-size: 1.03rem;
  margin-bottom: 8px;
}
.legal-info {
  color: #FFF9E3;
  font-size: 0.97rem;
  margin-bottom: 6px;
}
.legal-info a { color: #FFF9E3; text-decoration: underline; }


/* Artistic Lists */
ul, ol {
  margin-top: 0;
  margin-bottom: 16px;
  padding-left: 24px;
}
ul li, ol li {
  padding-left: 0;
  margin-bottom: 10px;
  color: #25405B;
  position: relative;
  font-size: 1.06rem;
}
ul li::marker, ol li::marker {
  color: #8DBF43;
  font-size: 1.04em;
}

/* Card Styles */
.card {
  border: none;
  background: #fff;
  transition: box-shadow 0.18s, transform 0.12s;
}
.card:hover {
  box-shadow: 0 6px 18px 0 rgba(141,191,67,0.23);
  transform: translateY(-3px) scale(1.01);
}

/* Miscellaneous Elements */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1.5px solid #8DBF43;
  margin-bottom: 18px;
  background: #FFF9E3;
  box-shadow: none;
  outline: none;
  transition: border 0.16s, background 0.13s;
}
input:focus, textarea:focus, select:focus {
  border: 1.8px solid #25405B;
  background: #fff;
}
button {
  font-family: 'Quicksand', cursive, sans-serif;
}

/* Artistic Divider */
hr {
  border: none;
  margin: 38px 0;
  height: 2px;
  width: 90px;
  background: #8DBF43;
  border-radius: 4px;
  opacity: 0.7;
}

/* Helper Classes */
.text-center { text-align: center; }
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }

/* Responsive & Mobile Queries */
@media (max-width: 1020px) {
  .container { max-width: 98vw; padding: 0 12px; }
}
@media (max-width: 768px) {
  h1, .hero-section h1 { font-size: 1.6rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.05rem; }
  .section { padding: 30px 7px; margin-bottom: 40px; }
  .content-wrapper, .text-section { gap: 17px; }
  .card { padding: 18px 10px; }
  .hero-section { padding: 28px 5px 25px 5px; min-height: 220px; border-radius: 0; }
  .hero-section .content-wrapper {max-width:400px; padding: 18px 6px 18px 10px; }
  .icon-row { gap: 15px; }
  .testimonial-card { padding: 15px 10px; }
  .footer-nav { gap: 10px; }
  .text-image-section { flex-direction: column; gap: 18px; align-items: flex-start; }
  .card-container, .content-grid { flex-direction: column; gap: 20px; align-items: stretch; }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #25405B;
  color: #FFF9E3;
  z-index: 3333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 18px 18px 18px 24px;
  box-shadow: 0 -4px 24px 0 rgba(37,64,91,0.14);
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: cookieAppear 0.5s cubic-bezier(.72,1.64,.19,.91);
}
@keyframes cookieAppear {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
  flex: 1 1 auto;
  max-width: 480px;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Quicksand', cursive, sans-serif;
  font-size: 1em;
  border: none;
  border-radius: 24px;
  padding: 8px 22px;
  margin: 0 3px;
  background: #8DBF43;
  color: #FFF9E3;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.13s, transform .1s;
}
.cookie-btn:hover,.cookie-btn:focus {
  background: #FFF9E3;
  color: #8DBF43;
  transform: translateY(-2px);
  outline: none;
}
.cookie-btn.settings {
  background: #fff;
  color: #25405B;
  border: 2px solid #8DBF43;
}
.cookie-btn.settings:hover,.cookie-btn.settings:focus {
  background: #8DBF43;
  color: #fff;
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25,25,28,0.8);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.3s;
}
@keyframes fadeInModal {
  from { opacity:0; } to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  color: #25405B;
  border-radius: 17px;
  box-shadow: 0 6px 40px 0 rgba(37,64,91,0.22);
  max-width: 420px;
  width: 93vw;
  padding: 34px 32px 21px 32px;
  font-family: 'Open Sans', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: modalAppear 0.38s cubic-bezier(.82,1.74,.11,.81);
}
@keyframes modalAppear {
  from { transform: translateY(60px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-title {
  font-family: 'Quicksand', cursive, sans-serif;
  font-size: 1.32rem;
  color: #25405B;
  font-weight: 700;
  margin-bottom: 7px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
/* Toggle Switches */
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 11px;
}
.cookie-toggle label {
  font-size: 1.05em;
}
.switch {
  position: relative;
  width: 42px;
  height: 24px;
  display: inline-block;
}
.switch input {display: none;}
.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 2px; left: 2px; right: 2px; bottom: 2px;
  background: #8DBF43;
  border-radius: 22px;
  transition: background 0.15s;
}
.switch input:checked + .switch-slider { background: #25405B; }
.switch-slider:before {
  content: "";
  position: absolute;
  left: 3px; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.18s;
}
.switch input:checked + .switch-slider:before {
  transform: translateX(17px);
}

.cookie-modal-btns {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal-btns .cookie-btn { min-width: 90px; }

/* Artistic Animations */
@media (max-width: 600px) {
  .cookie-modal {padding: 18px 10px;}
  .cookie-banner { flex-direction: column; gap: 10px; padding: 16px 5px; }
}

/* Artistic/Unique Effects */
.cta-button, .cookie-btn, .tag {
  box-shadow: 0 3px 13px 0 rgba(141,191,67,0.10), 0 1px 2px 0 rgba(37,64,91,0.04);
}

.card, .testimonial-card {
  transition: box-shadow 0.16s, transform 0.14s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 18px 0 rgba(141,191,67,0.18);
  transform: scale(1.01) translateY(-2px);
}


/* ---------------------------------------
    UNIQUE/ARTISTIC ELEMENTS & MICRO UX
------------------------------------------ */
.text-section, .content-wrapper {
  border-radius: 18px 18px 16px 16px/20px 24px 16px 16px;
}
::-webkit-scrollbar {
  width: 12px;
  background-color: #F4F9E7;
  border-radius: 15px;
}
::-webkit-scrollbar-thumb {
  background: #8DBF43;
  border-radius: 15px;
  min-height: 48px;
}
::-webkit-scrollbar-thumb:hover {
  background: #25405B;
}

/* Artistic drop svg shadow on logo */
.logo img {
  filter: drop-shadow(0 3px 7px rgba(141,191,67,0.05));
}

/* SVG images in list */
.text-section ul img, .text-section li img {
  margin-right: 7px;
  vertical-align: middle;
}

/* Artistic input checklists (cookie) */
.cookie-modal input[type=checkbox] {
  accent-color: #8DBF43;
  width: 18px;
  height: 18px;
}

/* Text Links in Cookie */
.cookie-banner a, .cookie-modal a {
  color: #8DBF43;
  text-decoration: underline;
  font-weight: 600;
}
.cookie-banner a:hover, .cookie-modal a:hover { color: #fff; }

/* Micro-interaction: Checkbox focus */
.cookie-toggle input:focus + .switch-slider {
  outline: 2px solid #25405B;
}

/* Margins between Cards/Sections */
section:not(:last-child) { margin-bottom: 60px; }

/* Icon Map Img Artistic Border */
.text-section img[alt="Anfahrtsskizze"] {
  border: 3px solid #8DBF43;
  border-radius: 30% 60% 40% 70%/60% 40% 70% 30%;
  box-shadow: 0 4px 14px 0 rgba(141,191,67,.15);
  margin-bottom: 10px;
}

/* Remove default list style from navs */
nav ul, nav ol, .main-nav ul, .footer-nav ul { list-style: none; margin: 0; padding: 0; }

/* Artistic focus ring for accessibility on all interactive elements */
button:focus, .cta-button:focus, .cookie-btn:focus, a:focus, .main-nav a:focus, .footer-nav a:focus, .tag:focus {
  outline: 2.5px solid #8DBF43;
  outline-offset: 2px;
  z-index: 2;
}

/* ----- END OF STYLE.CSS ----- */
