/* 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, menu, 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, nav, output, ruby, section, summary,
time, mark, audio, video {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font-size: 100%;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7F8FA;
  color: #25405A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
a {
  color: #386597;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F0B85B;
  text-decoration: underline;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #25405A;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 14px;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #354A5F;
}
b, strong {
  font-weight: 700;
  color: #25405A;
}

/* Container & Section Layouts */
.container {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 28px rgba(80,120,185,0.08), 0 1.5px 8px rgba(80,120,185,0.05);
}
@media (max-width: 768px) {
  .section {
    padding: 26px 8px;
    margin-bottom: 36px;
  }
}

/* Content Wrapper/Titles */
.content-wrapper, .text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.content-wrapper ul, .text-section ul {
  margin-bottom: 12px;
  margin-top: 2px;
  font-size: 1rem;
  color: #325B74;
  line-height: 1.55;
}

.text-section {
  padding: 30px 18px;
  background: rgba(240,232,255,0.30);
  border-radius: 18px;
}

@media (max-width: 480px) {
  .content-wrapper, .text-section {
    padding: 10px 6px;
  }
}

/* Feature Icons Layout */
.feature-icons {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
  align-items: center;
}
.feature-icons img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #F5EFFF;
  box-shadow: 0 2px 8px rgba(180,161,198,0.10);
  object-fit: contain;
  padding: 4px;
}

/* Cards (Used in some extended layouts as needed) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F8F0FC;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(108, 106, 208, 0.06);
  padding: 32px 24px;
  transition: box-shadow 0.25s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 8px 30px rgba(164,140,204,0.14);
  transform: translateY(-3px) scale(1.015);
}

.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: flex-start;
    gap: 20px;
  }
}

/* Testimonial Cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #f3f8fc;
  border-left: 6px solid #B8D8F2;
  border-radius: 16px;
  padding: 20px 28px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 7px rgba(99,183,228,0.03);
  font-size: 1.08rem;
}
.testimonial-card p {
  color: #2A3C48;
  font-style: italic;
  margin-bottom: 6px;
}
.testimonial-card b {
  color: #25405A;
  font-weight: 700;
}

/* Features (for any feature list usage) */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: rgba(255,238,236,0.23);
  border-radius: 12px;
  padding: 18px 14px;
  margin-bottom: 20px;
}

/* Info text or callout */
.info-text {
  background: #FDF5E3;
  color: #60573D;
  border-radius: 13px;
  padding: 16px 14px;
  margin: 14px 0 10px 0;
}

/* Button Styles */
.cta-button, .main-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F0B85B;
  color: #25405A;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 32px;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 14px 38px;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 3px 16px rgba(234,182,96,0.13);
  transition: background 0.18s, color 0.18s, box-shadow 0.25s, transform 0.15s;
  cursor: pointer;
  letter-spacing: 0.02em;
  outline: none;
  text-decoration: none;
}
.cta-button:hover, .main-cta:hover, .cta-button:focus, .main-cta:focus {
  background: #FFDDA6;
  color: #25405A;
  box-shadow: 0 6px 28px rgba(234,182,96,0.19);
  transform: translateY(-1px) scale(1.018);
}

/* Main Navigation (Desktop) */
.main-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(252, 253, 255, 0.97);
  padding: 16px 0 12px 0;
  border-bottom: 2px solid #EEE3FC;
  position: relative;
  z-index: 20;
}
.main-navigation > a img {
  height: 44px;
  margin-left: 14px;
}
.main-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  align-items: center;
  margin-bottom: 0;
  margin-right: 10px;
}
.main-navigation ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 10px 18px;
  color: #25405A;
  font-size: 1rem;
  border-radius: 24px;
  transition: background 0.14s, color 0.14s;
}
.main-navigation ul li a:hover, .main-navigation ul li a:focus {
  background: #F6E6FF;
  color: #66449D;
  text-decoration: none;
}
.main-navigation ul li .main-cta {
  background: #F0B85B;
  color: #25405A;
  padding: 10px 26px;
  font-size: 1rem;
  font-weight: 600;
}

