/* =======================================
   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;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #EAF0F6;
  color: #232832;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* =======================================
   Brand Fonts
======================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

:root {
  --fv-primary: #232832;
  --fv-secondary: #F5A623;
  --fv-accent: #EAF0F6;
  --fv-grey: #F4F7FA;
  --fv-white: #fff;
  --fv-dark-text: #232832;
  --fv-light-text: #fff;
  --fv-shadow: rgba(35, 40, 50, 0.10);
  --fv-radius: 16px;
  --fv-radius-md: 12px;
  --fv-radius-sm: 8px;
  --fv-transition: 0.3s cubic-bezier(.4,0,.2,1);
}

/* =======================================
   Layout Containers & Spacing
======================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--fv-white);
  border-radius: var(--fv-radius);
  box-shadow: 0 4px 24px var(--fv-shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: var(--fv-grey);
  border-radius: var(--fv-radius-md);
  padding: 32px 24px;
  box-shadow: 0 2px 16px var(--fv-shadow);
  transition: box-shadow var(--fv-transition), transform var(--fv-transition);
}
.card:hover {
  box-shadow: 0 6px 24px rgba(35,40,50,0.15);
  transform: translateY(-4px);
}
.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: 24px 32px;
  margin-bottom: 20px;
  background: var(--fv-accent);
  border-radius: var(--fv-radius-md);
  box-shadow: 0 2px 12px var(--fv-shadow);
  color: var(--fv-dark-text);
  max-width: 440px;
  font-size: 16px;
  transition: box-shadow var(--fv-transition), transform var(--fv-transition);
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(35,40,50,0.13);
  transform: translateY(-2px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =======================================
   Typography & Headings
======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--fv-primary);
  margin-bottom: 8px;
  line-height: 1.15;
}
h1 { font-size: 2.8rem; font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 500; }
p, li, .text-section {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--fv-primary);
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
p {
  line-height: 1.6;
}
strong, b {
  font-weight: 700;
}

/* =======================================
   HERO SECTIONS
======================================== */
.hero {
  background: linear-gradient(135deg, #F5A623 0%, #EAF0F6 100%);
  padding: 56px 0 56px 0;
  margin-bottom: 60px;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 4px 32px 0 var(--fv-shadow);
  display: flex;
  align-items: center;
}
.hero h1 {
  color: #232832;
  margin-bottom: 18px;
}
.hero p {
  color: #232832;
  max-width: 580px;
  margin-bottom: 22px;
}
.hero .btn-primary {
  margin-top: 8px;
}

/* =======================================
   FEATURE LISTS
======================================== */
.features ul,
.feature_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  margin-top: 8px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.features ul li,
.feature_grid li {
  display: flex;
  align-items: center;
  background: var(--fv-white);
  border-radius: var(--fv-radius-sm);
  padding: 12px 20px;
  box-shadow: 0 1px 8px rgba(35,40,50,0.05);
  font-size: 1rem;
  min-width: 240px;
  gap: 12px;
}
.features h3 {
  margin-top: 16px;
  font-size: 1.1rem;
  color: var(--fv-secondary);
}
.feature_descriptions {
  margin-top: 12px;
  font-size: 1rem;
  color: var(--fv-primary);
}
.highlight_stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 16px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--fv-secondary);
}

/* =======================================
   SERVICE LIST
======================================== */
.services_list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
}
.services_list li {
  flex: 1 1 260px;
  min-width: 260px;
  background: var(--fv-grey);
  border-radius: var(--fv-radius-md);
  box-shadow: 0 1px 8px var(--fv-shadow);
  padding: 26px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  align-items: flex-start;
  transition: box-shadow var(--fv-transition), transform var(--fv-transition);
}
.services_list li:hover {
  box-shadow: 0 4px 20px rgba(245,166,35,0.12);
  transform: translateY(-3px);
}
.services_list h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--fv-primary);
}
.service_price, .services_list span {
  color: var(--fv-secondary);
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 6px;
}

