/* =========================
   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,
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  border: 0;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* =========================
   Brand Colors & Variables
========================= */
:root {
  --brand-primary: #293D2C;
  --brand-secondary: #86A94B;
  --brand-accent: #EAECED;
  --brand-electric-1: #FE5F55;
  --brand-electric-2: #FFC914;
  --brand-electric-3: #119DA4;
  --brand-electric-4: #FF2D95;
  --brand-electric-5: #00DDFF;
  --bg-main: #FFF;
  --bg-section-alt: #EAECED;
  --text-main: #1A1C1D;
  --text-secondary: #293D2C;
  --shadow-medi: 0 4px 24px 0 rgba(41,61,44,0.10);
  --shadow-card: 0 2px 8px 0 rgba(255,47,149,0.07);
  --border-radius: 18px;
  --border-radius-small: 8px;
}

@media (prefers-color-scheme: dark) {
 :root {
    --bg-main: #101414;
    --bg-section-alt: #212F22;
    --text-main: #FAFAF9;
    --text-secondary: #86A94B;
 }
}

/* =========================
   Typography
========================= */
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.7;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 10px;
  color: var(--brand-primary);
}
h1 {
  font-size: 2.75rem;
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--brand-electric-1);
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--brand-electric-2);
}
h3 {
  font-size: 1.3rem;
  color: var(--brand-secondary);
  margin-bottom: 8px;
}
h4 {
  font-size: 1.1rem;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 14px;
}
strong {font-weight: 700;}

.subheadline {
  font-size: 1.4rem;
  color: var(--brand-electric-3);
  margin-bottom: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  letter-spacing: .015em;
}

/* =========================
   Layout Containers
========================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 768px) {
  section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
}
.content-wrapper, .text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-section {
  max-width: 740px;
  margin: 0 auto;
}

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

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

.features {
  background: var(--bg-section-alt);
  border-radius: var(--border-radius);
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 26px 20px 24px 20px;
  gap: 15px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  transition: box-shadow .22s, transform .14s;
  border-left: 8px solid var(--brand-electric-3);
}
.feature-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 5px;
}
.feature-item:hover {
  box-shadow: 0 8px 32px 0 rgba(0,221,255,0.16);
  transform: translateY(-3px) scale(1.03);
  border-left: 8px solid var(--brand-electric-1);
}

/* =========================
   Cards & Card Containers
========================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow .19s, transform .13s;
  position: relative;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(254,95,85,0.14);
  transform: translateY(-2px) scale(1.02);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 20px 24px 20px;
  gap: 15px;
}

/* =========================
   Hero
========================= */
.hero {
  background: linear-gradient(88deg, var(--brand-accent) 0%, var(--brand-electric-3) 78%, var(--brand-electric-1) 100%);
  border-radius: var(--border-radius);
  margin-bottom: 48px;
  min-height: 260px;
  display: flex;
  align-items: center;
  box-shadow: 0 6px 24px 0 rgba(0,221,255,0.10);
}
.hero .content-wrapper {
  padding: 32px 0;
  align-items: flex-start;
  gap: 18px;
}
@media (max-width: 768px) {
  .hero {
    min-height: 180px;
    padding: 6px 0;
    margin-bottom: 28px;
  }
  .hero .content-wrapper {
    padding: 16px 0;
    gap: 10px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.25rem;
  }
}

/* CTA section */
.cta {
  background: var(--brand-electric-2);
  color: var(--brand-primary);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 20px 0 rgba(255,201,20,0.13);
  text-align: center;
  margin-bottom: 64px;
}
.cta h2 {
  color: var(--brand-electric-1);
}
.cta .cta-btn {
  margin: 8px auto 0 auto;
}

/* =========================
   Buttons & CTA
========================= */
.cta-btn, .card a.cta-btn, .feature-item a.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  display: inline-block;
  font-size: 1.12rem;
  padding: 14px 34px;
  border-radius: 44px;
  background: var(--brand-electric-1);
  color: #fff;
  transition: background .18s, transform .13s, box-shadow .17s;
  box-shadow: 0 3px 13px 0 rgba(254,95,85,0.12);
  border: 0;
  letter-spacing: .02em;
  margin-top: 10px;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--brand-electric-4);
  color: #fff;
  box-shadow: 0 6px 22px 0 rgba(255,45,149,0.17);
  transform: translateY(-2px) scale(1.04);
}

