/* RESET & BASE STYLES */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fffbe6;
  color: #1A2941;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #28A745;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD600;
  outline: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  color: #1A2941;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -1px;
  text-shadow: 2px 4px 10px #fffbcc80;
}
h2 {
  font-size: 2rem;
  color: #28A745;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  color: #1A2941;
}
h4, h5, h6 {
  color: #1A2941;
}
p, li, dd, dt {
  font-size: 1rem;
  line-height: 1.7;
}
p {
  margin-bottom: 16px;
  color: #222;
}
.container {
  max-width: 1100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* HEADER */
header {
  background: #FFD600;
  box-shadow: 0 4px 18px #ffe2773a;
  position: relative;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #1A2941;
  background: none;
  padding: 10px 0;
  border-radius: 5px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
header nav a:after {
  content: '';
  display: block;
  height: 3px;
  width: 0;
  background: #28A745;
  border-radius: 2px;
  transition: width 0.3s; 
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
}
header nav a:hover:after, header nav a:focus:after {
  width: 80%;
}
.btn-primary {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  display: inline-block;
  background: #28A745;
  color: #fff;
  border-radius: 28px;
  padding: 12px 38px;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 1px;
  box-shadow: 0 5px 20px #28A74540;
  border: none;
  cursor: pointer;
  text-shadow: none;
  margin-left: 10px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  text-align: center;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #1A2941;
  color: #FFD600;
  transform: translateY(-2px) scale(1.03) rotate(-1deg);
  box-shadow: 0 7px 24px #28A74570;
}
.mobile-menu-toggle {
  display: none;
  background: #FFD600;
  border: none;
  font-size: 2.2rem;
  color: #1A2941;
  padding: 8px 20px;
  border-radius: 50%;
  box-shadow: 0 2px 8px #fdd90044;
  cursor: pointer;
  margin-left: auto;
  z-index: 50;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #28A745;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFD600;
  box-shadow: 0 4px 60px #2229;
  z-index: 1000;
  transform: translateX(110vw);
  transition: transform 0.38s cubic-bezier(0.6,0.3,0.7,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 24px 20px 24px;
  gap: 28px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #28A745;
  color: #fff;
  border-radius: 50%;
  font-size: 1.6rem;
  border: none;
  align-self: flex-end;
  padding: 8px 14px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: background 0.18s;
  box-shadow: 0 2px 8px #28a74550;
}
.mobile-menu-close:focus {
  outline: 2px solid #1A2941;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.mobile-nav a {
  color: #1A2941;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 19px;
  padding: 10px 20px;
  transition: background 0.19s, color 0.17s;
  background: none;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #28A745;
  color: #fff;
}

/* BANNER & SECTIONS */
main > section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 5px 34px #ffd60012;
  animation: fadeInUp 0.5s cubic-bezier(0.4,0.7,0.6,1);
}
@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(40px);}
  to {opacity: 1; transform: translateY(0);}
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 16px;
}

