/* ===== CSS Reset & Normalize ===== */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
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: inherit;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F7F6F2;
  color: #174452;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* ===== Brand Fonts ===== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background-color: #F7F6F2;
  color: #174452;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #22577A;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
p, li {
  color: #22577A;
  font-size: 1rem;
  margin-bottom: 12px;
}
strong { font-weight: 700; }

/* ===== Layout Containers ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(34,87,122,0.06);
  display: flex;
  flex-direction: column;
}

/* ===== Header ===== */
header {
  background: #F7F6F2;
  box-shadow: 0 2px 16px rgba(34,87,122,0.03);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 20px;
  gap: 16px;
}
.logo img {
  max-height: 54px;
  min-width: 120px;
}
nav.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
nav.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #22577A;
  font-weight: 500;
  border-radius: 6px;
  padding: 7px 12px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
nav.main-nav a:hover,
nav.main-nav a:focus {
  background: #79C2D0;
  color: #fff;
  outline: none;
}
.cta-btn {
  background: #22577A;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  border-radius: 30px;
  padding: 12px 34px;
  box-shadow: 0 2px 8px rgba(34,87,122,0.05);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-left: 16px;
  letter-spacing: 0.01em;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #79C2D0;
  color: #174452 !important;
  box-shadow: 0 6px 36px rgba(121,194,208,0.22);
}

/* ===== Mobile Navigation ===== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  z-index: 1200;
  top: 22px;
  right: 24px;
  background: #22577A;
  color: #fff;
  font-size: 2.1rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(34,87,122,0.10);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #79C2D0;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(247,246,242, 0.98);
  transform: translateX(-105vw);
  transition: transform 0.34s cubic-bezier(.41,.17,.63,1.18);
  z-index: 1100;
  overflow-y: auto;
  box-shadow: 2px 0 54px rgba(34,87,122,0.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  position: absolute;
  right: 28px;
  top: 22px;
  color: #22577A;
  background: #fff;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1150;
  transition: background 0.22s;
  border: none;
  box-shadow: 0 2px 12px rgba(34,87,122,0.07);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F7F6F2;
  color: #79C2D0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 80px 0 0 0;
  padding: 20px 36px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #22577A;
  border-radius: 8px;
  padding: 12px 15px;
  font-weight: 500;
  transition: background 0.22s, color 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #79C2D0;
  color: #fff;
  outline: none;
}

/* Hide desktop nav/show mobile burger on small screens */
@media (max-width: 980px) {
  nav.main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 981px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(90deg, #F7F6F2 80%, #e6f5f7 100%);
  min-height: 340px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}
.hero .container { justify-content: center; }
.hero .content-wrapper {
  max-width: 640px;
  gap: 24px;
  align-items: flex-start;
}
.hero h1 {
  color: #22577A;
  font-size: 2.5rem;
}
.hero p {
  color: #22577A;
  font-size: 1.18rem;
  margin-bottom: 10px;
}

/* ===== Features & Cards ===== */
.features,
.services-intro,
.services-list,
.steps,
.team,
.faq,
.cta-block,
.blog-intro,
.blog-list,
.confirmation,
.pricing {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.feature-grid, .team-grid, .service-grid, .steps-list, .faq-list, .blog-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(34,87,122,0.07);
  padding: 32px 24px 24px 24px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 230px;
  max-width: 340px;
  transition: box-shadow 0.24s, transform 0.16s;
}
.feature-item img {
  width: 38px;
  height: 38px;
}
.feature-item:hover {
  box-shadow: 0 10px 32px rgba(121,194,208,0.14);
  transform: translateY(-2px) scale(1.01);
}

/* ----- Cards & Testimonials ----- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(34,87,122,0.10);
  flex: 1 1 320px;
  overflow: hidden;
  transition: box-shadow 0.22s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 8px 30px rgba(121,194,208,0.13);
  transform: translateY(-4px) scale(1.004);
}
/* Testimonial cards */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #F7F6F2;
  border: 1.5px solid #E0E0E0;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(34,87,122,0.08);
  flex: 1 1 360px;
  transition: box-shadow 0.22s, border 0.15s, background 0.15s;
  color: #174452;
}
.testimonial-card p {
  color: #174452;
  font-size: 1.1rem;
}
.testimonial-card span {
  font-size: 1rem;
  color: #22577A;
  font-weight: 600;
}
.testimonial-card:hover {
  border: 1.5px solid #79C2D0;
  box-shadow: 0 10px 32px rgba(121,194,208,0.19);
  background: #fff;
}