/* Inverted button for cookie banner etc. */
.btn-secondary {
  background: var(--brand-secondary);
  color: #fff;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--brand-electric-3);
}
.btn-tertiary {
  background: var(--brand-electric-3);
  color: #fff;
}
.btn-tertiary:hover,
.btn-tertiary:focus {
  background: var(--brand-primary);
  color: #fff;
}

/* =========================
   Navigation & Header
========================= */
header {
  background: #fff;
  border-bottom: 2.5px solid var(--brand-electric-3);
  box-shadow: 0 2px 9px 0 rgba(250,253,255,0.09);
  position: sticky;
  top: 0;
  z-index: 99;
}
.site-logo {
  display: flex;
  align-items: center;
  margin-right: 30px;
  padding: 10px 0;
}
.site-logo img {
  height: 54px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.main-nav a {
  padding: 6px 14px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: var(--brand-primary);
  font-size: 1.02rem;
  border-radius: 22px;
  transition: background .19s, color .11s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-electric-1);
  color: #fff;
}
.main-nav a.cta-btn {
  padding: 10px 22px;
  background: var(--brand-secondary);
  color: #fff;
  border-radius: 44px;
  box-shadow: 0 2px 9px 0 rgba(134,169,75,0.13);
  margin-left: 18px;
  transition: background .18s;
}
.main-nav a.cta-btn:hover, .main-nav a.cta-btn:focus {
  background: var(--brand-electric-3);
  color: #fff;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px 0 18px;
  min-height: 82px;
}

/* =========================
   MOBILE NAVIGATION MENU
========================= */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-electric-3);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px 0 rgba(17,157,164,0.13);
  transition: background .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-electric-1);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.98);
  z-index: 5550;
  transform: translateX(-105%);
  transition: transform 0.33s cubic-bezier(.63,.02,.43,1.03);
  box-shadow: 8px 0 44px 0 rgba(16,144,255,0.13);
  padding: 24px 28px 28px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--brand-electric-1);
  color: #fff;
  border: none;
  font-size: 2.2rem;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  align-self: flex-end;
  margin-bottom: 12px;
  cursor: pointer;
  transition: background .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-electric-4);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 35px;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 16px 0;
  border-radius: 8px;
  transition: background 0.15s, color 0.10s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-electric-2);
  color: var(--brand-electric-1);
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none!important;
  }
}

/* =========================
   Footer
========================= */
footer {
  background: var(--brand-accent);
  color: var(--brand-primary);
  border-top: 2.5px solid var(--brand-electric-1);
  box-shadow: 0 -2px 12px 0 rgba(41,61,44,.04);
  padding: 40px 0 24px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin-bottom: 15px;
}
.footer-nav a {
  color: var(--brand-primary);
  font-size: 1.04rem;
  transition: color 0.13s;
}
.footer-nav a:hover {
  color: var(--brand-electric-1);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  align-items: flex-start;
}
.footer-contact img {
  height: 38px;
  margin-bottom: 6px;
}
.footer-contact address {
  font-style: normal;
  font-weight: 500;
  color: var(--brand-primary);
  margin-bottom: 3px;
}
.footer-contact p {
  font-size: 0.99rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-secondary);
}
.footer-contact p img {
  height: 1.1em;
  width: auto;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 32px;
  }
}

/* =========================
   Testimonials
========================= */
.testimonials {
  background: var(--brand-accent);
  border-radius: var(--border-radius);
}
.testimonials .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: var(--text-main);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px 0 rgba(17,157,164,.14);
  padding: 20px;
  margin-bottom: 20px;
  max-width: 640px;
}
.testimonial-card blockquote {
  font-size: 1.12rem;
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  margin-bottom: 6px;
}
.testimonial-card cite {
  font-style: normal;
  color: var(--brand-electric-4);
  font-size: 1rem;
  margin-top: 2px;
  margin-left: 12px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
}

@media (max-width: 540px) {
  .testimonial-card {
    flex-direction: column;
    gap: 7px;
    padding: 14px 7px 14px 10px;
  }
  .testimonial-card blockquote {
    font-size: 1.01rem;
  }
}

/* =========================
   Lists, Links, Misc
========================= */
ul, ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 5px;
  list-style-position: inside;
}
ul li::marker {
  color: var(--brand-electric-3);
}
a {
  transition: color 0.14s;
}
a:focus {
  outline: 2px solid var(--brand-electric-3);
  outline-offset: 3px;
}

/* Contact list (Kontaktseite) */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
  color: var(--brand-electric-1);
  font-weight: 600;
}
.contact-list img {
  height: 22px;
  width: 22px;
  flex-shrink: 0;
}