/* Hide mobile navigation elements on desktop */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}
@media (max-width: 1020px) {
  .main-navigation ul {
    gap: 8px;
  }
  .main-navigation > a img {
    height: 38px;
  }
}
@media (max-width: 900px) {
  .main-navigation ul {
    gap: 5px;
  }
  .main-navigation > a img {
    height: 34px;
  }
}
@media (max-width: 768px) {
  .main-navigation ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    font-size: 2.3rem;
    color: #25405A;
    background: #F0B85B;
    border-radius: 10px;
    padding: 6px 16px;
    margin-right: 18px;
    border: 2px solid #F0B85B;
    transition: background 0.16s, color 0.14s, border 0.15s;
    z-index: 300;
  }
  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:active {
    background: #FFDDA6;
    color: #856600;
  }
  .main-navigation {
    padding-bottom: 8px;
    min-height: 64px;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(254,249,242,0.97);
    z-index: 299;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(.77,0,.18,1), opacity 0.25s;
    padding-top: 16px;
    box-shadow: -6px 0 30px 0 rgba(150,120,105,0.08);
  }
  .mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
    display: flex;
  }
  .mobile-menu-close {
    font-size: 2.15rem;
    align-self: flex-end;
    margin: 6px 18px 18px 0;
    background: #F0B85B;
    color: #fff;
    border-radius: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, color 0.14s;
    border: 2px solid #F0B85B;
  }
  .mobile-menu-close:hover,
  .mobile-menu-close:focus {
    background: #FFDDA6;
    color: #856600;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-top: 12px;
    margin-bottom: 38px;
  }
  .mobile-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    font-size: 1.18rem;
    color: #25405A;
    padding: 18px 38px;
    border-radius: 18px;
    background: #FFF8EC;
    box-shadow: 0 2px 12px rgba(240,184,91,0.10);
    width: 90%;
    text-align: center;
    transition: background 0.15s, color 0.13s, box-shadow 0.18s;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    background: #FDE1A1;
    color: #665400;
    box-shadow: 0 4px 20px rgba(242,199,97,0.13);
  }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff8ec;
  color: #3D3456;
  box-shadow: 0 -2px 18px rgba(176,169,161,0.19);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9999;
  padding: 23px 24px 20px 24px;
  gap: 13px;
  font-size: 1rem;
  border-top: 1.5px solid #F0B85B;
  animation: cookieBannerIn 0.38s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  border-radius: 32px;
  padding: 10px 31px;
  transition: background 0.14s, color 0.12s;
  border: none;
  outline: none;
  cursor: pointer;
}
.cookie-accept {
  background: #94D9CA;
  color: #25405A;
}
.cookie-accept:hover,
.cookie-accept:focus {
  background: #73C3B8;
  color: #154542;
}
.cookie-reject {
  background: #F5CBD9;
  color: #7E2928;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #E9ADC4;
  color: #2D090A;
}
.cookie-settings {
  background: #DED9F7;
  color: #3D3456;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #C1BEEB;
  color: #524397;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(66,55,68,0.28);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieOverlayIn 0.28s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieOverlayIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fffefc;
  border-radius: 24px;
  box-shadow: 0 7px 66px 0 rgba(59,34,56,0.12);
  padding: 38px 28px 26px 28px;
  max-width: 394px;
  width: 90vw;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 23px;
  z-index: 10002;
  animation: cookieModalIn 0.37s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieModalIn {
  from { transform: translateY(70px) scale(0.93); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.23rem;
  color: #25405A;
  font-weight: 600;
}
.cookie-category {
  background: #F9F7FA;
  border-radius: 13px;
  padding: 14px 12px;
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}
.cookie-category .category-toggle input[type=checkbox] {
  width: 36px; height: 20px;
  appearance: none;
  outline: none;
  border-radius: 20px;
  background: #d4e3f4;
  position: relative;
  transition: background 0.15s;
}
.cookie-category .category-toggle input[type=checkbox]:checked {
  background: #F0B85B;
}
.cookie-category .category-toggle input[type=checkbox]::before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1.5px 4px rgba(70,70,70,0.09);
  transition: left 0.13s;
}
.cookie-category .category-toggle input[type=checkbox]:checked::before {
  left: 18px;
  background: #FFEDBF;
}
.cookie-category .always-on {
  font-size: 0.97rem;
  font-weight: 600;
  color: #829191;
}
.cookie-modal .modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 9px;
}
.cookie-modal .modal-buttons button {
  padding: 10px 32px;
  background: #F0B85B;
  color: #25405A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 22px;
  font-size: 1rem;
  border: none;
  transition: background 0.14s, color 0.11s;
}
.cookie-modal .modal-buttons button:hover,
.cookie-modal .modal-buttons button:focus {
  background: #FFDDA6;
  color: #856600;
}

