/* CSS RESET & BASE TYPOGRAPHY */
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,
main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.4;
  font-family: 'Roboto', Arial, sans-serif;
  color: #184053;
  background: #fff;
  min-height: 100vh;
}
img, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
}

/* BASE SPACING AND CONTAINER */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* TYPOGRAPHY HIERARCHY */
h1, .hero-section h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -1px;
  color: #184053;
  margin-bottom: 20px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  margin-bottom: 16px;
  color: #184053;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #184053;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #184053;
}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.15rem;
  color: #184053;
  font-weight: 500;
  margin-bottom: 26px;
}
p, ul, ol, dl, li, table, th, td, dt, dd {
  font-size: 1rem;
  line-height: 1.7;
  color: #184053;
  font-family: 'Roboto', Arial, sans-serif;
}
strong, b {
  font-weight: 700;
  color: #184053;
}

/* LINK STYLES */
a {
  color: #184053;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(0.4,0,0.2,1);
}
a:hover, a:focus {
  color: #FFB703;
  text-decoration: underline;
}

/* HEADER/NAVIGATION */
header {
  width: 100%;
  background: #fff;
  border-bottom: 2.5px solid #184053;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 4px 14px -6px rgba(24,64,83,0.08);
  padding: 0;
}
.logo {
  display: flex;
  align-items: center;
  height: 70px;
  padding-right: 18px;
}
header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  min-height: 70px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-left: 12px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 6px 4px;
  border-radius: 4px;
  transition: background 0.2s;
  color: #184053;
}
.main-nav a:hover,
.main-nav a:focus {
  background-color: #FFB70310;
  color: #FFB703;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  padding: 13px 38px;
  margin-left: 18px;
  margin-right: 8px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(24,64,83,0.08);
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  line-height: 1;
}
.btn-primary {
  background: #184053;
  color: #FFB703;
}
.btn-primary:hover, .btn-primary:focus {
  background: #FFB703;
  color: #184053;
  box-shadow: 0 4px 16px rgba(255,183,3,0.15);
}
.btn-secondary {
  background: #FFB703;
  color: #184053;
  font-weight: 700;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #184053;
  color: #FFB703;
  box-shadow: 0 4px 16px rgba(24,64,83,0.15);
}

/* BURGER MENU MOBILE */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  color: #184053;
  font-size: 2.1rem;
  margin-left: auto;
  margin-right: 10px;
  z-index: 201;
  cursor: pointer;
  padding: 7px 11px;
  border-radius: 7px;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #EAEAEA;
  color: #FFB703;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80vw;
  max-width: 360px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 18px rgba(24,64,83,0.20);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(110%);
  opacity: 0;
  pointer-events: none;
  z-index: 205;
  transition: transform 0.4s cubic-bezier(0.7,0,0.3,1), opacity 0.31s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #184053;
  padding: 16px 18px 5px 8px;
  margin-left: auto;
  cursor: pointer;
}
.mobile-nav {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  padding-left: 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.26rem;
  color: #184053;
  padding: 10px 0;
  width: 100%;
  border-bottom: 1px solid #EAEAEA;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #FFB703;
  background: #18405308;
}

@media (min-width: 1024px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .main-nav {
    display: none !important;
  }
  .btn-primary {
    margin-left: 0 !important;
  }
}

/* HERO SECTION */
.hero-section {
  background: #184053;
  color: #FFB703;
  padding: 56px 0 56px 0;
}
.hero-section h1,
.hero-section .subheadline {
  color: #FFB703;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.hero-section .content-wrapper {
  max-width: 540px;
  gap: 28px;
}

/* FEATURES / CARDS / SECTIONS */
.features-grid, .services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  margin-bottom: 14px;
}
.features-grid > div, .services-list > div {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 18px -7px rgba(24,64,83,0.09);
  border: 2.5px solid #EAEAEA;
  padding: 26px 22px;
  min-width: 240px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  min-height: 220px;
  transition: box-shadow 0.12s, border 0.12s;
}
.features-grid > div:hover,
.services-list > div:hover {
  border: 2.5px solid #FFB703;
  box-shadow: 0 6px 26px -8px #FFB70370;
  z-index: 2;
}
.features-grid img, .services-list img {
  width: 38px;
  height: 38px;
  background: #EAEAEA;
  border-radius: 10px;
  padding: 6px;
  margin-bottom: 7px;
  transition: background 0.2s;
}
.features-grid > div:hover img,
.services-list > div:hover img {
  background: #FFB70310;
}

/* ABOUT & VALUE SECTION */
.about-preview, .values-section, .why-us-section {
  background: #EAEAEA;
  border-radius: 20px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.certs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 12px 0 0 0;
}
.certs span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  color: #184053;
}
.certs img {
  width: 28px;
  height: 28px;
}

