/* RESET & BASE -------------------------------------------------- */
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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { 
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: #F7F9FB;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #183059;
  background-color: #F7F9FB;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 16px;
  position: relative;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #183059;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #FFCA3A;
  outline: none;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 24px;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  outline: none;
  background: none;
}
strong {
  font-weight: 700;
}
hr {
  border: none;
  border-top: 1px solid #E6E6E6;
  margin: 32px 0;
}

/* FONTS ----------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #183059;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem; }

p, li, td, th {
  font-size: 1rem;
  line-height: 1.6;
}

/* CONTAINER ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* UTILITIES ------------------------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(24,48,89,0.05);
}
@media (max-width: 900px) {
  .section { padding: 28px 8px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(24,48,89,.06);
  padding: 24px;
  flex: 1 1 320px;
  min-width: 260px;
}
.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) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 3px 12px rgba(24,48,89,0.10);
  border-left: 5px solid #FFCA3A;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FLEX-ONLY LAYOUTS ----------------------------------------------- */
.feature-grid, .faq-teaser-list, .services-summary-list, .footer-menu, .footer-contact-short, .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid { justify-content: flex-start; }
.services-summary-list {
  list-style: none;
  justify-content: flex-start;
  gap: 24px;
  margin-bottom: 28px;
}
.services-summary-list li {
  flex: 1 1 240px;
  min-width: 210px;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(24,48,89,.06);
  padding: 20px;
}
.faq-teaser-list {
  flex-direction: column;
  margin-bottom: 24px;
  gap: 10px;
  list-style: disc;
}
@media (max-width:900px) {
  .feature-grid, .services-summary-list {
    gap: 16px;
  }
  .feature-grid .feature, .services-summary-list li {
    min-width: 160px;
    flex-basis: 45%;
  }
}
@media (max-width:600px) {
  .feature-grid, .services-summary-list {
    flex-direction: column;
    gap: 12px;
  }
  .feature-grid .feature, .services-summary-list li {
    flex-basis: 100%;
    min-width: unset;
  }
}

/* HEADER ------------------------------------- */
header {
  background: linear-gradient(90deg, #183059 60%, #306BB0 100%);
  color: #FFF;
  padding-top: 0;
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  position: relative;
  gap: 24px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 0;
  transition: color 0.22s;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  color: #FFCA3A;
}
header .cta-primary {
  background: #FFCA3A;
  color: #183059;
  padding: 10px 22px;
  border-radius: 24px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255,202,58,.11);
  margin-left: 24px;
  transition: box-shadow .19s, background .24s, color .24s;
}
header .cta-primary:hover,
header .cta-primary:focus {
  background: #FFD85B;
  color: #183059;
  box-shadow: 0 4px 16px rgba(255,202,58,.25);
}
/* Hide burger by default */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #FFCA3A;
  padding: 6px 12px;
  border-radius: 8px;
  margin-left: 16px;
  cursor: pointer;
  transition: background .14s;
  z-index: 1001;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: rgba(255,202,58,0.11);
}
@media (max-width: 1020px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE NAVIGATION -------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right:0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #183059;
  z-index: 1020;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform .38s cubic-bezier(0.78,0.12,0.65,1.2);
  box-shadow: 4px 0 40px 0 rgba(24,48,89,0.25);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 24px 0 24px 28px;
  background: none;
  color: #FFCA3A;
  border: none;
  font-weight: 700;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1030;
  align-self: flex-start;
  transition: background .13s;
  border-radius: 8px;
  padding: 3px 10px;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: rgba(255,202,58,0.11);
}
.mobile-menu nav.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 0 36px;
  width: 100vw;
  margin-top: 36px;
}
.mobile-nav a {
  color: #FFF;
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 14px 0;
  transition: color 0.17s;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #FFCA3A;
}

@media (max-width: 500px) {
  .mobile-menu nav.mobile-nav {
    padding: 0 16px;
    gap: 16px;
  }
  .mobile-menu-close { margin-left: 10px; margin-top: 18px; }
}

