/* --- CSS RESET & NORMALIZATION --- */
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;
  background: #FCEFB4;
  font-family: 'Roboto', Arial, sans-serif;
  color: #184574;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

*, *:before, *:after {
  box-sizing: inherit;
}

a {
  color: #184574;
  text-decoration: none;
  transition: color 0.22s cubic-bezier(.6,0,.35,1);
}
a:hover, a:focus {
  color: #68B7B0;
  outline: none;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #184574;
}

h1 {
  font-size: 2.5rem; /* 40px */
  line-height: 1.15;
  margin-bottom: 16px;
}

h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 16px;
}

h3 {
  font-size: 1.35rem; /* 22px */
  margin-bottom: 12px;
}

h4 {
  font-size: 1.125rem; /* 18px */
}

p, li, label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #184574;
  margin-bottom: 8px;
}

.subheadline {
  font-size: 1.25rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #68B7B0;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

strong, b {
  font-weight: 700;
}

/* --- CONTAINER + GLOBAL LAYOUT --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #184574;
  color: #FCEFB4;
  width: 100%;
  border-bottom: 4px solid #68B7B0;
  box-shadow: 0 2px 10px 0 rgba(24,69,116,0.08);
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 0;
}
header img[alt='Dividen Peak WissenKöln'] {
  height: 48px;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 20px;
}
nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  background: none;
  padding: 8px 14px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
  color: #FCEFB4;
  font-size: 1rem;
}
nav a.cta-primary {
  background: #68B7B0;
  color: #184574;
  box-shadow: 0 2px 8px 0 rgba(24,69,116,0.07);
  font-weight: 800;
  font-size: 1.07rem;
  letter-spacing: 0.01em;
  transition: background 0.18s cubic-bezier(.75,0,.25,1), color 0.18s cubic-bezier(.75,0,.25,1);
}
nav a:hover, nav a:focus {
  background: #FCEFB4;
  color: #184574;
}
nav a.cta-primary:hover, nav a.cta-primary:focus {
  background: #F6D363;
  color: #184574;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: #68B7B0;
  color: #184574;
  font-size: 2rem;
  padding: 8px 12px;
  border-radius: 10px;
  z-index: 31;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-left: 20px;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #FCEFB4;
  color: #184574;
  box-shadow: 0 4px 16px 0 rgba(104,183,176,0.13);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #184574;
  color: #FCEFB4;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.87,.03,.26,.98);
  box-shadow: 2px 0 48px 0 rgba(24, 69, 116, 0.25);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  margin: 18px 22px 10px 0;
  background: #68B7B0;
  color: #184574;
  border-radius: 50%;
  padding: 6px 14px;
  transition: background 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #FCEFB4;
  color: #184574;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 16px;
  gap: 0;
}
.mobile-nav a {
  color: #FCEFB4;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  padding: 16px 28px;
  margin: 0 4px;
  border-radius: 14px;
  transition: background 0.16s, color 0.16s;
  width: 90vw;
  display: flex;
  align-items: center;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F6D363;
  color: #184574;
}
.mobile-nav a.cta-primary {
  background: #68B7B0;
  color: #184574;
  font-weight: 900;
}
.mobile-nav a.cta-primary:hover {
  background: #FCEFB4;
  color: #184574;
}

@media (max-width: 1024px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  header .container nav {
    display: flex;
  }
}


/* --- HERO --- */
.hero {
  width: 100%;
  background: #68B7B0;
  color: #184574;
  padding: 64px 0 48px 0;
  position: relative;
  box-shadow: 0 8px 32px 0 rgba(104,183,176,0.10);
  margin-bottom: 60px;
  animation: heroBgWave 10s infinite linear;
}
@keyframes heroBgWave {
  0% { background-color: #68B7B0; }
  50% { background-color: #FCEFB4; }
  100% { background-color: #68B7B0; }
}
.hero .container {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 640px;
}
.hero h1 {
  color: #184574;
  margin-bottom: 16px;
}
.hero .subheadline {
  color: #184574;
  opacity: 0.96;
  margin-bottom: 20px;
}

/* --- FEATURE GRID --- */
.feature_grid, .format_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 10px;
}
.feature_grid > div, .format_grid > div {
  flex: 1 1 240px;
  background: #FCEFB4;
  border-radius: 30px;
  padding: 32px 24px 28px 24px;
  box-shadow: 0 2px 22px 0 rgba(24,69,116,.051);
  transition: transform 0.17s, box-shadow 0.18s;
  text-align: left;
  position: relative;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  border: 3px solid #68B7B0;
  cursor: pointer;
}
.feature_grid > div:hover, .format_grid > div:hover {
  transform: translateY(-5px) scale(1.04) rotate(-2deg);
  box-shadow: 0 8px 36px 0 rgba(104,183,176,0.14);
  background: #FFFEE1;
}
.feature_grid img, .format_grid img {
  height: 50px;
  width: 50px;
  margin-bottom: 16px;
  margin-top: 0;
  animation: popIn 1.4s cubic-bezier(.23,1.01,.31,1.15) both;
}
@keyframes popIn {
  from { transform: scale(0.7) rotate(-30deg); opacity: 0; }
  60% { transform: scale(1.15) rotate(7deg); opacity: 1; }
  80% { transform: scale(0.98) rotate(-2deg); }
  to { transform: scale(1) rotate(0deg); }
}

/* Service/Pricing Cards */
.service_list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service_list > div {
  flex: 1 1 265px;
  background: #ffffff;
  border-radius: 22px;
  margin-bottom: 20px;
  padding: 24px 20px 22px 20px;
  border: 2px dashed #68B7B0;
  box-shadow: 0 3px 14px 0 rgba(24,69,116,0.055);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.16s, border 0.17s, transform 0.17s;
}
.service_list > div strong {
  margin-bottom: 8px;
  color: #184574;
  font-weight: 800;
  font-size: 1.08rem;
}
.service_list > div a {
  margin-top: 8px;
  background: #68B7B0;
  color: #184574;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  padding: 9px 24px;
  border-radius: 22px;
  font-size: 1rem;
  display: inline-block;
  transition: background 0.18s, color 0.16s;
}
.service_list > div a:hover,
.service_list > div a:focus {
  background: #F6D363;
  color: #184574;
}
.service_list > div:hover {
  border: 2px solid #184574;
  box-shadow: 0 8px 30px 0 rgba(104,183,176,0.12);
  transform: scale(1.04) rotate(0.5deg);
}

/* --- TESTIMONIALS --- */
.testimonial_slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 20px 18px 20px;
  background: #fff;
  border-radius: 18px;
  border: 2px solid #68B7B0;
  box-shadow: 0 4px 30px 0 rgba(24,69,116,0.08);
  min-width: 230px;
  flex: 1 1 290px;
  margin-bottom: 20px;
  transition: border-color 0.2s, box-shadow 0.19s;
  position: relative;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #184574;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #184574;
  font-weight: 700;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  margin-top: 8px;
}
.testimonial-card:before {
  content: "\201C";
  position: absolute;
  top: 10px;
  left: 18px;
  font-size: 2.1rem;
  color: #68B7B0;
  opacity: 0.33;
  pointer-events: none;
}
.testimonial-card:hover {
  border-color: #184574;
  box-shadow: 0 6px 36px 0 rgba(104,183,176,0.13);
}

/* --- ICON EXPLAINERS --- */
.icon_expl {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  background: #68B7B0;
  color: #184574;
  padding: 7px 18px 7px 10px;
  border-radius: 15px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 1px 4px 0 rgba(24,69,116,0.056);
}
.icon_expl img {
  height: 26px;
  width: 26px;
  margin: 0 3px 0 0;
  flex-shrink: 0;
}

/* --- CONTACT DETAILS --- */
.contact-details {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-details > div {
  min-width: 230px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #FCEFB4;
  box-shadow: 0 1px 8px 0 rgba(24,69,116,0.05);
  border: 2px solid #68B7B0;
}
.contact-details a {
  color: #184574;
  text-decoration: underline;
  font-weight: 500;
}

.map {
  padding: 12px;
  background: white;
  border-radius: 9px;
  box-shadow: 0 0 10px 0 rgba(24,69,116,0.08);
  display: flex;
  align-items: center;
  min-width: 200px;
}

/* --- THANK YOU PAGE / CALLOUT --- */
.thank_you_message {
  background: #FCEFB4;
  border-radius: 18px;
  padding: 32px 26px 20px 26px;
  margin-top: 24px;
  box-shadow: 0 2px 16px 0 rgba(104,183,176,0.11);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* --- BLOG SECTION --- */
.blog_highlights, .blog_section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 28px;
}

/* --- FOOTER --- */
footer {
  background: #184574;
  color: #FCEFB4;
  border-top: 4px solid #68B7B0;
  padding: 36px 0 20px 0;
  margin-top: 70px;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.brand_info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  width: 280px;
}
.brand_info img {
  height: 55px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #FCEFB4;
  font-size: 1rem;
  font-weight: 500;
  padding: 5px 0 5px 0;
  border-radius: 10px;
  transition: background 0.13s, color 0.13s;
}
footer nav a:hover {
  background: #68B7B0;
  color: #184574;
}
.social_links {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.social_links a {
  display: flex;
  align-items: center;
  background: #68B7B0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  justify-content: center;
  transition: background 0.15s;
}
.social_links a:hover {
  background: #FCEFB4;
}
.social_links img {
  width: 22px;
  height: 22px;
}

/* --- BUTTONS & CTA --- */
.cta-primary {
  background: #68B7B0;
  color: #184574 !important;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  padding: 13px 32px;
  border-radius: 22px;
  text-align: center;
  letter-spacing: 0.02em;
  margin-top: 6px;
  margin-bottom: 6px;
  box-shadow: 0 2px 12px 0 rgba(24,69,116,0.09);
  transition: background 0.16s, color 0.16s, transform 0.17s;
  display: inline-block;
  outline: none;
  border: none;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: #FCEFB4 !important;
  color: #184574 !important;
  transform: scale(1.05) rotate(-1deg);
}

/* --- SPACING/GRID ALIGNMENT UTILITY CLASSES --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 10px 0 rgba(24,69,116,0.10);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: #184574;
  color: #FCEFB4;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 30px;
  border-top: 5px solid #68B7B0;
  box-shadow: 0 -6px 24px 0 rgba(104,183,176,0.17);
  font-size: 1rem;
  gap: 20px;
  animation: cookieIn 0.45s cubic-bezier(.78,-0.2,.13,1.18);
}
@keyframes cookieIn {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #FCEFB4;
  margin: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  background: #68B7B0;
  color: #184574;
  padding: 8px 18px;
  border-radius: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0 0;
  box-shadow: 0 1px 6px 0 rgba(104,183,176,0.10);
  transition: background 0.15s, color 0.14s, transform 0.14s;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #FCEFB4;
  color: #184574;
  transform: scale(1.03) rotate(-1.5deg);
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: #184574;
  border: 2px solid #68B7B0;
  margin-left: 6px;
  margin-right: 0;
}
.cookie-banner .cookie-settings:hover {
  background: #68B7B0;
  color: #fff;
}

/* --- COOKIE CONSENT MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 901;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(24,69,116,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.22s cubic-bezier(.65,0,.25,1);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #184574;
  border-radius: 18px;
  max-width: 430px;
  width: 90vw;
  padding: 28px 30px 24px 30px;
  box-shadow: 0 6px 32px 0 rgba(104,183,176,0.18);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalPop 0.27s cubic-bezier(.78,-0.2,.13,1.18);
}
@keyframes modalPop {
  from { transform: scale(0.80) translateY(24px); opacity: 0; }
  80% { transform: scale(1.05); }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #184574;
  margin-bottom: 10px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: #68B7B0;
  color: #184574;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.25rem;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s;
}
.cookie-modal .modal-close:hover {
  background: #FCEFB4;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  padding: 8px 0 4px 0;
}
.cookie-option label {
  font-weight: 600;
}
.cookie-option input[type=checkbox] {
  width: 20px;
  height: 20px;
  margin-right: 7px;
  accent-color: #68B7B0;
}
.cookie-option input[type=checkbox]:disabled {
  accent-color: #184574;
  opacity: 0.5;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
.cookie-modal .modal-actions button {
  background: #68B7B0;
  color: #184574;
  padding: 8px 20px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.13s;
}
.cookie-modal .modal-actions button:hover {
  background: #FCEFB4;
  color: #184574;
}

/* --- RESPONSIVE - MOBILE-FIRST --- */
@media (max-width: 1024px) {
  .container {
    padding: 0 8px;
    max-width: 98vw;
  }
  .feature_grid > div, .format_grid > div, .service_list > div, .testimonial-card, .card {
    min-width: 95vw;
    flex: 1 1 98vw;
  }
}
@media (max-width: 900px) {
  .footer .container,
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
}
@media (max-width: 800px) {
  .feature_grid, .service_list, .format_grid, .testimonial_slider, .card-container, .content-grid, .blog_highlights, .blog_section {
    flex-direction: column;
    gap: 20px;
  }
  .hero .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .contact-details {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 640px) {
  .container {
    padding: 0 4px;
    max-width: 100vw;
  }
  .hero {
    padding: 44px 0 30px 0;
  }
  h1 {
    font-size: 1.45rem;
    margin-bottom: 9px;
  }
  h2 {
    font-size: 1.13rem;
    margin-bottom: 7px;
  }
  .section {
    padding: 20px 0;
    margin-bottom: 34px;
  }
}
@media (max-width: 490px) {
  .cta-primary {
    font-size: 1rem;
    padding: 10px 12px;
    border-radius: 15px;
  }
  .footer .container,
  footer .container,
  .content-wrapper {
    padding: 0;
    gap: 14px;
  }
}

/* --- PLAYFUL DECORATIVE ANIMATIONS/ELEMENTS --- */
.feature_grid > div:after, .format_grid > div:after {
  content: "";
  display: block;
  position: absolute;
  bottom: -15px;
  right: 28px;
  width: 35px;
  height: 22px;
  background: url('../assets/icons/confetti.svg') no-repeat center center / contain;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
  animation: confettiDrift 5s infinite linear alternate;
}
@keyframes confettiDrift {
  from { transform: translateY(0) rotate(0deg); }
  to { transform: translateY(-5px) rotate(5deg); }
}

/* --- UTILITY CLASSES --- */
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-40 { margin-top: 40px !important; }
.mb-40 { margin-bottom: 40px !important; }

/* --- SELECTION COLOR --- */
::selection {
  background: #68B7B0;
  color: #184574;
}

/* --- FUN FONTS for Playful Dynamic style --- */
body, p, li, .section, .contact-details, .map {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
h1, h2, h3, .cta-primary, nav a, .mobile-nav a, .icon_expl {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

/* --- END OF STYLE --- */
