/* === 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; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #FAFAFA;
  color: #283F52;
  font-size: 16px;
  min-height: 100vh;
}
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
ul, ol { margin-left: 1.2em; }
li { margin-bottom: 8px; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #283F52;
}
h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; margin-bottom: 16px; }
h4 { font-size: 1.25rem; }
a { color: #283F52; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus {
  color: #F4D7B2;
}
strong, b { font-weight: 700; }
section { margin-bottom: 60px; padding: 40px 20px; background: #fff; border-radius: 16px; box-shadow: 0 2px 12px rgba(88,113,129,0.09); }
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  font-size: 1rem;
}
.cta-area {
  margin-top: 24px;
  display: flex;
  flex-direction: row;
  gap: 18px;
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(88,113,129,0.08);
  border-bottom: 4px solid #F4D7B2;
  position: relative;
  z-index: 10;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 16px 12px 16px;
}
.main-nav .logo img { height: 48px; display: block; }
.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #283F52;
  letter-spacing: 0.015em;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #F4D7B2;
  color: #283F52;
}
.main-nav .cta.primary {
  margin-left: 32px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #283F52;
  padding: 8px 14px;
  cursor: pointer;
  z-index: 101;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #5F8696;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #283F52;
  color: #fff;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.55,.1,.61,1.5);
  display: flex;
  flex-direction: column;
  z-index: 2000;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 18px 18px 0 0;
  cursor: pointer;
}
.mobile-nav {
  margin: 48px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  padding: 0 30px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 12px;
  border-radius: 8px;
  text-align: left;
  width: 100%;
  transition: background 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4D7B2;
  color: #283F52;
}

/* Hide main desktop menu on mobile */
@media (max-width: 1023px) {
  .main-nav ul, .main-nav .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 767px) {
  .main-nav { padding: 16px 2px 12px 2px; }
}

/* === HERO / KEY SECTIONS === */
.hero, .guide-hero {
  background: #283F52;
  color: #fff;
  padding: 64px 0 64px 0;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 6px 24px rgba(88,113,129,0.12);
  margin-bottom: 60px;
}
.hero .container, .guide-hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper, .guide-hero .content-wrapper {
  align-items: flex-start;
  text-align: left;
  gap: 24px;
  max-width: 620px;
  color: #fff;
}
.hero h1, .guide-hero h1 {
  color: #fff;
  font-size: 2.7rem;
  margin-bottom: 18px;
}
.hero p, .guide-hero p { font-size: 1.15rem; }

/* === BUTTONS & CTA === */
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 8px;
  font-size: 1.12rem;
  padding: 14px 32px;
  box-shadow: 0 1px 5px rgba(40,63,82,0.13);
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.18s, color 0.17s, box-shadow 0.22s;
}
.cta.primary {
  background: #F4D7B2;
  color: #283F52;
}
.cta.primary:hover, .cta.primary:focus {
  background: #5F8696;
  color: #fff;
  box-shadow: 0 3px 14px rgba(40,63,82,0.16);
}
.cta.secondary {
  background: #283F52;
  color: #fff;
  border: 2px solid #F4D7B2;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #F4D7B2;
  color: #283F52;
}

/* === FEATURES === */
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.features ul li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 5px rgba(40,63,82,0.07), 0 0.5px 2px #F4D7B2;
  padding: 20px 24px;
  min-width: 230px;
  max-width: 372px;
  flex: 1 1 230px;
}
.features ul li img {
  height: 46px;
  width: 46px;
}
.features ul li h3 {
  font-size: 1.11rem;
  margin-bottom: 6px;
  color: #5F8696;
}
.features ul li p {
  color: #283F52;
  font-size: 1rem;
  line-height: 1.5;
}