/* HERO ---------------------------------------------------------- */
.hero {
  background: linear-gradient(110deg, #306BB0 0%, #183059 85%);
  color: #FFF;
  min-height: 300px;
  display: flex;
  align-items: center;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 8px 28px 0 rgba(24,48,89,0.08);
  margin-bottom: 48px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.6rem;
  color: #FFF;
}
.hero p {
  max-width: 630px;
  color: #E1EDFC;
  margin-bottom: 32px;
}
.hero .cta-primary {
  margin-top: 14px;
}
@media (max-width: 900px) {
  .hero {
    min-height: 180px;
    padding: 35px 0;
  }
}

/* BUTTONS & CTA's --------------------------------------------- */
.cta-primary, .cta-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  padding: 12px 28px;
  transition: background .23s, color .22s, box-shadow .19s, filter .18s;
  cursor: pointer;
}
.cta-primary {
  background: #FFCA3A;
  color: #183059;
  box-shadow: 0 2px 8px rgba(255,202,58,.17);
}
.cta-primary:hover,
.cta-primary:focus {
  background: #FFD85B;
  color: #183059;
  box-shadow: 0 4px 18px rgba(255,202,58,.23);
  filter: brightness(1.01) saturate(1.01);
}
.cta-secondary {
  background: #183059;
  color: #FFF;
  border: 1.5px solid #183059;
  box-shadow: 0 1px 6px rgba(48,107,176,.09);
  margin-left: 0;
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: #306BB0;
  color: #FFF;
  border-color: #306BB0;
}
@media (max-width: 650px) {
  .cta-primary, .cta-secondary {
    padding: 10px 18px;
    font-size: 0.96rem;
  }
}

