/* --- 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 {
  background: #F4F7FA;
  color: #0A2533;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #2B86C5;
  text-decoration: none;
  transition: color .2s;
}
a:hover {
  color: #026099;
}


/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
}

p {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 10px;
}
strong { font-weight: 700; }

ul, ol {
  margin-bottom: 24px;
  padding-left: 24px;
}
ul li, ol li {
  margin-bottom: 10px;
  list-style-type: disc;
}

/* --- GEOMETRIC/STRUCTURED MOOD --- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ---- HEADER ---- */
header {
  background: #ffffff;
  box-shadow: 0 2px 12px 0 rgba(10,37,51,.06);
  width: 100%;
  z-index: 1001;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 16px 20px;
  position: relative;
}
header img {
  height: 44px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1em;
  color: #0A2533;
  letter-spacing: 0.02em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover {
  border-bottom: 2px solid #2B86C5;
  color: #2B86C5;
}
.button-primary {
  background: #2B86C5;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1em;
  padding: 11px 28px;
  border: none;
  border-radius: 8px;
  letter-spacing: 0.04em;
  margin-left: 8px;
  box-shadow: 0 6px 20px -10px #0A253375;
  transition: background 0.18s, transform .18s, box-shadow 0.18s;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  position: relative;
}
.button-primary:hover, .button-primary:focus {
  background: #0A2533;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 40px -8px #2B86C575;
  outline: none;
}

/* --- Mobile menu button ---*/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #0A2533;
  cursor: pointer;
  margin-left: 18px;
  z-index: 1100;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background .16s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F4F7FA;
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #0A2533;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .36s cubic-bezier(.60,0,.55,1);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  margin: 24px 24px 12px 0;
  cursor: pointer;
  transition: color 0.18s, background 0.18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #2B86C5;
  background: #F4F7FA11;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-left: 36px;
  margin-top: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #fff;
  padding: 14px 0;
  font-weight: 600;
  transition: color 0.18s, background .15s;
  border-bottom: 2px solid transparent;
  width: 100%;
  border-radius: 4px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #2B86C5;
  background: #F4F7FA11;
  border-bottom: 2px solid #2B86C5;
}

/* --- HERO SECTION --- */
.hero {
  padding: 64px 0 32px 0;
  background: #ffffff;
  border-bottom: 5px solid #2B86C5;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
}
.hero h1 {
  color: #0A2533;
  font-size: 2.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 10px;
  line-height: 1.13;
}
.hero p {
  color: #2B86C5;
  font-size: 1.2rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.hero .button-primary {
  margin-top: 16px;
}

/* --- FEATURE GRID & CARDS --- */
.features {
  margin-bottom: 60px;
  padding: 40px 0;
  background: #F4F7FA;
}
.features .container {
  flex-direction: column;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 18px;
}
.feature {
  background: #fff;
  border-radius: 18px;
  border: 2.5px solid #2B86C515;
  box-shadow: 0 6px 20px -8px #0A253325;
  padding: 28px 30px 22px 30px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform .16s;
  position: relative;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 18px 52px -6px #2B86C544;
  transform: translateY(-4px) scale(1.03) rotate(-1deg);
  border-color: #2B86C530;
}
.feature img {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  background: #F4F7FA;
  border-radius: 12px;
  padding: 8px;
  object-fit: contain;
}
.feature h3 {
  color: #0A2533;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.feature p {
  color: #335267;
  font-size: 1rem;
}

/* --- SERVICES/ABOUT --- */
.services, .about, .contact, .legal, .confirmation, .faq, .steps {
  margin-bottom: 60px;
  padding: 40px 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px -8px #0A253315;
}
.services ul, .about ul, .legal ul, .confirmation ul {
  margin-bottom: 0;
}
.services li, .about li, .legal li, .confirmation li {
  list-style-type: disc;
}

/* --- CTA Sections --- */
.cta {
  background: #F4F7FA;
  border-radius: 18px;
  box-shadow: 0 8px 32px -10px #2B86C525;
  margin-bottom: 60px;
  padding: 40px 0;
  display: flex;
  align-items: center;
}
.cta .content-wrapper {
  align-items: flex-start;
  text-align: left;
}
.cta h2 {
  color: #0A2533;
  margin-bottom: 10px;
}
.cta p {
  color: #2B86C5;
  margin-bottom: 14px;
}
.cta .button-primary {
  margin-top: 8px;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: #fff;
  margin-bottom: 60px;
  padding: 40px 0;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 32px 22px 32px;
  background: #F4F7FA;
  border-radius: 16px;
  box-shadow: 0 4px 20px -6px #0A253325;
  min-width: 260px;
  max-width: 380px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  color: #0A2533;
  font-family: 'Roboto', Arial;
  transition: transform .14s, box-shadow .22s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 12px 36px -8px #2B86C533;
  transform: translateY(-3px) scale(1.025) skewX(-2deg);
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #0A2533;
  margin-bottom: 8px;
}
.customer-name {
  font-size: 0.94em;
  color: #2B86C5;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.03em;
}

/* --- PRICING TABLE --- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 24px;
  margin-top: 12px;
  overflow-x: auto;
  box-shadow: 0 2px 16px -10px #0A253325;
}
.price-table th, .price-table td {
  padding: 16px 18px;
  text-align: left;
  font-size: 1rem;
}
.price-table th {
  background: #2B86C5;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.price-table tr:not(:last-child) {
  border-bottom: 1.5px solid #F4F7FA;
}
.price-table td {
  color: #0A2533;
  background: #fff;
}
.price-table tbody tr:nth-child(even) td {
  background: #F4F7FA;
}

/* --- STEPS LIST (SO FUNKTIONIERTS) --- */
.steps-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 18px;
}
.steps-list li {
  background: #F4F7FA;
  border-radius: 12px;
  border-left: 6px solid #2B86C5;
  box-shadow: 0 4px 22px -8px #0A253315;
  padding: 28px 18px 18px 26px;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.steps-list li img {
  width: 38px;
  margin-bottom: 5px;
}
.steps-list li strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  color: #0A2533;
  margin-bottom: 5px;
}