/* FLEX LAYOUTS */
.card-container, .feature-grid, .services-list, .service-cards, .testimonials, .use-cases, .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.card, .feature, .service-item, .service-card, .testimonial-card {
  margin-bottom: 20px;
  position: relative;
}
.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: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 6px 36px #1A29410A, 0 1.5px 4px #28a74510;
  border-radius: 32px;
  min-width: 270px;
  max-width: 420px;
  font-size: 1.05rem;
  color: #141414;
  margin: 0 auto 26px auto;
  transition: transform 0.19s, box-shadow 0.22s;
}
.testimonial-card:hover {
  transform: translateY(-4px) scale(1.03) rotate(-0.8deg);
  box-shadow: 0 12px 48px #28A74518, 0 1.5px 4px #ffd60030;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SUBHEADLINE */
.subheadline {
  font-size: 1.18rem;
  color: #555;
  margin-bottom: 20px;
  font-family: 'Roboto', Arial, sans-serif;
}

/* FEATURES BLOCK */
.feature-grid {
  width: 100%;
  gap: 24px;
  justify-content: space-between;
}
.feature {
  flex: 1 1 260px;
  min-width: 210px;
  max-width: 350px;
  background: #fffbe5;
  border-radius: 22px;
  box-shadow: 0 3px 14px #ffd60023;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 18px;
  text-align: center;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature:hover {
  box-shadow: 0 5px 24px #ffd60067;
  transform: scale(1.045) rotate(1deg);
}
.feature img {
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  animation: pulse 1.5s infinite alternate;
}
@keyframes pulse {
  from {transform: translateY(0) scale(1);}
  to {transform: translateY(-5px) scale(1.08);}
}

/* SERVICES CARDS & LIST */
.service-cards {
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.service-card {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 350px;
  background: #fffbe5;
  border-radius: 20px;
  box-shadow: 0 3px 12px #ffd60025;
  padding: 22px 18px;
  margin-bottom: 20px;
  font-family: 'Roboto', Arial, sans-serif;
  transition: box-shadow 0.18s, transform 0.21s;
}
.service-card:hover {
  box-shadow: 0 6px 31px #FFD60040;
  transform: scale(1.025) rotate(-0.7deg);
}
.services-list {
  gap: 24px;
}
.service-item {
  background: #FFF;
  padding: 16px 14px;
  border-radius: 17px;
  box-shadow: 0 2px 8px #28a74512;
  min-width: 180px;
  flex: 1 1 220px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.service-item:hover {
  box-shadow: 0 8px 21px #ffd60027;
  transform: translateY(-2px) scale(1.02) rotate(0.7deg);
}
.service-highlights ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #1A2941;
}
.service-highlights li {
  background: #28A745;
  color: #fff;
  border-radius: 12px;
  padding: 11px 19px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px #28A74529;
  margin-bottom: 6px;
}
.service-highlights li span {
  font-size: 1.17em;
  margin-right: 4px;
}

/* TABLES & PRICING */
.pricing-table {
  background: #fffbe5;
  border-radius: 22px;
  padding: 24px 16px;
  box-shadow: 0 2px 12px #ffd60018;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
}
.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.pricing-table th, .pricing-table td {
  padding: 13px 10px;
  text-align: left;
  font-size: 1.05rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.pricing-table th {
  background: #FFD600;
  color: #1A2941;
  font-weight: 800;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.pricing-table tr:nth-child(even) {
  background: #fffbe8;
}
.pricing-table tr:nth-child(odd) {
  background: #fff;
}

/* CTA BLOCK */
.cta-block {
  background: #28A745;
  color: #fff;
  border-radius: 30px;
  box-shadow: 0 8px 30px #28a74542;
  margin: 0 auto;
  max-width: 650px;
  text-align: center;
  padding: 42px 18px 32px 18px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 2;
}
.cta-block h2 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 2rem;
}
.cta-block p {
  color: #fffde5;
  font-size: 1.12rem;
  margin-bottom: 22px;
}
.cta-block .btn-primary {
  margin-top: 12px;
}

/* TESTIMONIALS */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: center;
}
.testimonial-card {
  background: #fffdeb;
  box-shadow: 0 4px 30px #FFD60030, 0 2px 10px #28A7450D;
  color: #1A2941;
  border-radius: 32px;
  min-width: 270px;
  max-width: 370px;
  padding: 24px 22px 18px 22px;
  margin-bottom: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 7px;
}
.stars img {
  width: 19px; height: 19px; filter: drop-shadow(0 2px 6px #ffd60077);
  animation: starjump 1.1s infinite alternate;
}
.stars img:nth-child(2) { animation-delay: 0.15s; }
.stars img:nth-child(3) { animation-delay: 0.3s; }
.stars img:nth-child(4) { animation-delay: 0.45s; }
.stars img:nth-child(5) { animation-delay: 0.6s; }
@keyframes starjump {
  from { transform: translateY(0); }
  to { transform: translateY(-3px) scale(1.1); }
}
.testimonial-card p {
  color: #1A2941;
  font-size: 1.05rem;
  margin-bottom: 0;
  font-style: italic;
  text-align: center;
}
.testimonial-author {
  display: block;
  color: #28A745;
  font-style: normal;
  font-size: 0.99rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* FOOTER STYLES */
footer {
  background: #1A2941;
  color: #fffde5;
  font-size: 1rem;
  padding: 46px 0 20px 0;
  position: relative;
  z-index: 5;
  box-shadow: 0 -8px 24px #1a294126;
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  gap: 38px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-right: 30px;
}
.footer-nav a {
  color: #FFD600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 0.98rem;
  transition: color 0.2s, text-decoration 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #28A745;
  text-decoration: underline wavy 1.5px #28A745;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.97rem;
}
.footer-contact p {
  color: #fffde5;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-contact img {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(93%) sepia(38%) saturate(435%) hue-rotate(11deg) brightness(93%) contrast(86%);
}
.footer-brand {
  width: 100%;
  text-align: right;
  color: #FFE400;
  font-size: 0.93rem;
  margin-top: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbe5;
  color: #1A2941;
  box-shadow: 0 -3px 24px #FFD60033;
  padding: 26px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 10000;
  animation: bannerAppear 0.5s;
}
@keyframes bannerAppear {
  from {transform: translateY(60px); opacity:0;}
  to {transform: translateY(0); opacity:1;}
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  margin-top: 8px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 18px;
  padding: 10px 22px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.15s, transform 0.10s;
  margin: 0 4px;
}
.cookie-banner .accept-btn {
  background: #28A745;
  color: #fff;
}
.cookie-banner .accept-btn:hover, .cookie-banner .accept-btn:focus {
  background: #1A2941;
  color: #FFD600;
  transform: scale(1.03);
}
.cookie-banner .reject-btn {
  background: #FFD600;
  color: #1A2941;
}
.cookie-banner .reject-btn:hover, .cookie-banner .reject-btn:focus {
  background: #DF3333;
  color: #fff;
  transform: scale(1.03);
}
.cookie-banner .settings-btn {
  background: #fff;
  color: #28A745;
  border: 2px solid #28A745;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: #e7fff3;
  color: #1A2941;
  border-color: #1A2941;
  transform: scale(1.03);
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 95vw;
  max-width: 420px;
  background: #fffbe6;
  color: #1A2941;
  border-radius: 26px;
  z-index: 10100;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 44px #FFD60050;
  padding: 38px 22px 22px 22px;
  display: none;
  flex-direction: column;
  gap: 20px;
  animation: fadeInUp 0.3s;
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal-title {
  font-size: 1.42rem;
  margin-bottom: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 1.07rem;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: #28A745;
  width: 22px;
  height: 22px;
}
.cookie-modal .essential {
  opacity: 0.66;
  font-style: italic;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .modal-close {
  font-size: 1.2rem;
  background: #FFD600;
  color: #1A2941;
  border-radius: 16px;
  padding: 7px 14px;
  border: none;
  cursor: pointer;
  align-self: flex-end;
  margin-left: auto;
  margin-top: -28px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px #ffd6002f;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .modal-close:hover {
  background: #28A745;
  color: #fff;
}

/* FAQ/CONTENT STYLING */
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-top: 18px;
  margin-bottom: 4px;
  color: #1A2941;
  font-size: 1.1rem;
}
dd {
  margin-left: 0;
  font-size: 1rem;
  color: #363636;
  margin-bottom: 10px;
}
ul {
  list-style: disc inside;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* TABLES (PRICING/LEGAL) */
table, th, td {
  border: none;
}

/* GENERAL CARDS */
.card {
  background: #fff;
  border-radius: 21px;
  box-shadow: 0 2px 14px #FFD60022;
  padding: 20px 16px;
  transition: box-shadow 0.18s, transform 0.21s;
  animation: fadeInUp 0.6s;
}
.card:hover {
  box-shadow: 0 10px 26px #28A74518;
  transform: scale(1.03) rotate(1deg);
}

/* USE CASES (Leistungen) */
.use-cases {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.use-cases > div {
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 3px 14px #ffd60011;
  padding: 19px 13px;
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 330px;
  margin-bottom: 16px;
  font-family: 'Roboto', Arial, sans-serif;
}

/* Subtle Decorative Animated Blob, just for Playful-Dynamic Touch */
@media (min-width:768px) {
  section .container::after {
    content: '';
    position: absolute;
    right: 10vw;
    top: 40px;
    width: 120px; height: 120px;
    background: #FFD600;
    opacity: 0.18;
    border-radius: 55% 45% 60% 40%/55% 30% 70% 45%;
    z-index: 0;
    filter: blur(7px);
    animation: blobAnim 9s ease-in-out infinite alternate;
    pointer-events: none;
    display: block;
  }
}
@keyframes blobAnim {
  from { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.12) rotate(5deg); }
  to { transform: scale(1) rotate(-7deg); }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1050px) {
  .feature-grid, .service-cards, .testimonials, .services-list, .use-cases, .footer-nav, .card-container {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 12px;
  }
  .service-card, .feature {
    min-width: 130px;
    max-width: 90vw;
  }
  .footer-nav {
    gap: 12px;
    flex-wrap: wrap;
  }
  .footer-contact {
    font-size: 0.94rem;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    gap: 16px;
    padding: 0 6vw;
  }
  header .container {
    flex-direction: row;
    gap: 12px;
    padding: 8px 4vw;
    min-height: 50px;
  }
  header nav {
    display: none;
  }
  .btn-primary {
    padding: 12px 22px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  footer .container {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .footer-brand {
    text-align: left;
    margin-top: 10px;
  }
  .feature-grid, .service-cards, .testimonials, .services-list, .use-cases, .card-container {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .content-wrapper, .text-image-section, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .section, main > section {
    padding: 24px 4vw;
    border-radius: 20px;
  }
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.25rem;
  }
}
@media (max-width: 420px) {
  .container, .section {
    padding-left: 3vw;
    padding-right: 3vw;
  }
  .feature-card, .service-card,.testimonial-card {
    min-width: 88vw;
    max-width: 98vw;
    padding: 14px 8px;
  }
}

/* UTILITIES & EFFECTS */
::-webkit-input-placeholder { color: #bbb; }
::-moz-placeholder { color: #bbb; }
:-ms-input-placeholder { color: #bbb; }
::placeholder { color: #bbb; }

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px;
  border-radius: 11px;
  border: 1.5px solid #f1d300;
  margin-bottom: 14px;
  width: 100%;
  background: #fff;
  color: #1A2941;
  box-shadow: 0 2px 6px #ffd60009;
  transition: border 0.19s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #28A745;
  outline: 2px solid #28A74555;
}

/* Playful-Dynamic: Fun Fonts, Font Sizing */
h1, h2, .footer-brand, .btn-primary {
  font-family: 'Montserrat', 'Roboto Slab', cursive, sans-serif;
}
p, li, dt, dd, td, th {
  font-family: 'Roboto', Arial, sans-serif;
}

/* Z-INDEX LAYERS FOR HEADER, MENU, BANNER */
header, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 1000;
}

/* SPACING OVERRIDES */
.section, main > section { margin-bottom: 60px; padding-top: 40px; padding-bottom: 40px; }
.card-container, .feature-grid, .service-cards, .services-list, .testimonials, .content-grid, .use-cases { gap: 24px; }
.card, .feature, .service-card, .testimonial-card, .service-item { margin-bottom: 20px; }
.text-image-section { gap: 30px; }

/* HIDE COOKIE BANNER WHEN ACCEPTED */
.cookie-banner[aria-hidden="true"] { display: none!important; }
.cookie-modal[aria-hidden="true"] { display: none!important; }