/* === SERVICE CARDS === */
.service-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  justify-content: flex-start;
}
.service-card {
  flex: 1 1 230px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(40,63,82,0.11);
  padding: 30px 22px 24px 22px;
  min-width: 230px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.16s;
  border-bottom: 6px solid #F4D7B2;
  position: relative;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 6px 24px rgba(40,63,82,0.17);
  transform: translateY(-2px) scale(1.04);
}
.service-card img {
  height: 42px;
  width: 42px;
  margin-bottom: 12px;
}
.service-card h3, .service-card h2 {
  font-size: 1.21rem;
  color: #283F52;
  margin-bottom: 10px;
}
.service-card p {
  color: #283F52;
  font-size: 1rem;
  margin-bottom: 16px;
}
.service-card .price, .service-card strong {
  font-size: 1.07rem;
  font-weight: 700;
  color: #5F8696;
  margin-top: auto;
  letter-spacing: 0.03em;
}
/* FAQ LIST */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #F7FAFC;
  border-left: 5px solid #F4D7B2;
  border-radius: 10px;
  padding: 18px 22px;
  box-shadow: 0 0.5px 2.5px rgba(40,63,82,0.07);
  color: #283F52;
}
.faq-item h3 { font-family: 'Montserrat', Arial, sans-serif; color: #283F52; font-weight: bold; font-size: 1.1rem; margin-bottom: 8px; }
.faq-item p { font-size: 1rem; color: #283F52; }

/* === TESTIMONIALS === */
.testimonials {
  background: #F7FAFC;
  border-radius: 18px;
  box-shadow: 0 1px 6px rgba(40,63,82,0.08);
  padding: 40px 12px;
  margin-bottom: 60px;
}
.testimonials h2 {
  text-align: center;
  margin-bottom: 34px;
}
.testimonial-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  background: #fff;
  border-left: 5px solid #5F8696;
  border-radius: 13px;
  box-shadow: 0 1px 8px rgba(40,63,82,0.10);
  padding: 20px 28px;
  margin-bottom: 20px;
  color: #283F52;
  min-height: 80px;
  max-width: 730px;
}
.testimonial-card p {
  font-size: 1.05rem;
  font-style: italic;
  color: #283F52;
  margin-right: 16px;
}
.testimonial-card strong {
  color: #5F8696;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}
/* DARK TEXT enforced on light backgrounds for testimonials */
.testimonials, .testimonial-card, .testimonial-card p, .testimonial-card strong {
  color: #283F52 !important;
}

/* === STEPPER (Ablauf) === */
.stepper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  counter-reset: stepnum;
  margin-left: 0;
  margin-bottom: 0;
}
.stepper li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  background: #F7FAFC;
  border-radius: 11px;
  padding: 22px 20px;
  box-shadow: 0 1px 4px rgba(40,63,82,0.07);
  margin-bottom: 6px;
}
.stepper li:before {
  counter-increment: stepnum;
  content: counter(stepnum);
  display: flex;
  justify-content: center;
  align-items: center;
  background: #F4D7B2;
  color: #283F52;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-right: 18px;
  box-shadow: 0 1px 7px rgba(40,63,82,0.08);
}
.step-title {
  font-weight: bold;
  color: #283F52;
  font-size: 1.08rem;
  margin-bottom: 5px;
}
.step-description {
  color: #5F8696;
  font-size: 1.02rem;
}