.clients {
  margin-top: 36px;
  background: #fff;
  border-radius: 12px;
  padding: 28px 20px;
  box-shadow: 0 3px 16px rgba(34,87,122,0.07);
}
.clients h2 { font-size: 1.25rem; margin-bottom: 12px; color: #22577A; }
.clients ul { padding-left: 20px; }
.clients li { list-style: disc; margin-bottom: 8px; }

/* Blog posts */
.blog-post {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(34,87,122,0.09);
  padding: 24px 20px;
  flex: 1 1 270px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.10s;
  border: 1.5px solid #FAFAFA;
}
.blog-post:hover {
  box-shadow: 0 10px 32px rgba(121,194,208,0.13);
  border: 1.5px solid #79C2D0;
  transform: translateY(-2px) scale(1.01);
}

/* ===== FAQ, Pricing, Legal ===== */
.faq-list, .pricing-table, .steps-list {
  gap: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.faq-item {
  background: #fff;
  border-radius: 10px;
  padding: 22px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(34,87,122,0.075);
  flex: 1 1 340px;
  min-width: 220px;
  border-left: 4px solid #79C2D0;
}
.faq-item h3 {
  font-size: 1.08rem;
  color: #22577A;
  margin-bottom: 7px;
}
.faq-item p {
  color: #174452;
}

.pricing-table {
  width: 100%;
  flex-direction: column;
  gap: 0;
  margin-bottom: 26px;
}
.pricing-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 12px;
  padding: 12px 20px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(34,87,122,0.07);
  border-left: 4px solid #79C2D0;
  gap: 10px;
}
.pricing-cell {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  color: #22577A;
  flex: 1 1 40%;
}
.pricing-highlights ul { padding-left: 20px; }
.pricing-highlights li {
  color: #174452;
  margin-bottom: 8px;
  list-style-type: disc;
}
.notes-on-pricing {
  font-size: 0.98rem;
  color: #22577A;
  margin-top: 18px;
}

/* Steps Section */
.steps-list {
  gap: 20px;
}
.step-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(34,87,122,0.06);
  padding: 32px 24px 24px 24px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  min-width: 200px;
  transition: box-shadow 0.24s, transform 0.12s;
}
.step-item img {
  width: 42px;
  height: 42px;
}
.step-item h3 {
  color: #22577A;
  font-size: 1.13rem;
}
.step-item p {
  color: #174452;
}
.step-item:hover {
  box-shadow: 0 10px 28px rgba(121,194,208,0.16);
  transform: translateY(-3px) scale(1.01);
}

