/* =============================
   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;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F8FAFF; /* Light pastel BG */
  font-family: 'Roboto', Arial, sans-serif;
  color: #232742;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #00A3C7;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #27add6;
  text-decoration: underline;
}
ul, ol {
  list-style-position: inside;
  margin-bottom: 16px;
}
ul { list-style: disc; }
ol { list-style: decimal; }
strong { font-weight: bold; }

img, svg { max-width: 100%; height: auto; }

button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  background: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

/* =============================
   SOFT PASTEL COLOR PALETTE & FONTS
   ============================== */
:root {
  --primary: #232742;
  --primary-rgb: 35, 39, 66;
  --secondary: #00A3C7;
  --secondary-light: #71d2ea;
  --accent: #F3F6FB;
  --bg-pastel-1: #F8FAFF;
  --bg-pastel-2: #EAF5FF;
  --bg-pastel-3: #FFF2F6;
  --bg-pastel-4: #F3FBDC;
  --bg-gradient: linear-gradient(120deg,#EAF5FF 0%, #FFF5EA 100%);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --shadow-soft: 0 4px 24px 0 rgba(113,210,234,0.07), 0 1.5px 5px rgba(35,39,66,0.09);
  --shadow-subtle: 0 2px 8px 0 rgba(113,210,234,0.10);
  --radius-card: 20px;
  --radius-btn: 32px;
  --radius-section: 32px;
}

/* =============================
   TYPOGRAPHY
   ============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  letter-spacing: 0.015em;
  font-weight: 700;
}
h1 { font-size: 2.4rem; margin-bottom: 20px; }
h2 { font-size: 2rem;  margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4 { font-size: 1.15rem; margin-bottom: 8px; }

p {
  font-size: 1rem;
  font-family: var(--font-body);
  color: #29314b;
  margin-bottom: 12px;
}

@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.5rem; }
  p  { font-size: 1.125rem; }
}
@media (min-width: 900px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.65rem; }
}
.section h2 { margin-bottom: 24px; }
.section h3 { margin-bottom: 16px; }

/* =============================
   LAYOUT: SECTION SPACING & FLEX PATTERNS
   ============================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-section);
  background: var(--bg-gradient);
  box-shadow: var(--shadow-subtle);
}
.container {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 8px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: var(--accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  min-width: 270px;
  flex: 1 1 270px;
  transition: box-shadow 0.17s, transform 0.17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(113,210,234,0.18), 0 2px 15px rgba(35,39,66,0.11);
  transform: translateY(-3px) scale(1.01);
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-card);
  margin-bottom: 24px;
  box-shadow: var(--shadow-subtle);
  min-width: 260px;
  color: #22243a;
  font-size: 1.15rem;
  position: relative;
}
.testimonial-card p {
  margin: 0;
  color: #232742;
  line-height: 1.7;
}
.testimonial-card strong {
  display: block;
  margin-top: 12px;
  color: #00A3C7;
  font-weight: 700;
  letter-spacing: 0.012em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 20px 16px;
  border-radius: var(--radius-card);
  background: var(--bg-pastel-3);
  margin-bottom: 20px;
  box-shadow: var(--shadow-subtle);
}

/* =============================
   NAVIGATION (DESKTOP & MOBILE)
   ============================== */
header {
  background: #FFF6F2;
  box-shadow: 0 2px 12px rgba(113,210,234,0.10);
  position: sticky;
  top: 0;
  z-index: 36;
  padding: 0 0 2px 0;
}
header nav[aria-label="Hauptnavigation"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 12px;
}
header nav[aria-label="Hauptnavigation"] > a > img {
  height: 38px;
  margin-right: 12px;
}
header ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin: 0 24px 0 0;
}
header ul li {
  margin-bottom: 0;
}
header ul li a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.09rem;
  color: var(--primary);
  padding: 9px 14px;
  border-radius: 20px;
  transition: background 0.17s, color 0.17s;
}
header ul li a:hover, header ul li a:focus {
  background: var(--secondary-light);
  color: #19214a;
}
header .primary-cta {
  padding: 10px 30px;
  background: var(--secondary);
  color: #fff;
  border-radius: var(--radius-btn);
  font-size: 1.14rem;
  font-weight: 700;
  box-shadow: 0 2px 10px 0 rgba(0,163,199,0.09);
  transition: background 0.18s, box-shadow 0.20s, transform 0.18s;
  font-family: var(--font-display);
  margin-left: 10px;
  outline: none;
}
header .primary-cta:hover, header .primary-cta:focus {
  background: #00b7e5;
  color: #fff;
  box-shadow: 0 5px 24px 0 rgba(0,163,199,0.18);
  transform: translateY(-2px) scale(1.02);
}