/* --- FAQ Accordion (simple static, not JS) --- */
.faq-accordion {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.faq-item {
  flex: 1 1 240px;
  background: #F4F7FA;
  padding: 22px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 12px -6px #0A253325;
  margin-bottom: 20px;
  min-width: 220px;
  transition: box-shadow .16s, transform .13s;
}
.faq-item h3 {
  font-size: 1.13rem;
  margin-bottom: 6px;
  color: #2B86C5;
}
.faq-item p {
  color: #0A2533;
  margin-bottom: 0;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 8px 26px -6px #2B86C533;
  transform: translateY(-2px) scale(1.015);
}

/* --- CONTACT --- */
.contact-details, .address-map {
  margin-bottom: 24px;
}
.contact-details p, .address-map p {
  margin-bottom: 8px;
}
.contact-details a {
  color: #2B86C5;
  font-weight: bold;
}


/* --- FOOTER --- */
footer {
  background: #0A2533;
  color: #fff;
  padding-top: 38px;
  padding-bottom: 24px;
  font-family: 'Roboto', Arial, sans-serif;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  margin-top: 40px;
  width: 100%;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-logo img {
  height: 40px;
  margin-bottom: 20px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 5px;
  text-decoration: none;
  position: relative;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #2B86C5;
  text-decoration: underline;
}
.footer-contact p, .footer-contact a {
  color: #C8D4DE;
  font-size: 0.98em;
}
.footer-contact a {
  text-decoration: none;
  transition: color .18s;
}
.footer-contact a:hover {
  color: #2B86C5;
  text-decoration: underline;
}

/* --- CARDS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px -8px #2B86C525;
  padding: 28px 22px;
  position: relative;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .17s, transform .14s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 38px -10px #2B86C555;
  transform: translateY(-2px) scale(1.025);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- Legal/Impressum content --- */
.legal h1, .legal h2 {
  color: #0A2533;
}
.legal a {
  color: #2B86C5;
}

/* --- Confirmation page --- */
.confirmation h1, .confirmation h2 {
  color: #2B86C5;
}
.confirmation ul {
  margin-bottom: 16px;
}

/* ------- COOKIE CONSENT BANNER --------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) scale(1);
  background: #0A2533;
  color: #fff;
  padding: 28px 22px 22px 28px;
  border-radius: 18px;
  box-shadow: 0 6px 42px -12px #0A253388;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
  min-width: 280px;
  max-width: 98vw;
  opacity: 1;
  transition: opacity .36s, transform .36s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.95);
}
.cookie-banner p {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-banner-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1em;
  border-radius: 7px;
  border: none;
  padding: 9px 20px;
  margin-right: 4px;
  cursor: pointer;
  transition: background .16s, color .16s, box-shadow .19s;
  outline: none;
}
.cookie-btn-accept {
  background: #2B86C5;
  color: #fff;
  box-shadow: 0 2px 18px -8px #2B86C533;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #09456E;
  color: #fff;
}
.cookie-btn-reject {
  background: #fff;
  color: #0A2533;
  border: 2px solid #2B86C5;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #D3E8F5;
  color: #0A2533;
}
.cookie-btn-settings {
  background: transparent;
  color: #fff;
  border: 2px solid #2B86C5;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #2B86C5;
  color: #fff;
}
.cookie-link {
  color: #2B86C5;
  text-decoration: underline;
  font-size: 0.99em;
  transition: color .14s;
}
.cookie-link:hover, .cookie-link:focus {
  color: #fff;
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: #0A2533bb;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: initial;
  transition: opacity .3s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #0A2533;
  border-radius: 22px;
  max-width: 400px;
  min-width: 260px;
  padding: 32px 28px 22px 28px;
  box-shadow: 0 18px 64px -22px #0A25337c;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 10003;
  position: relative;
  animation: cookieModalFadeIn .36s cubic-bezier(.55,0,.5,1);
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; transform: scale(.94) translateY(36px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: #2B86C5;
  font-size: 1.45em;
  cursor: pointer;
}
.cookie-modal h2 {
  font-size: 1.23rem;
  color: #0A2533;
  margin-bottom: 6px;
  font-weight: bold;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #F4F7FA;
  padding: 14px 14px 10px 18px;
  border-radius: 9px;
  margin-bottom: 12px;
  font-size: 1.04em;
}
.cookie-category-label {
  color: #2B86C5;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.cookie-category-toggle {
  pointer-events: auto;
}
.cookie-category input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: #2B86C5;
}
.cookie-category.essential input[type=checkbox] {
  accent-color: #999;
}
.cookie-category.essential input[type=checkbox] {
  pointer-events: none;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.cookie-modal-actions .cookie-btn {
  flex: 1 1 42%;
}


/* --- MEDIA QUERIES --- */
@media (max-width: 1020px) {
  .container {
    max-width: 94vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .main-nav {
    gap: 20px;
  }
  .feature {
    max-width: 98vw;
  }
  .footer-logo img {
    height: 34px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .steps-list, .card-container, .testimonial-slider, .faq-accordion, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature, .testimonial-card, .faq-item, .card {
    max-width: 98vw;
  }
  .footer-logo img {
    margin-bottom: 14px;
  }
}
@media (max-width: 820px) {
  header .container {
    padding-top: 16px;
    padding-bottom: 10px;
  }
  .main-nav {
    gap: 12px;
    font-size: 0.98em;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .hero h1 { font-size: 1.5rem; }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.23rem; }
  .container { max-width: 99vw; }
  .section, .features, .services, .about, .legal, .confirmation, .faq, .cta {
    padding: 24px 3vw 24px 3vw;
    margin-bottom: 36px !important;
  }
  .feature, .testimonial-card, .faq-item, .card {
    padding: 18px 8px;
    min-width: 0;
  }
  .cta {
    padding: 24px 3vw;
  }
  .footer-logo img {
    height: 28px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 520px) {
  .hero, .section, .cta, .features, .services, .about, .legal, .confirmation, .faq {
    padding-left: 0;
    padding-right: 0;
  }
  .cookie-banner {
    min-width: 98vw;
    border-radius: 0;
    left: 0;
    bottom: 0;
    transform: none;
  }
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.button-primary, .cookie-btn {
  transition: background 0.16s, color 0.16s, transform 0.15s;
}
.button-primary:active, .cookie-btn:active {
  transform: scale(0.97);
}
.feature, .testimonial-card, .faq-item, .card {
  transition: box-shadow .20s, transform .13s;
}

/* 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);
  border: 0;
}

/* --- COLOR UTILS (for brand secondary background blocks, not required, but support) --- */
.bg-primary {
  background: #0A2533;
  color: #fff;
}
.bg-accent {
  background: #F4F7FA;
}
.bg-secondary {
  background: #2B86C5;
  color: #fff;
}

/* --- FORM ELEMENTS (if forms occur) --- */
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 13px;
  border-radius: 7px;
  border: 1.5px solid #2B86C530;
  background: #fff;
  transition: border-color .16s, box-shadow .16s;
  margin-bottom: 14px;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: #2B86C5;
  box-shadow: 0 2px 14px -8px #2B86C544;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #0A2533;
  font-weight: 600;
  margin-bottom: 4px;
  display: block;
}

/* --- ACCESSIBILITY FOCUS STYLES --- */
a:focus, button:focus, .button-primary:focus, input:focus {
  outline: 2px solid #2B86C5;
  outline-offset: 2px;
}

/* --- Utility: hide --- */
.hide { display: none !important; }

/* --- END --- */