/* FEATURES --------------------------------------------------- */
.features {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
.feature-grid {
  width: 100%;
  margin-top: 12px;
}
.feature {
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 1.5px 9px rgba(24,48,89,0.07);
  padding: 28px 20px 22px 20px;
  flex: 1 1 240px;
  min-width: 180px;
  transition: box-shadow .17s, transform .22s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}
.feature img {
  width: 50px; height: 50px;
  margin-bottom: 15px;
}
.feature:hover {
  box-shadow: 0 6px 28px 0 rgba(24,48,89,0.13);
  transform: translateY(-4px) scale(1.02);
  cursor: pointer;
}
.feature h3 {
  color: #183059;
  font-size: 1.15rem;
  margin-bottom: 7px;
}
.feature p {
  color: #4F628E;
  font-size: 1rem;
}

/* TESTIMONIALS ----------------------------------------------- */
.testimonials {
  margin-bottom: 60px;
  padding: 36px 0 0 0;
}
.testimonial-card blockquote {
  font-size: 1.14rem;
  color: #223B61;
  font-style: italic;
  margin-bottom: 10px;
  border-left: 0;
}
.testimonial-meta {
  font-size: 1rem;
  color: #183059;
  opacity: 0.96;
  margin-bottom: 6px;
}

/* SERVICES SUMMARY ------------------------------------------ */
.services-preview .services-summary-list img {
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
}
.services-summary-list h3 {
  margin-bottom: 5px;
}


/* PROCESS --------------------------------------------------- */
.process-preview, .process {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
.process-steps-short, .step-wizard {
  margin-bottom: 22px;
}
.process-steps-short li, .step-wizard li {
  margin-bottom: 8px;
  font-size: 1rem;
}
.timeline-visual {
  margin: 18px 0 26px 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (max-width: 900px){
  .timeline-visual { padding: 0 5vw; }
}

/* FAQ ------------------------------------------------------- */
.faq {
  margin-bottom: 60px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(24,48,89,0.05);
  padding: 40px 20px;
}
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.accordion-item {
  background: #F3F6FA;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(24,48,89,0.07);
  padding: 18px 16px;
}
.accordion-item h3 {
  font-size: 1.08rem;
  color: #183059;
  margin-bottom: 7px;
}

/* LEGAL (Datenschutz, Nutzungsbedingungen etc.) --------------- */
.legal {
  padding: 46px 0 10px 0;
}
.legal ul {
  margin-bottom: 18px;
}

/* TABLES ----------------------------------------------------- */
.package-comparison-table, .pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: 0 2px 11px rgba(48,107,176,0.10);
  background: #FFF;
  border-radius: 14px;
  overflow: hidden;
  margin: 28px 0 14px 0;
}
.package-comparison-table th,
.package-comparison-table td,
.pricing-table th, .pricing-table td {
  padding: 15px 10px;
  text-align: left;
  border-bottom: 1px solid #E6E6E6;
}
.package-comparison-table th,
.pricing-table th {
  background: #F3F6FA;
  color: #183059;
  font-weight: 700;
}
.package-comparison-table tr:last-child td,
.pricing-table tr:last-child td {
  border-bottom: none;
}
@media (max-width: 600px){
  .package-comparison-table, .pricing-table {
    font-size: 0.95rem;
  }
  .package-comparison-table th, .pricing-table th {
    padding: 11px 6px;
  }
}

/* CONTACT / THANK YOU ----------------------------------------- */
.contact-details p, .map-embed p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.contact-details img, .map-embed img {
  width: 28px; height: 28px;
  vertical-align: middle;
  margin-right: 8px;
}
.map-embed {
  background: #F7F9FB;
  border-radius: 10px;
  padding: 18px 12px;
  margin: 18px 0 20px 0;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
@media (max-width:500px) {
  .map-embed{ flex-direction: column; align-items: flex-start; }
}

/* THANK YOU PAGE ---------------------------------------------- */
.thank-you .next-steps-info ul {
  margin: 14px 0 14px 24px;
  list-style: disc;
  color: #223B61;
}
.thank-you .cta-primary { margin-top: 24px; }

/* FOOTER ------------------------------------------------------ */
footer {
  margin-top: 65px;
  background: #183059;
  color: #FFF;
  padding: 48px 0 24px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 14px;
  justify-content: flex-start;
}
.footer-menu nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-menu a {
  color: #FFF;
  font-size: 1rem;
  opacity: 0.95;
  transition: color .16s, opacity .13s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: #FFCA3A;
  opacity: 1;
}
.footer-contact-short {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.95rem;
}
.footer-contact-short img {
  width: 18px; height: 18px;
  margin-right: 6px;
}
.footer-social {
  display: flex;
  gap: 17px;
  margin-bottom: 10px;
}
.footer-social a img {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  transition: box-shadow .17s;
  background: #FFF;
  padding: 2px;
}
.footer-social a:hover img,
.footer-social a:focus img {
  box-shadow: 0 0 9px #FFCA3A, 0 2px 14px #183059;
}
footer p {
  font-size: 0.97rem;
  opacity: 0.87;
}

@media (max-width: 800px) {
  .footer-menu { flex-direction: column; gap: 12px; }
}

/* COOKIE BANNER -------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #183059;
  color: #FFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1500;
  box-shadow: 0 -4px 40px 0 rgba(24,48,89,0.18);
  padding: 22px 14px;
  animation: fadeInUp .7s cubic-bezier(.55,1.43,.34,1.01);
}
@keyframes fadeInUp {
  0% {transform: translateY(100%); opacity: 0;}
  80% {transform: translateY(-10px);}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  margin-bottom: 13px;
  text-align: center;
  color: #FFF;
}
.cookie-buttons {
  display: flex;
  gap: 13px;
}
.cookie-banner button,
.cookie-banner .cta-secondary {
  font-size: 1rem;
  border-radius: 20px;
  padding: 8px 18px;
  border: none;
  transition: background .21s, color .19s, box-shadow .16s;
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  cursor: pointer;
}
.cookie-banner .accept {
  background: #FFCA3A;
  color: #183059;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(255,202,58,0.17);
}
.cookie-banner .accept:hover {
  background: #FFD85B;
}
.cookie-banner .reject {
  background: #4F628E;
  color: #FFF;
  border: 1.5px solid #FFCA3A;
}
.cookie-banner .reject:hover,
.cookie-banner .settings:hover {
  background: #183059;
  color: #FFCA3A;
}
.cookie-banner .settings {
  background: #183059;
  color: #FFCA3A;
  border: 1.5px solid #FFCA3A;
}

/* COOKIE MODAL ----------------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,48,89,0.80);
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBg .5s cubic-bezier(.55,1.43,.34,1.01);
}
@keyframes fadeInBg {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #FFF;
  color: #183059;
  border-radius: 18px;
  box-shadow: 0 4px 42px rgba(24,48,89,0.19);
  padding: 38px 26px 26px 26px;
  min-width: 320px;
  max-width: 95vw;
  animation: fadeInUp .6s;
  display: flex;
  flex-direction: column;
  gap: 21px;
}
.cookie-modal h2 {
  font-size: 1.38rem;
  color: #183059;
  margin-bottom: 16px;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 34px;
  top: 24px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #FFCA3A;
  cursor: pointer;
  z-index: 1700;
  border-radius: 8px;
  padding: 4px 10px;
}
.cookie-modal .close-modal:hover {
  background: #F7F9FB;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #F3F6FA;
  border-radius: 9px;
  padding: 12px 14px;
}
.cookie-category label {
  font-size: 1.08rem;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  accent-color: #FFCA3A;
  width: 18px;
  height: 18px;
  margin-left: 6px;
}
.cookie-category input[disabled] {
  background: #EEE;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}
.cookie-modal .accept {
  background: #FFCA3A;
  color: #183059;
  font-weight: 700;
}
.cookie-modal .reject,
.cookie-modal .cancel {
  background: #4F628E;
  color: #FFF;
  border: 1.5px solid #FFCA3A;
}
.cookie-modal .reject:hover,
.cookie-modal .cancel:hover {
  background: #183059;
  color: #FFCA3A;
}
.cookie-modal .accept:hover {
  background: #FFD85B;
}
@media (max-width: 550px) {
  .cookie-modal {
    padding: 20px 4vw 14px 4vw;
    min-width: unset;
  }
}

/* SPACING & MOBILE BREAKPOINTS -------------------------------------- */
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  .section, .faq, .legal {
    padding: 24px 6px;
    margin-bottom: 38px;
  }
}
@media (max-width: 650px) {
  h1 { font-size: 1.46rem; }
  h2 { font-size: 1.12rem; }
  .container { padding-left: 6px; padding-right: 6px; }
}
@media (max-width: 500px) {
  .section, .faq, .legal {padding: 8px 2px;}
  .footer-menu, .footer-contact-short, .footer-social {gap: 9px;}
  .testimonial-card {padding: 14px;}
}
/* Responsive display tweaks */
@media (max-width: 650px) {
  header .container {
    flex-direction: row;
    gap: 14px;
  }
  .footer-contact-short p {font-size: 0.9rem;}
  .footer-social a img {width: 28px; height: 28px;}
}

/* MISCELLANEOUS & MICRO-INTERACTIONS ------------------------------- */
.feature, .services-summary-list li, .card, .testimonial-card, .accordion-item {
  transition: box-shadow .2s, transform .2s, background .13s;
}
.section, .card, .feature, .accordion-item, .testimonial-card {
  box-shadow: 0 2px 12px rgba(24,48,89,.06);
}

::-webkit-scrollbar {
  width: 8px;
  background: #F3F6FA;
}
::-webkit-scrollbar-thumb {
  background: #306BB0;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #183059;
}

/* AUTOFILL COLOR FIXES FOR INPUTS - not needed here but placeholder */

/* END --------------------------------------------------------------- */