/* =======================================
   BUTTONS
======================================== */
.btn-primary {
  display: inline-block;
  padding: 13px 32px;
  background: linear-gradient(97deg, #F5A623 0%, #232832 93%);
  color: var(--fv-light-text);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  border-radius: var(--fv-radius-md);
  box-shadow: 0 3px 10px var(--fv-shadow);
  transition: background var(--fv-transition), color var(--fv-transition), box-shadow var(--fv-transition), transform var(--fv-transition);
  border: 0;
  cursor: pointer;
  letter-spacing: 0.01em;
  margin: 0 2px;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #232832 0%, #F5A623 93%);
  color: var(--fv-accent);
  box-shadow: 0 6px 20px rgba(35,40,50,0.18);
  transform: translateY(-1px) scale(1.03);
}
.btn-secondary {
  display: inline-block;
  padding: 11px 30px;
  border-radius: var(--fv-radius-md);
  background: var(--fv-white);
  color: var(--fv-secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: 2px solid var(--fv-secondary);
  transition: background var(--fv-transition), color var(--fv-transition), border var(--fv-transition);
  cursor: pointer;
  margin: 0 2px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--fv-secondary);
  color: var(--fv-white);
}

/* =======================================
   HEADER & MAIN NAVIGATION
======================================== */
header {
  background: var(--fv-white);
  box-shadow: 0 6px 24px 0 var(--fv-shadow);
  padding: 16px 0 12px 0;
  position: relative;
  z-index: 21;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 34px;
  margin-right: auto;
  flex-wrap: wrap;
}
.main-nav a, .mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--fv-primary);
  padding: 7px 15px;
  border-radius: var(--fv-radius-sm);
  transition: background var(--fv-transition), color var(--fv-transition);
}
.main-nav a:hover, .main-nav a:focus, .mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--fv-secondary);
  color: var(--fv-light-text);
}
header .btn-primary {
  margin-left: 24px;
}

/* MOBILE MENU BUTTONS & OVERLAY */
.mobile-menu-toggle {
  background: var(--fv-secondary);
  color: var(--fv-light-text);
  font-size: 1.85rem;
  border: 0;
  border-radius: var(--fv-radius-md);
  padding: 7px 16px 7px 16px;
  cursor: pointer;
  margin-left: 16px;
  display: none;
  transition: background var(--fv-transition), color var(--fv-transition), box-shadow var(--fv-transition);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--fv-primary);
  color: var(--fv-secondary);
  box-shadow: 0 2px 12px #23283244;
}
.mobile-menu {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--fv-white);
  box-shadow: 0 8px 40px 0 var(--fv-shadow);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px 24px 24px;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: var(--fv-secondary);
  color: var(--fv-white);
  border: none;
  font-size: 2rem;
  border-radius: var(--fv-radius-md);
  padding: 4px 16px;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 24px;
  transition: background var(--fv-transition), color var(--fv-transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--fv-primary);
  color: var(--fv-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
}
.mobile-nav a {
  font-size: 1.15rem;
  padding: 12px 14px;
  border-radius: var(--fv-radius-sm);
  color: var(--fv-primary);
  font-weight: 500;
}

/* =======================================
   FOOTER
======================================== */
footer {
  background: linear-gradient(90deg, #232832 36%, #F5A623 100%);
  color: var(--fv-light-text);
  padding: 44px 0 0 0;
  border-radius: 24px 24px 0 0;
  margin-top: 52px;
  box-shadow: 0 -8px 28px 0 var(--fv-shadow);
}
footer .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
footer .footer-logo img {
  height: 47px;
  width: auto;
  margin-bottom: 10px;
}
.footer-links, .footer-legal, .footer-contact, .footer-social {
  min-width: 180px;
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links ul, .footer-legal ul, .footer-contact ul {
  margin-top: 5px;
  gap: 0;
}
.footer-links li, .footer-legal li {
  margin-bottom: 7px;
}
.footer-links a, .footer-legal a, .footer-contact a {
  color: var(--fv-light-text);
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  opacity: 0.92;
  transition: color .22s, opacity .2s;
}
.footer-links a:hover, .footer-legal a:hover, .footer-contact a:hover {
  color: var(--fv-secondary);
  opacity: 1;
}
.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 7px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.footer-social {
  margin-top: 18px;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
}
.footer-social img {
  height: 28px;
  width: 28px;
  filter: brightness(98%) grayscale(8%);
  transition: filter 0.15s;
}
.footer-social img:hover {
  filter: brightness(120%) contrast(130%) drop-shadow(0 2px 8px var(--fv-secondary));
}

footer h4 {
  color: var(--fv-white);
  margin-bottom: 5px;
  font-size: 1.13rem;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* =======================================
   TEXT SECTIONS & CONTENT CARDS
======================================== */
.text-section {
  margin-bottom: 24px;
  padding: 20px 0;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* =======================================
   COOKIE CONSENT BANNER & MODAL
======================================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #232832;
  color: #fff;
  z-index: 99999;
  box-shadow: 0 -3px 30px rgba(35,40,50,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 26px 18px 20px 18px;
  transition: transform 0.44s cubic-bezier(.4,0,.2,1), opacity 0.22s;
  font-size: 1rem;
}
.cookie-consent-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-btn {
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: var(--fv-radius-sm);
  font-weight: 600;
  border: none;
  cursor: pointer;
  margin: 0 2px;
  transition: background .2s, color .2s;
}
.cookie-btn.accept {
  background: var(--fv-secondary);
  color: #232832;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #232832;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #232832;
  border: 2px solid var(--fv-secondary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--fv-secondary);
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: var(--fv-secondary);
  border: 2px solid var(--fv-secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--fv-secondary);
  color: #fff;
}

.cookie-preferences-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  background: rgba(35,40,50,0.58);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity .32s;
}
.cookie-preferences-modal.hidden {
  pointer-events: none;
  opacity: 0;
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--fv-radius-md);
  box-shadow: 0 4px 28px 0 var(--fv-shadow);
  padding: 38px 32px 32px 32px;
  max-width: 410px;
  width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
  animation: cookie-modal-in .38s cubic-bezier(.56,0,.25,1);
}
@keyframes cookie-modal-in {
  from { transform: scale(.92) translateY(40px); opacity:0; }
  to   { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #232832;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0 4px;
}
.cookie-preferences-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-pref-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.04rem;
  margin: 0 0 4px 0;
}
.cookie-pref-toggle input[type=checkbox] {
  width: 24px;
  height: 24px;
  accent-color: var(--fv-secondary);
}
.essential-label {
  color: var(--fv-secondary);
  font-weight: 700;
}

/* =======================================
   FORMS (Kontaktformular etc.)
======================================== */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 520px;
  margin: 0 auto;
}
input, textarea, select {
  border-radius: var(--fv-radius-sm);
  border: 1.5px solid #DBE3EC;
  padding: 13px 18px;
  background: #FBFBFD;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--fv-primary);
  outline: none;
  transition: border-color 0.18s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--fv-secondary);
  box-shadow: 0 0 0 2px #F5A62322;
}
label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 5px;
  color: var(--fv-primary);
  font-weight: 500;
}

