/*---------------------------------------------------------
  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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #FFF9F6;
  color: #2D4263;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #176082;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #EA9853;
}
ul, ol {
  margin-left: 1.5em;
}
li + li {
  margin-top: 8px;
}
button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/*---------------------------------------------------------
  COLOR SYSTEM & VARS (Fallbacks for old browsers)
----------------------------------------------------------*/
:root {
  --color-primary: #2D4263;
  --color-secondary: #FFF9F6;
  --color-accent: #EA9853;
  --color-dark: #232B43;
  --color-light: #FFFFFF;
  --color-bg: #FFF9F6;
  --color-shadow: rgba(44, 52, 78, 0.08);
  --color-info: #FFF5E0;
  --color-success: #57AA85;
  --color-warning: #FFCF81;
}


/*---------------------------------------------------------
  TYPOGRAPHY
----------------------------------------------------------*/
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #2D4263;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, ul, ol {
  color: #423F3E;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
strong {
  font-weight: bold;
}
.text-section {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.next-steps-info ul {
  margin-bottom: 18px;
}

/*---------------------------------------------------------
  LAYOUT CONTAINERS
----------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF9F6;
  border-radius: 24px;
  box-shadow: 0 2px 12px var(--color-shadow);
}

/*---------------------------------------------------------
  HEADER & NAV
----------------------------------------------------------*/
header {
  background: var(--color-light);
  border-bottom: 1px solid #F3EEE9;
  position: relative;
  z-index: 50;
  padding: 0;
}
header .container {
  min-height: 80px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header img {
  height: 43px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #2D4263;
  padding: 8px 0;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-accent);
  color: #FFF;
}
.btn-primary {
  background: var(--color-accent) !important;
  color: #FFF !important;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 24px;
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  text-align: center;
  outline: none;
  border: none;
  display: inline-block;
  margin-left: 18px;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: #F19539 !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 20px rgba(234,152,83,.10);
}
.mobile-menu-toggle {
  font-size: 2rem;
  padding: 6px 12px;
  color: var(--color-primary);
  border-radius: 12px;
  background: #FFF5E0;
  margin-left: 20px;
  border: 1px solid #eee;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, box-shadow 0.15s;
  z-index: 9999;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-accent);
  color: #FFF;
  box-shadow: 0 2px 8px var(--color-shadow);
}

/*---------------------------------------------------------
  MOBILE MENU OVERLAY
----------------------------------------------------------*/
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(45, 66, 99, 0.98);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.65,.05,.36,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--color-accent) !important;
  background: none;
  border-radius: 10px;
  padding: 12px 18px;
  margin: 20px 22px 8px 0;
  align-self: flex-end;
  transition: background 0.2s;
  overflow: visible !important;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFF5E0;
  color: #2D4263;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: start;
  justify-content: flex-start;
  width: 100%;
  padding: 28px 32px;
}
.mobile-nav a {
  font-size: 1.35rem;
  color: #FFF;
  padding: 14px 8px;
  border-radius: 12px;
  background: none;
  width: 100%;
  text-align: left;
  transition: background 0.15s, color 0.15s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: #2D4263;
}


/*-----------------------------------------------------
  HERO SECTION & CALL TO ACTION
------------------------------------------------------*/
.hero {
  background: linear-gradient(120deg, #FFF5E0 80%, #F8E7D3 105%);
  padding: 56px 0 64px 0;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
  box-shadow: 0 4px 16px var(--color-shadow);
  min-height: 300px;
}
.hero .container {
  align-items: center;
  justify-content: center;
  min-height: inherit;
}
.hero h1 {
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 18px;
  font-size: 2.4rem;
}
.hero p {
  color: #4A463A;
  font-size: 1.15rem;
  margin-bottom: 30px;
}
.cta {
  background: var(--color-accent);
  color: #FFF;
  text-align: center;
  border-radius: 24px;
  padding: 42px 18px;
  margin-top: 38px;
  margin-bottom: 48px;
  box-shadow: 0 4px 14px rgba(234,152,83,0.05);
}
.cta h2, .cta p {
  color: #FFF;
}
.cta .btn-primary {
  background: #FFF;
  color: var(--color-accent);
  box-shadow: 0 2px 8px var(--color-shadow);
  margin-top: 22px;
}
.cta .btn-primary:hover, .cta .btn-primary:focus {
  background: #EA9853;
  color: #FFF;
}


/*-----------------------------------------------------
  FLEXBOX SECTIONS, CARDS, FEATURES, FAQS
------------------------------------------------------*/
.feature-grid, .benefit-grid, .value-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 15px;
  margin-bottom: 15px;
}
.feature, .benefit, .value {
  flex: 1 1 250px;
  min-width: 220px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.23s, transform 0.22s;
}
.feature:hover, .benefit:hover, .value:hover {
  box-shadow: 0 8px 32px rgba(234,152,83,0.2);
  transform: translateY(-4px) scale(1.02);
}
.feature img, .benefit img, .value img {
  height: 36px;
  width: 36px;
  border-radius: 10px;
  background: #FFF5E0;
  padding: 5px;
  margin-bottom: 2px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 26px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(45,66,99,0.09);
  transform: translateY(-3px) scale(1.01);
}