/* ===== CTA Block ===== */
.cta-block {
  background: #22577A;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 28px rgba(34,87,122,0.08);
  text-align: left;
}
.cta-block h2, .cta-block p {
  color: #fff;
}
.cta-block .cta-btn {
  background: #fff;
  color: #22577A !important;
  border-radius: 32px;
  box-shadow: 0 4px 16px rgba(247,246,242,0.10);
  margin-top: 16px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.cta-block .cta-btn:hover,
.cta-block .cta-btn:focus {
  background: #79C2D0;
  color: #fff !important;
  box-shadow: 0 8px 36px rgba(121,194,208,0.18);
}
.cta-link {
  color: #22577A;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-bottom: 1px solid #22577A;
  padding-bottom: 2px;
  transition: color 0.14s, border-color 0.14s;
  margin-top: 8px;
}
.cta-link:hover,
.cta-link:focus {
  color: #79C2D0;
  border-color: #79C2D0;
}

/* ===== Footer ===== */
footer {
  background: #22577A;
  color: #fff;
  padding: 38px 0 18px 0;
  width: 100%;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 42px;
  justify-content: space-between;
}
.footer-brand img {
  min-width: 100px;
  max-width: 160px;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.93;
  transition: color 0.18s, opacity 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #79C2D0;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.99rem;
  color: #F7F6F2;
}
.footer-contact a {
  color: #F7F6F2;
  text-decoration: underline;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 9px;
}

/* ===== Static/Utility Sections & Classes ===== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-member {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(34,87,122,0.07);
  padding: 18px 20px;
  min-width: 200px;
  flex: 1 1 180px;
  margin-bottom: 20px;
  color: #22577A;
}
.location-info p{margin-bottom: 10px;}
.contact-details p {
  display: flex;
  align-items: center;
  color: #174452;
}
.contact-details img {
  width: 18px; height: 18px; margin-right: 9px;
}

/* All content cards/sections min 20px spacing */
main > section, .about, .legal, .contact-info, .location-info, .confirmation {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ===== Legal/Impressum Sections ===== */
.legal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(34,87,122,0.06);
}
.legal h1, .legal h2 { color: #22577A; }
.legal .text-section {
  color: #174452;
  line-height: 1.7;
}

/* ===== Cookie Consent Banner & Modal ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 24px 16px;
  background: #22577A;
  color: #fff;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 4100;
  box-shadow: 0 -2px 18px 0 rgba(34,87,122,0.13);
  animation: cookieBannerIn 0.5s cubic-bezier(.37,.01,.36,1) 1;
}
@keyframes cookieBannerIn {
  from { transform: translateY(50%); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.cookie-btn {
  border: none;
  border-radius: 22px;
  padding: 10px 28px;
  background: #fff;
  color: #22577A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin: 0 3px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(34,87,122,0.11);
  transition: background 0.19s, color 0.19s, box-shadow 0.19s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #79C2D0;
  color: #fff;
  box-shadow: 0 4px 14px rgba(121,194,208,0.16);
}
.cookie-settings-btn {
  background: #F7F6F2;
  color: #22577A;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #22577A;
  color: #fff;
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34,87,122,0.16);
  z-index: 4120;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 42px rgba(34,87,122,0.18);
  padding: 38px 28px 28px 28px;
  max-width: 98vw;
  width: 410px;
  color: #174452;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 1.2rem;
  color: #22577A;
  background: #F7F6F2;
  border-radius: 50%;
  width: 36px; height: 36px;
  align-items: center; justify-content: center; display: flex;
  border: none;
  transition: background 0.2s;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background: #79C2D0; color: #fff; }
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #22577A;
  width: 20px;
  height: 20px;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #174452;
}
.cookie-category.essential label { font-weight: 700; }
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 16px;
}

/* ===== Animations ===== */
.card, .feature-item, .testimonial-card, .step-item, .faq-item, .blog-post {
  transition: box-shadow 0.22s, transform 0.13s, border 0.14s;
}
.cta-btn, .cookie-btn, .mobile-menu-toggle {
  transition: background 0.2s, color 0.2s, box-shadow 0.16s, transform 0.13s;
}

/* ===== Responsive Design (Mobile First) ===== */
@media (max-width: 1200px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 980px) {
  .header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-brand {
    margin-bottom: 12px;
  }
  .footer-nav, .footer-contact {
    margin-bottom: 12px;
  }
}
@media (max-width: 850px) {
  .feature-grid, .team-grid, .service-grid, .steps-list, .faq-list, .blog-posts {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .content-grid {
    flex-direction: column;
    gap: 17px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.02rem; }
  .section, main > section, .about, .legal,
  .contact-info, .location-info, .confirmation {
    margin-bottom: 40px;
    padding: 22px 8px;
    border-radius: 10px;
  }
  .testimonial-card{
    flex-direction: column;
    gap: 8px;
    padding: 14px 10px;
  }
  .team-grid, .feature-grid, .steps-list, .service-grid, .blog-posts {
    gap: 14px;
  }
  .card, .feature-item, .step-item, .faq-item, .blog-post {
    padding: 14px 8px;
    min-width: 145px;
  }
  .cta-btn {
    padding: 11px 19px;
    font-size: 1rem;
  }
  .cta-block {
    border-radius: 12px;
    text-align: left;
    padding: 24px 8px;
  }
  .footer-brand img {
    min-width: 60px;
    max-width: 100px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .contact-details {
    gap: 5px;
    font-size: 0.97rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
}
@media (max-width: 520px) {
  body, p, li, .footer-contact, .cookie-banner, .cookie-modal-dialog {
    font-size: 0.97rem;
    letter-spacing: normal;
  }
  h1, h2 { font-size: 1.09rem; }
  h3 { font-size: 0.98rem; }
  .container { padding: 0 6px; }
  .cta-btn, .cookie-btn {
    font-size: 0.95rem;
    padding: 9px 12px;
  }
  .footer-nav a {
    font-size: 0.95rem;
  }
  .cookie-modal-dialog {
    padding: 18px 7px 13px 7px;
    max-width: 99vw;
  }
}

/* Hide scrollbars for mobile menu overlay */
.mobile-menu {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mobile-menu::-webkit-scrollbar { display: none; }

/* Accessibility outline for keyboard nav */
a:focus-visible, .cta-btn:focus-visible, .cookie-btn:focus-visible, .cookie-modal-close:focus-visible {
  outline: 2px solid #79C2D0;
  outline-offset: 2px;
}