/* =======================================
   MISC: Animations, Effects, Selection
======================================== */
::selection {
  background: var(--fv-secondary);
  color: #fff;
}

/* =======================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1100px) {
  .footer-logo, .footer-links, .footer-legal, .footer-contact, .footer-social {
    min-width: 150px;
  }
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .footer-logo img {
    height: 36px;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 32px 4vw;
  }
  .footer-logo, .footer-links, .footer-legal, .footer-contact, .footer-social {
    min-width: 120px;
    font-size: 14px;
  }
  .footer-contact ul li {
    font-size: 15px;
  }
  .footer-social img {
    height: 22px;
    width: 22px;
  }
}

@media (max-width: 820px) {
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .btn-primary {
    display: none;
  }
}

@media (max-width: 780px) {
  .footer-social, .footer-contact, .footer-links, .footer-legal {
    flex: 1 1 100%;
    min-width: 120px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 34px;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 30px 0 32px 0;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.44rem; }
  .section {
    margin-bottom: 40px;
    padding: 20px 2vw;
  }
  .features ul, .feature_grid {
    flex-direction: column;
    gap: 12px;
    min-width: unset;
  }
  .services_list {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    padding: 18px 10px;
    max-width: 95vw;
    font-size: 15px;
  }
  .highlight_stats {
    flex-direction: column;
    gap: 10px;
  }
  .footer-logo,
  .footer-contact,
  .footer-links,
  .footer-legal,
  .footer-social {
    min-width: 70px;
    font-size: 13px;
  }
  .text-image-section,
  .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 4vw;
  }
  .testimonial-card {
    font-size: 14px;
    padding: 12px 6px;
  }
  .footer-logo img {
    height: 28px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    font-size: 0.97rem;
    padding: 16px 10px 16px 10px;
  }
  .cookie-modal-content {
    padding: 19px 7vw 19px 7vw;
    max-width: 98vw;
  }
}

@media (max-width: 420px) {
    .section {
      padding: 14px 1vw;
    }
    .cookie-consent-banner {
      padding: 9px 2vw 9px 2vw;
      font-size: 0.95rem;
    }
    .cookie-btn {
      padding: 8px 8px;
      font-size: 0.97rem;
    }
    .footer-logo img {
      height: 18px;
    }
}


/* =======================================
   Micro-Interactions & Hover Effects
======================================== */
a, .btn-primary, .btn-secondary, .cookie-btn {
  transition: background 0.22s, color 0.22s, box-shadow .17s, border .17s, transform .18s;
}

/* =======================================
   Utility
======================================== */
.muted {
  color: #757A86;
  opacity: 0.85;
}
.nowrap {
  white-space: nowrap;
}

/* =======================================
   Accessibility
======================================== */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    transition: none !important;
    animation-duration: 0.01ms !important;
  }
}