@media (max-width: 600px) {
  .cookie-modal {
    max-width: 96%;
    padding: 26px 7px 18px 7px;
    font-size: 0.99rem;
  }
}

/* Footer */
footer {
  background: #EFF4FF;
  color: #7A7DA4;
  border-top: 2px solid #D8E0FA;
  margin-top: 60px;
  padding: 38px 0 22px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1rem;
}
.footer-nav {
  margin-bottom: 15px;
  font-size: 1.04rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.footer-nav a {
  color: #324A75;
  font-weight: 500;
  transition: color 0.15s;
  padding: 0 5px;
}
.footer-nav a:hover {
  color: #F0B85B;
}
footer img {
  height: 38px;
  margin: 8px 0 12px 0;
}
footer p {
  color: #7A7DA4;
  font-size: 1rem;
  margin-top: 6px;
}
@media (max-width: 640px) {
  footer {
    padding: 26px 0 12px 0;
    font-size: 0.97rem;
  }
  .footer-nav {
    gap: 5px;
    margin-bottom: 9px;
    font-size: 0.97rem;
  }
}

/*********
  Pastel Colors & Soft Effects
**********/
body {
  background: linear-gradient(135deg, #FAF8FE 0%, #F9FBFE 100%);
}
.section {
  background: linear-gradient(145deg, #ffffff 80%, #F8F3FA 100%);
}
.text-section {
  background: linear-gradient(115deg, #F8F3FA 60%, #F3FFF7 100%);
}
.card {
  background: linear-gradient(120deg, #F5F0FF 70%, #F1FAFB 100%);
}
.testimonial-card {
  background: linear-gradient(100deg, #f7faff 90%, #eafdff 100%);
  border-left: 7px solid #B8D8F2;
  color: #19253A;
}

/*********
  Responsive Tweaks
*********/
@media (max-width: 630px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .cta-button, .main-cta {
    font-size: 1rem;
    padding: 11px 18px;
  }
  .section {
    padding: 18px 4px;
    margin-bottom: 24px;
  }
  .testimonial-card {
    font-size: 0.99rem;
    padding: 14px 8px;
  }
}

/*********
  Visual Accent Utilities
*********/
.bg-pastel-blue   { background: #D5E8FF!important; }
.bg-pastel-yellow { background: #FFF2D7!important; }
.bg-pastel-green  { background: #D0FFF6!important; }
.bg-pastel-pink   { background: #FFF0F6!important; }
.bg-pastel-mint   { background: #F4FFF8!important; }

/*********
  Accessibility & Focus
*********/
a:focus, button:focus, .cta-button:focus {
  outline: 2px solid #F0B85B;
  outline-offset: 3px;
}

/*********
  Utility Classes (margin/padding/gap helpers)
*********/
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-20 { margin-top: 20px; }
.pt-10 { padding-top: 10px; }
.gap-20 { gap: 20px!important; }
.gap-24 { gap: 24px!important; }
.rounded-12 { border-radius: 12px!important; }

/*********
  Hide elements utilities
*********/
.hidden { display: none!important; }

/*********
  Animations & Transitions
*********/
.fade-in {
  animation: fadeIn 0.48s cubic-bezier(.77,0,.18,1) both;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

/*************
  END TierWissen Frankfurt "soft_pastel" UI CSS
**************/