/* === FOOTER === */
footer {
  background: #283F52;
  color: #fff;
  border-top: 4px solid #F4D7B2;
  padding: 30px 0 0 0;
}
.footer-main {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.footer-logo img {
  width: 54px;
  height: 54px;
}
.footer-nav, .footer-utility-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a, .footer-utility-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.015em;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-utility-nav a:hover {
  color: #F4D7B2;
}
.legal-block {
  padding: 20px 0 10px 0;
  text-align: center;
  width: 100%;
}
.legal-block small {
  color: #B3C6D0;
  font-size: 0.93rem;
}

/* === GEN TEXT GRID/SECTION FLEX UTILS === */
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(88,113,129,0.09);
  padding: 24px 20px 18px 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === ADDITIONAL COMMONS === */
address {
  font-style: normal;
  color: #283F52;
  margin-bottom: 0.5em;
  font-size: 1rem;
}

/* === RESPONSIVE DESIGN (mobile-first, up to 1100px wide) === */
@media (max-width: 991px) {
  .container { max-width: 98vw; }
  .main-nav {max-width: 98vw;}
}
@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .features ul {
    flex-wrap: wrap;
    gap: 13px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  section, .testimonials {
    padding: 28px 4px;
    margin-bottom: 36px;
  }
  .hero, .guide-hero {
    padding: 40px 0;
    border-radius: 0 0 18px 18px;
  }
  .footer-main {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .features ul, .service-grid, .service-list {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 14px;
    padding: 16px 8px;
    max-width: 98vw;
  }
  .service-card {
    max-width: unset;
    padding: 22px 12px 16px 12px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .cta-area {
    flex-direction: column;
    gap: 7px;
    align-items: stretch;
    margin-top: 15px;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.27rem; }
  .hero h1, .guide-hero h1 { font-size: 1.4rem; }
  .main-nav .logo img { height: 36px; }
  .service-card img { height: 34px; width: 34px; }
  .cta { padding: 12px 16px; font-size: 1rem; }
}

/* === COOKIE CONSENT BANNER === */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #283F52;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 4000;
  box-shadow: 0 -3px 20px rgba(40,63,82, 0.09);
  padding: 22px 16px;
  font-size: 0.99rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-consent-banner.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-consent-banner .cookie-message {
  flex: 1;
  font-size: 1rem;
  margin-right: 18px;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  border: none;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 12px 26px;
  margin: 0;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.17s, color 0.18s, box-shadow 0.22s;
}
.cookie-btn.accept {
  background: #F4D7B2;
  color: #283F52;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #5F8696;
  color: #fff;
}
.cookie-btn.reject {
  background: #5F8696;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F4D7B2;
  color: #283F52;
}
.cookie-btn.settings {
  background: transparent;
  color: #F4D7B2;
  border: 1.5px solid #F4D7B2;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F4D7B2;
  color: #283F52;
}
/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(40,63,82,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #283F52;
  border-radius: 16px;
  box-shadow: 0 2px 22px rgba(40,63,82,0.16);
  max-width: 420px;
  width: 96vw;
  padding: 32px 28px 24px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 21px;
}
.cookie-modal h2 {
  color: #283F52;
  font-size: 1.19rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 18px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
}
.cookie-toggle {
  appearance: none;
  outline: none;
  width: 36px;
  height: 20px;
  border-radius: 14px;
  background: #B3C6D0;
  position: relative;
  margin-right: 4px;
  transition: background 0.2s;
}
.cookie-toggle:checked {
  background: #5F8696;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.2s;
}
.cookie-toggle:checked:before {
  left: 19px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal .cookie-modal-close {
  background: none;
  border: none;
  color: #5F8696;
  font-size: 1.25rem;
  position: absolute;
  top: 18px;
  right: 18px;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:hover { color: #283F52; }

/* === UTILITY === */
.hide { display: none !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* === PRINT === */
@media print { header, footer, .cookie-consent-banner, .mobile-menu { display: none !important; } }

/* === GEOMETRIC DECORATIVE SHAPES FOR MODERN BOLD ACCENT (optional, only if used) === */
.geometric-deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.07;
}

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar { width: 10px; background: #F4D7B2; }
::-webkit-scrollbar-thumb { background: #5F8696; border-radius: 6px; }

/* === FOCUS/ACCESSIBILITY === */
a:focus, button:focus, .cta:focus, .cookie-btn:focus {
  outline: 2.5px solid #F4D7B2;
  outline-offset: 2.5px;
}

/* === HEADINGS AND TEXT SCALES === */
@media (min-width: 1100px) {
  h1 { font-size: 2.9rem; }
  h2 { font-size: 2.1rem; }
}

/* === VISUAL MICRO-INTERACTIONS === */
.cta, .cookie-btn {
  transition: box-shadow 0.2s, background 0.17s, color 0.17s;
}
.card, .service-card, .faq-item, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.17s;
}
.card:hover, .service-card:hover, .faq-item:hover {
  box-shadow: 0 6px 24px rgba(40,63,82,0.16);
  transform: translateY(-2px) scale(1.03);
}

/* === MISC CUSTOMS TO ENSURE PROPER SPACING === */
section + section, .service-card + .service-card, .faq-item + .faq-item {
  margin-top: 20px;
}

/* === END === */