/* Hamburger Icon */
.mobile-menu-toggle {
  display: none;
  color: var(--primary);
  background: var(--secondary-light);
  border-radius: 16px;
  width: 44px;
  height: 44px;
  font-size: 2.1rem;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  z-index: 99;
  border: none;
  transition: background .18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #c2e7f7;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(248,250,255, 0.96);
  z-index: 98;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.7,.2,.3,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 80px;
  box-shadow: 0 8px 30px 0 rgba(35,39,66,0.07);
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 2rem;
  background: none;
  color: var(--primary);
  border: none;
  padding: 0 8px;
  border-radius: 12px;
  z-index: 100;
  transition: background .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #f7d8ee;
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
  padding: 10px 32px;
}
.mobile-nav a {
  color: var(--primary);
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 12px 0 12px 4px;
  border-radius: 12px;
  width: 100%;
  transition: background .18s, color .15s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--bg-pastel-2);
  color: var(--secondary);
}

@media (max-width: 980px) {
  header nav[aria-label="Hauptnavigation"] ul,
  header nav[aria-label="Hauptnavigation"] .primary-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 980px) {
  header nav[aria-label="Hauptnavigation"] {
    gap: 10px;
    padding: 14px 6px;
  }
  header nav[aria-label="Hauptnavigation"] > a > img {
    height: 32px;
    margin-right: 0px;
  }
}

/* =============================
   MAIN & SECTION LAYOUT
   ============================== */
main {
  flex: 1 1 auto;
  background: transparent;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-section);
  background: var(--bg-pastel-1);
  box-shadow: var(--shadow-subtle);
}
section .container {
  padding: 0 8px;
}
section .content-wrapper {
  gap: 20px;
}
@media (max-width: 768px) {
  section, .section {
    padding: 26px 5px;
    margin-bottom: 38px;
    border-radius: 15px;
  }
  .container {
    padding: 0 3px;
  }
  .content-wrapper {
    gap: 14px;
  }
}

/* =============================
   CARDS, FEATURE LISTS, TESTIMONIALS
   ============================== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

li {
  margin-bottom: 12px;
  line-height: 1.6;
  color: #29314b;
}
ul li:last-child, ol li:last-child { margin-bottom: 0; }
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-list .feature-item {
  min-width: 170px;
}
blockquote {
  background: var(--bg-pastel-2);
  color: var(--primary);
  border-left: 4px solid var(--secondary);
  padding: 18px 24px;
  border-radius: 14px;
  box-shadow: 0 1px 4px 0 rgba(35,39,66,0.06);
  margin: 20px 0;
  font-style: italic;
}

/* =============================
   WHITE CARDs/ATOMIC CARDS
   ============================== */
.white-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 22px 24px;
  margin-bottom: 20px;
}

/* =============================
   BUTTONS, CTAs & INTERACTIVE ELEMENTS
   ============================== */