.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: 10px;
  padding: 20px 22px;
  border-radius: 18px;
  background: #FFF;
  color: #232B43;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 20px;
  border-left: 6px solid var(--color-accent);
  min-width: 240px;
  max-width: 460px;
}
.testimonial-card p {
  color: #423F3E;
  font-style: italic;
  margin-bottom: 7px;
}
.testimonial-card span {
  color: #88806B;
  font-size: 0.99rem;
  margin-top: 3px;
}
.star-rating-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-weight: 500;
  color: #2D4263;
  font-family: 'Montserrat', Arial, sans-serif;
}
.star-rating-summary img {
  height: 26px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 19px 18px;
  transition: box-shadow 0.17s;
}
.faq-item:hover {
  box-shadow: 0 5px 20px rgba(234,152,83,0.14);
}
.faq-item h3 {
  font-size: 1.08rem;
  color: #2D4263;
}

.info-box {
  background: var(--color-info);
  color: #7B5932;
  border-radius: 13px;
  padding: 16px 18px;
  margin-top: 18px;
  margin-bottom: 18px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
}

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

/************************************************************
  STEP/TIMELINE COMPONENTS for Ablauf page
*************************************************************/
.stepper-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stepper-timeline ol {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.stepper-timeline li {
  background: #FFF5E0;
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 1.05rem;
  margin-bottom: 0;
  position: relative;
  box-shadow: 0 2px 8px var(--color-shadow);
}
.stepper-timeline li strong {
  color: var(--color-accent);
  margin-right: 7px;
}

/************************************************************
  CONTACT SNIPPET
*************************************************************/
.contact-snippet {
  margin-top: 18px;
  font-size: 0.97rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-snippet img {
  vertical-align: middle;
  height: 20px;
  margin-right: 6px;
}
.contact-block {
  background: #FFF5E0;
  border-radius: 12px;
  padding: 18px 18px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-block img {
  height: 19px;
  margin-right: 7px;
}

/************************************************************
  FOOTER
*************************************************************/
footer {
  background: var(--color-primary);
  color: #FFF;
  padding: 0;
}
footer p {
  color: white !important;
}
footer .container {
  padding: 38px 20px 20px 20px;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
footer img {
  height: 36px;
  margin-bottom: 24px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #FFF;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 6px 0;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-accent);
  color: #2D4263;
}

/************************************************************
  THANK YOU PAGE
*************************************************************/
.thankyou {
  padding: 46px 0 52px 0;
  text-align: center;
  background: linear-gradient(120deg, #FFF5E0 80%, #F8E7D3 115%);
  border-radius: 28px;
  box-shadow: 0 2px 14px var(--color-shadow);
  margin-bottom: 56px;
}
.thankyou h1 {
  color: var(--color-accent);
}
.next-steps-info ul {
  margin: 0 auto 18px auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/************************************************************
  MISC UTILITIES
*************************************************************/
.vision-mission, .team-summary {
  margin-top: 18px;
  margin-bottom: 18px;
}
.usp-list {
  list-style: disc inside;
  margin-left: 0.7em;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.04rem;
}
.service-list ul {
  margin-left: 1em;
  margin-top: 8px;
}
.process-overview {
  margin-top: 22px;
}
.process-overview ol {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/************************************************************
  SPACING RULES (critical: min 20px separation)
*************************************************************/
.section, section, .card, .testimonial-card, .faq-item, .feature, .benefit, .value, .hero, .cta, .info-box, .thankyou {
  margin-bottom: 20px;
}
.card-container, .feature-grid, .benefit-grid, .content-grid, .faq-list {
  gap: 20px !important;
}

/************************************************************
  RESPONSIVE DESIGN (mobile-first)
*************************************************************/
@media (max-width: 1080px) {
  .container {
    max-width: 98vw;
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .benefit-grid, .value-grid {
    gap: 16px;
  }
  footer .container {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 0;
    padding-right: 0;
  }
  .content-wrapper {
    gap: 22px;
    padding: 0 6px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-grid, .benefit-grid, .value-grid {
    flex-direction: column;
  }
  .faq-list {
    gap: 16px;
  }
  .hero, .cta, .thankyou, .section {
    border-radius: 18px;
    padding: 24px 4vw;
  }
  .section {
    margin-bottom: 40px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  .card-container {
    flex-direction: column;
  }
  .testimonial-card, .card {
    max-width: 98vw;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 34px 4vw 12px 4vw;
  }
}
@media (max-width: 520px) {
  html { font-size: 15px; }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1.05rem; }
  .btn-primary {
    padding: 12px 15px;
    font-size: 0.98rem;
  }
}

/************************************************************
  TRANSITIONS, SVGs, MICRO INTERACTIONS
*************************************************************/
a, .btn-primary, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: background 0.20s, color 0.20s, box-shadow 0.17s;
}
.feature, .benefit, .value, .testimonial-card, .faq-item, .card {
  transition: box-shadow 0.18s, transform 0.13s;
}

/************************************************************
  COOKIE BANNER + MODAL
*************************************************************/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FFEAD5;
  color: #2D4263;
  box-shadow: 0 -2px 20px rgba(234,152,83,0.15);
  z-index: 4000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 26px 16px 24px 16px;
  gap: 22px;
  font-size: 1rem;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  animation: cookie-slide-in 0.45s cubic-bezier(.45,.76,.54,1);
}
@keyframes cookie-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
  flex: 1 1 60vw;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cookie-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: var(--color-accent);
  color: #FFF;
  border-radius: 16px;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.17s;
  box-shadow: 0 2px 8px var(--color-shadow);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F19539;
  color: #FFF;
}
.cookie-btn.cookie-settings {
  background: #F3EEE9;
  color: #2D4263;
  border: 1px solid #EDCCB1;
}
.cookie-btn.cookie-settings:hover {
  background: #EA9853;
  color: #FFF;
}

/************************************************************
  COOKIE PREFERENCES MODAL
*************************************************************/
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(45,66,99, .68);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #FFF;
  border-radius: 26px;
  width: 95vw;
  max-width: 400px;
  box-shadow: 0 8px 34px rgba(234,152,83,0.27);
  padding: 36px 28px 22px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-fade-in 0.27s cubic-bezier(.48,1.22,.41,.98);
}
@keyframes modal-fade-in {
  from { transform: scale(.75) translateY(40px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  background: none;
  border-radius: 10px;
  padding: 7px 11px;
  transition: background 0.2s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #FFF5E0;
  color: #2D4263;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-category-label {
  flex: 1 1 60%;
  font-size: 1.02rem;
  color: #2D4263;
}
.cookie-category-toggle {
  min-width: 44px;
  height: 24px;
  position: relative;
  display: inline-block;
}
.cookie-category-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-switch {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #F3EEE9;
  border-radius: 19px;
  transition: background 0.2s;
}
.cookie-category-toggle input:checked + .cookie-switch {
  background: #EA9853;
}
.cookie-switch:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: #FFF;
  border-radius: 50%;
  transition: transform 0.19s;
}
.cookie-category-toggle input:checked + .cookie-switch:before {
  transform: translateX(16px);
}
.cookie-category-toggle input:disabled + .cookie-switch {
  background: #E0E0E0;
}
.cookie-modal .cookie-btn {
  width: 100%;
  margin-top: 12px;
}

/************************************************************
  ACCESSIBILITY & SELECTION
*************************************************************/
::selection {
  background: #EA9853;
  color: #FFF;
}
::-webkit-scrollbar {
  width: 9px;
  background: #F3EEE9;
  border-radius: 14px;
}
::-webkit-scrollbar-thumb {
  background: #EA9853;
  border-radius: 14px;
}

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