/* =========================
   Animations
========================= */
@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(24px);}
  to {opacity: 1; transform: none;}
}
@keyframes slideInRight {
  from {opacity: 0; transform: translateX(100vw);}
  to {opacity: 1; transform: none;}
}
@keyframes slideInLeft {
  from {opacity: 0; transform: translateX(-100vw);}
  to {opacity: 1; transform: none;}
}

/* =========================
   Cookie Banner & Modal
========================= */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -4px 22px 0 rgba(41,61,44,0.15);
  z-index: 6000;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 26px 20px 28px;
  border-top: 6px solid var(--brand-electric-2);
  animation: fadeInUp .42s cubic-bezier(.49,.08,.47,1.09);
}
#cookie-banner p {
  flex: 2 1 220px;
  font-size: 1rem;
  color: var(--brand-primary);
}
#cookie-banner .cookie-actions {
  flex: 1 1 200px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
}
#cookie-banner .btn-secondary, #cookie-banner .btn-tertiary {
  padding: 11px 24px;
  font-size: 1rem;
  border-radius: 36px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  #cookie-banner {
    flex-direction: column;
    gap: 13px;
    text-align: center;
    padding: 16px 10px 18px 10px;
  }
  #cookie-banner .cookie-actions {
    justify-content: center;
    gap: 9px;
  }
}

#cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(17,157,164,0.29);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp .34s cubic-bezier(.43,.05,.48,1.11);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.19s, visibility 0.12s;
}
#cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
#cookie-modal .cookie-modal-dialog {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 24px 0 rgba(41,61,44,0.23);
  padding: 32px 30px 28px 30px;
  max-width: 410px;
  width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
#cookie-modal .close-cookie-modal {
  position: absolute;
  top: 20px;
  right: 26px;
  background: var(--brand-electric-4);
  border: none;
  color: #fff;
  border-radius: 10px;
  width: 32px; height: 32px;
  font-size: 1.4rem;
  cursor: pointer;
}
#cookie-modal h2 {
  color: var(--brand-electric-1);
  font-size: 1.32rem;
  margin-bottom: 3px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 7px;
  font-size: 1.0rem;
  font-weight: 600;
}
.cookie-toggle {
  width: 40px; height: 24px;
  border-radius: 16px;
  background: var(--brand-accent);
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  border: 1.5px solid var(--brand-electric-3);
  position: relative;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle-label {
  display: block;
  width: 40px; height: 24px;
  border-radius: 16px;
  background: var(--brand-accent);
  position: relative;
}
.cookie-toggle-slider {
  position: absolute;
  top: 2.5px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-electric-3);
  transition: left .15s, background .12s;
}
.cookie-toggle input:checked + .cookie-toggle-label .cookie-toggle-slider {
  left: 19px;
  background: var(--brand-electric-1);
}
.cookie-category .always-enabled {
  font-size: 0.96em;
  color: var(--brand-secondary);
  font-weight: 400;
  margin-left: 4px;
}
#cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
#cookie-modal .btn-secondary, #cookie-modal .btn-tertiary {
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 34px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* =========================
   Utilities & Media Queries
========================= */
@media (max-width: 680px) {
  .container {
    padding: 0 4px;
  }
  .content-wrapper, .text-section {
    gap: 13px;
  }
}
@media (max-width: 480px) {
  .footer-contact {
    font-size: 0.93rem;
  }
}

/* =========================
   Vibrant Accents & Micro-Interactions
========================= */
.feature-item, .card, .testimonial-card, .cta, .hero {
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.22s, transform 0.13s;
}
.feature-item:hover, .card:hover, .testimonial-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 38px 0 rgba(255,47,149,0.19),0 2px 8px 0 rgba(254,95,85,0.06);
}
.cta-btn:active, .btn-secondary:active, .btn-tertiary:active {
  transform: scale(.97);
}

hr {
  height: 2.5px;
  background: var(--brand-secondary);
  border: none;
  border-radius: 2px;
  margin: 22px 0;
}

::-webkit-scrollbar {
  width: 10px;
  background: var(--brand-accent);
}
::-webkit-scrollbar-thumb {
  background: var(--brand-electric-2);
  border-radius: 9px;
}

/* =========================
   Section Spacing Overrides
========================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Ensure no content overlapping, proper margins */
section, .card, .cta, .feature-item, .testimonial-card, .footer-contact, .main-nav a, .footer-nav a {
  margin-bottom: 0 !important;
}

/* =========================
   End of Styles
========================= */