.primary-cta, .btn-primary {
  display: inline-block;
  border-radius: var(--radius-btn);
  padding: 14px 38px;
  background: var(--secondary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: .016em;
  box-shadow: 0 2px 14px 0 rgba(0,163,199,0.10);
  border: none;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 6px;
  transition: background 0.18s, color 0.17s, box-shadow .19s, transform 0.17s;
  text-align: center;
}
.primary-cta:hover, .primary-cta:focus,
.btn-primary:hover, .btn-primary:focus {
  background: #12c0eb;
  color: #fff;
  box-shadow: 0 5px 24px 0 rgba(0,163,199,0.23);
  transform: translateY(-0.5px) scale(1.021);
}
.btn-secondary {
  background: #fff;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  padding: 12px 34px;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  transition: background .17s, color .16s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--secondary-light);
  color: #232742;
  border-color: #12c0eb;
}
.btn-ghost {
  background: transparent;
  color: var(--secondary);
  border-radius: var(--radius-btn);
  padding: 10px 24px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  transition: background .13s, color .13s;
}
.btn-ghost:hover, .btn-ghost:focus {
  background: var(--bg-pastel-2);
  color: var(--primary);
}

/* =============================
   FOOTER
   ============================== */
footer {
  background: #F3F6FB;
  padding: 40px 0 12px 0;
  border-top: 2px solid #e6eeff;
  box-shadow: 0 -2px 18px 0 rgba(113, 210, 234, 0.06);
}
footer .container {
  padding: 0 8px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav[aria-label="Footer-Navigation"] {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 1.02rem;
  margin-bottom: 8px;
}
footer .text-section {
  flex: 1 1 220px;
  font-size: 0.98rem;
  color: #384164;
}
footer .social-links {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 10px;
}
footer .social-links a {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  justify-content: center;
  box-shadow: 0 2px 9px rgba(113,210,234,0.07);
  transition: box-shadow .15s, transform .14s, background .13s;
}
footer .social-links a:hover {
  background: var(--secondary-light);
  box-shadow: 0 6px 18px rgba(0,163,199,0.08);
  transform: scale(1.05) translateY(-2px);
}
footer .social-links img {
  height: 25px;
  width: 25px;
}
@media (max-width: 768px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

/* =============================
   RESPONSIVE: FLEX DIRECTION SWITCH
   ============================== */
@media (max-width: 768px) {
  .content-grid,
  .card-container,
  .feature-list,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    font-size: 1rem;
    padding: 15px;
  }
  .white-card, .card {
    padding: 16px 10px;
  }
}

/* =============================
   COOKIE CONSENT BANNER & MODAL
   ============================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fffdfa;
  color: var(--primary);
  box-shadow: 0 -2px 24px 0 rgba(0,163,199,0.09), 0 -1px 3px #e9e9f5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 22px 28px;
  z-index: 200;
  font-size: 1.03rem;
  flex-wrap: wrap;
  animation: cookie-banner-in 0.5s cubic-bezier(.42,.58,.71,.84);
}
@keyframes cookie-banner-in {
  from { transform: translateY(60px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0 25px 0 0;
  flex: 1 1 220px;
  color: #232742;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner .btn-cookie {
  background: var(--secondary-light);
  color: var(--primary);
  border-radius: var(--radius-btn);
  padding: 9px 18px;
  font-weight: 600;
  border: none;
  font-family: var(--font-display);
  transition: background .16s, color .14s;
}
.cookie-banner .btn-cookie.primary {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .btn-cookie.secondary {
  background: #fff;
  color: var(--secondary);
  border: 2px solid var(--secondary-light);
}
.cookie-banner .btn-cookie:hover, .cookie-banner .btn-cookie:focus {
  background: #c2e7f7;
  color: var(--primary);
}
.cookie-banner .btn-cookie.primary:hover, .cookie-banner .btn-cookie.primary:focus {
  background: #15aedc;
  color: #fff;
}

/* --- Modal --- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,39,66,0.18);
  z-index: 201;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 60px 0;
  animation: fadeIn 0.29s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal.open {
  display: flex;
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 16px 16px 0 0;
  max-width: 410px;
  width: 95%;
  margin: 0 auto;
  padding: 40px 26px 32px 26px;
  box-shadow: 0 8px 40px 0 rgba(113,210,234,0.13);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: slideUp 0.3s;
  position: relative;
}
@keyframes slideUp {
  from { transform: translateY(32px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal .modal-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary);
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1.06rem;
  line-height: 1.45;
  color: #232742;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 20px;
  height: 20px;
  margin-right: 5px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 26px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: #232742;
  font-size: 1.2rem;
  border-radius: 14px;
  padding: 3px 9px;
  transition: background .17s;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  background: #f7d8ee;
  color: var(--secondary);
}
.cookie-category input[disabled],
.cookie-category input[aria-disabled="true"] {
  opacity: 0.62;
  cursor: not-allowed;
}

@media (max-width: 500px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: .95rem;
    padding: 17px 8px;
  }
  .cookie-banner p {
    margin: 0 0 5px 0;
    font-size: 1rem;
  }
}

/* =============================
   FORM ELEMENTS (Contacts, etc.)
   ============================== */
input, textarea, select {
  border: 1.5px solid #e0e6ef;
  border-radius: 10px;
  padding: 10px 15px;
  width: 100%;
  font-size: 1rem;
  margin-bottom: 15px;
  font-family: var(--font-body);
  background: #fff;
  color: #232742;
  box-shadow: 0 1.5px 7px rgba(113,210,234,0.03);
  transition: border .12s, box-shadow .14s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 2px 10px 0 rgba(0,163,199,0.06);
}
label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  color: #384164;
  font-weight: 600;
}

/* =============================
   WHITE SPACE & SPACING SYSTEM
   ============================== */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 28px; }
.mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 28px; }
.mb-4 { margin-bottom: 40px; }

/* =============================
   MICRO-INTERACTIONS
   ============================== */
.card, .testimonial-card, .primary-cta, .btn-primary, .btn-secondary, .btn-ghost, .cookie-banner .btn-cookie {
  transition:
      box-shadow 0.18s cubic-bezier(.5,.11,.6,1.2),
      background 0.16s cubic-bezier(.5,.11,.6,1.2),
      color 0.13s,
      transform 0.15s;
}

/* =============================
   ACCESSIBILTY & FOCUS STATES
   ============================== */
a:focus-visible, .primary-cta:focus-visible, .btn-primary:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* =============================
   PRINT STYLES
   ============================== */
@media print {
  header, footer, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; color: #222; }
}

/* =============================
   SOFT GRADIENT BACKGROUNDS
   ============================== */
.pastel-bg-1 { background: var(--bg-pastel-2); }
.pastel-bg-2 { background: var(--bg-pastel-3); }
.pastel-bg-3 { background: var(--bg-pastel-4); }

/* =============================
   DARK TEXT ON PASTEL, ESPECIALLY FOR TESTIMONIALS
   ============================== */
.testimonial-card, .testimonial-card p, .testimonial-card strong {
  color: #232742;
}

/*
   ===============
   END SASS-LIKE CSS
   ===============
*/