/* PROCESS & FAQ SECTIONS */
.process-section, .tips-section, .faq-section, .terms-section, .privacy-section, .dsgvo-section, .cookie-policy-section {
  background: #fff;
  border-radius: 20px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 4px 18px -8px #18405308;
}
ol {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
dt {
  font-weight: 700;
  color: #184053;
  margin-top: 12px;
}
dd {
  margin-left: 10px;
  margin-bottom: 8px;
}

/* TESTIMONIALS */
.testimonials, .testimonials-section {
  background: #EAEAEA;
  border-radius: 20px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(24,64,83,0.10);
  border: 2px solid #EAEAEA;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 200px;
  max-width: 600px;
  color: #184053;
  transition: border 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover {
  border: 2px solid #FFB703;
  box-shadow: 0 8px 24px -5px #FFB70351;
}
.testimonial-card p {
  color: #184053;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.13rem;
  margin-bottom: 4px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #3e586d;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  display: flex;
  gap: 8px;
  align-items: center;
}
.testimonial-card img[alt*="Stern"], .testimonial-card img[alt*="Star"] {
  width: 22px;
  height: 22px;
  margin-right: 2px;
  margin-top: 0;
}

/* PRICING TABLE */
.pricing-section table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 15px -7px #18405310;
}
.pricing-section th, .pricing-section td {
  padding: 16px 12px;
  text-align: left;
  border-bottom: 1px solid #EAEAEA;
  font-size: 1rem;
}
.pricing-section th {
  background: #184053;
  color: #FFB703;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
}
.pricing-section tr:last-child td {
  border-bottom: none;
}
.pricing-section td {
  background: #fff;
  color: #184053;
}

/* CONTACT / CONFIRMATION */
.contact-section, .confirmation-section {
  background: #EAEAEA;
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.contact-details p, .footer-contact span {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}
.contact-details img, .footer-contact img {
  width: 22px;
  height: 22px;
}
.map-embed {
  margin-top: 12px;
  font-size: 0.97rem;
  color: #184053;
}

/* CALL-TO-ACTION SECTIONS */
.cta-final, .cta-section, .reviews-cta-section {
  background: #184053;
  color: #FFB703;
  border-radius: 20px;
  margin-bottom: 60px;
  padding: 40px 20px;
  text-align: center;
}
.cta-final h2,
.cta-section h2,
.reviews-cta-section h2,
.cta-final p,
.cta-section p,
.reviews-cta-section p {
  color: #FFB703;
  text-align: center;
}
.cta-final .btn-primary,
.cta-section .btn-primary,
.reviews-cta-section .btn-primary {
  margin: 0 auto;
}

/* FOOTER */
footer {
  background: #184053;
  color: #fff;
  padding: 34px 0 18px 0;
  width: 100%;
  border-top: 3px solid #FFB703;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  max-width: 1160px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 7px;
}
.footer-nav a {
  color: #FFB703;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.01rem;
  padding: 4px 6px;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #FFB703;
  color: #184053;
}
.footer-legal {
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.95rem;
  margin-bottom: 9px;
}
.footer-legal a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.2s;
}
.footer-legal a:hover, .footer-legal a:focus {
  color: #FFB703;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  color: #fff;
  font-size: 0.96rem;
}
.footer-social {
  display: flex;
  gap: 13px;
  margin-top: 8px;
}
.footer-social a img {
  width: 34px;
  height: 34px;
  filter: brightness(1) invert(0.1);
  transition: filter 0.18s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: brightness(1.35) invert(0.1) drop-shadow(0 0 4px #FFB703); 
}

/* COOKIE CONSENT BANNER + POPUP */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #184053;
  border-top: 3px solid #FFB703;
  box-shadow: 0 -4px 24px -7px #18405328;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 26px 18px 20px;
  font-size: 1rem;
  transition: transform 0.4s, opacity 0.25s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-btn {
  border: none;
  border-radius: 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 9px 22px;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.cookie-btn.accept {
  background: #FFB703;
  color: #184053;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #184053;
  color: #FFB703;
}
.cookie-btn.settings {
  background: #EAEAEA;
  color: #184053;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FFB703;
  color: #184053;
}
.cookie-btn.reject {
  background: #184053;
  color: #FFB703;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FFB703;
  color: #184053;
}

/* COOKIE POPUP MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(24,64,83, 0.45);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.hide {
  pointer-events: none;
  opacity: 0;
}
.cookie-modal {
  background: #fff;
  color: #184053;
  border-radius: 16px;
  max-width: 410px;
  width: 94vw;
  padding: 32px 28px 22px 28px;
  box-shadow: 0 8px 42px -7px #18405346;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cookie-modal-in 0.33s cubic-bezier(.49,1.58,.49,1.01);
}
@keyframes cookie-modal-in {
  0% { transform: translateY(60px) scale(0.95); opacity: 0; } 
  100% { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 6px;
  font-size: 1.08rem;
}
.cookie-category label {
  font-weight: 600;
  color: #184053;
  cursor: pointer;
}
.cookie-toggle {
  width: 38px; height: 22px;
  background: #EAEAEA;
  border-radius: 22px;
  border: none;
  position: relative;
  cursor: pointer;
}
.cookie-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #184053;
  position: absolute;
  top: 2px; left: 2px;
  transition: left 0.18s, background 0.18s;
}
.cookie-toggle.toggle-on {
  background: #FFB703;
}
.cookie-toggle.toggle-on::after {
  left: 18px;
  background: #fff;
}
.cookie-actions-modal {
  display: flex;
  gap: 11px;
  margin-top: 13px;
  justify-content: flex-end;
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section, .about-preview, .testimonials, .cta-final, .values-section, .why-us-section, .contact-section, .confirmation-section, .process-section, .tips-section, .faq-section, .terms-section, .privacy-section, .dsgvo-section, .cookie-policy-section {
    padding: 26px 6px;
    margin-bottom: 38px;
    border-radius: 13px;
  }
  .hero-section {
    padding-top: 42px;
    padding-bottom: 42px;
  }
  .features-grid, .services-list {
    gap: 18px;
  }
  .features-grid > div, .services-list > div {
    min-width: 160px;
    padding: 17px 8px;
    min-height: 145px;
  }
  .testimonial-card {
    min-width: 120px;
    padding: 15px;
    font-size: 1.02rem;
  }
  footer .container {
    gap: 12px;
    padding-left: 6px;
    padding-right: 6px;
  }
  .footer-nav {
    gap: 10px;
    flex-wrap: wrap;
  }
  .footer-contact {
    gap: 8px;
  }
  .mobile-nav a {
    font-size: 1.07rem;
    padding: 8px 0;
  }
}
@media (max-width: 575px) {
  .hero-section .content-wrapper, .about-preview .content-wrapper, .cta-final .content-wrapper {
    gap: 17px;
  }
  .footer-social a img { width: 28px; height: 28px; }
}

/* FLEXBOX LAYOUT CLASSES */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 12px -7px #18405315;
  padding: 28px 18px;
  min-width: 210px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  transition: border 0.13s, box-shadow 0.13s;
}
.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;
}
@media (max-width: 768px) {
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SPACING: ensure minimum margin between all cards/sections */
section, .section, .about-preview, .testimonials, .cta-final, .values-section, .why-us-section, .testimonials-section, .reviews-cta-section, .cta-section, .services-section, .process-section, .tips-section, .faq-section, .pricing-section, .contact-section, .confirmation-section, .privacy-section, .dsgvo-section, .terms-section, .cookie-policy-section {
  margin-bottom: 60px;
  padding-top: 40px;
  padding-bottom: 40px;
}
@media (max-width: 768px) {
  section, .section, .about-preview, .testimonials, .cta-final, .values-section, .why-us-section, .testimonials-section, .reviews-cta-section, .cta-section, .services-section, .process-section, .tips-section, .faq-section, .pricing-section, .contact-section, .confirmation-section, .privacy-section, .dsgvo-section, .terms-section, .cookie-policy-section {
    margin-bottom: 38px;
    padding-top: 22px;
    padding-bottom: 22px;
  }
}

/* MICRO-INTERACTIONS & TRANSITIONS */
.btn-primary, .btn-secondary, .cookie-btn {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.features-grid > div, .services-list > div, .card {
  transition: box-shadow 0.18s, border 0.18s;
}

/* Hide visually but keep accessible for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* MISCELLANEOUS */
::-webkit-input-placeholder, ::placeholder {
  color: #3e586d;
  opacity: 1;
}

/* Utility: visually reinforce accent color in lists on cta and hero */
.cta-section ul, .cta-final ul {
  list-style-type: disc;
  color: #FFB703;
  font-weight: 500;
}

/* Utility: divider for nav/footer */
.footer-legal {
  border-top: 1px solid #FFB70325;
  padding-top: 7px;
  margin-top: 7px;
}

/* Utility: visually hide legal/utility navs on mobile for clarity */
@media (max-width: 545px) {
  .footer-legal {
    font-size: 0.86rem;
  }
  .footer-contact span {
    font-size: 0.88rem;
  }
}
