/* ===================================================================== */
/* 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 {
  line-height: 1.6;
  background: #F8F8F3;
  color: #18426B;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  border-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}

a:focus {
  outline: 2px dashed #EACB76;
  outline-offset: 2px;
}

ul, ol {
  padding-left: 1.2em;
  margin-bottom: 18px;
}

li {
  margin-bottom: 10px;
}

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

/* ===================================================================== */
/* Typography                                                           */
/* ===================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  color: #18426B;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

h1 {
  font-size: 2.7rem;
  margin-bottom: 22px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

h4, h5, h6 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

p, ul, ol {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #18426B;
  margin-bottom: 16px;
  line-height: 1.7;
}

strong {
  font-weight: 700;
}

.subheadline {
  color: #EACB76;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 22px;
  text-shadow: 0 2px 12px rgba(232,64,128,0.13);
}

.cta-btn {
  display: inline-block;
  box-shadow: 0 4px 18px rgba(24,66,107,0.10), 0 2px 8px rgba(234,203,118,0.11);
  background: #18426B;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 18px 38px;
  border-radius: 32px;
  border: none;
  letter-spacing: 0.01em;
  margin-top: 12px;
  margin-bottom: 10px;
  transition: background 0.19s, color 0.18s, box-shadow 0.19s, transform 0.17s;
  text-shadow: 0 2px 8px rgba(24,66,107,0.11);
  cursor: pointer;
}

.cta-btn:hover, .cta-btn:focus {
  background: #EACB76;
  color: #18426B;
  transform: scale(1.045);
  box-shadow: 0 3px 14px #EACB76, 0 1px 6px #18426B33;
  outline: none;
}

/* ===================================================================== */
/* Layout containers                                                     */
/* ===================================================================== */

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(24,66,107,0.09);
  transition: box-shadow 0.19s, transform 0.15s;
  overflow: hidden;
}

.card:hover {
  box-shadow: 0 8px 32px #EACB76cc, 0 2px 10px #18426B33;
  transform: translateY(-7px) scale(1.02);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.feature-grid, .info-grid, .blog-post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}

.feature-grid > div, .info-grid > div, .blog-post-grid > div {
  flex: 1 1 260px;
  min-width: 240px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px #EACB7618;
  padding: 32px 20px 23px 20px;
  margin-bottom: 18px;
  transition: box-shadow 0.2s, transform 0.16s;
  position: relative;
  text-align: left;
}

.feature-grid img, .info-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  filter: drop-shadow(0 2px 6px #EACB7680);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px 22px 28px;
  background: #fff;
  border-radius: 18px;
  min-width: 240px;
  flex: 1 1 280px;
  box-shadow: 0 4px 26px #EACB7628, 0 1.5px 10px #18426B20;
  margin-bottom: 20px;
  border-left: 5px solid #EACB76;
  transition: box-shadow 0.18s, border-left 0.19s, transform 0.15s;
  position: relative;
}

.testimonial-card:hover {
  box-shadow: 0 8px 34px #18426B17;
  border-left: 5px solid #18426B;
  transform: translateY(-3px) scale(1.018);
}

.testimonial-name {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #18426B;
  font-weight: 700;
  margin-top: 4px;
}

.cta-section {
  background: #18426B;
  color: #fff;
  border-radius: 24px;
  margin-top: 40px;
  margin-bottom: 60px;
  box-shadow: 0 6px 36px #18426B11, 0 2px 10px #EACB7612;
}

.cta-section h2, .cta-section p {
  color: #fff;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-entry {
  padding: 26px 20px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1.5px 10px #EACB7656;
  transition: box-shadow 0.2s, transform 0.14s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-entry a {
  color: #18426B;
  font-weight: 700;
  margin-top: 10px;
  width: fit-content;
  border-bottom: 2px solid #EACB76;
  transition: color 0.17s, border-bottom 0.15s;
}

.blog-entry a:hover {
  color: #EACB76;
  border-bottom: 2px solid #18426B;
}

.blog-categories {
  margin-top: 18px;
}

.blog-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 9px;
  list-style: none;
}

.blog-categories li {
  background: #EACB76;
  color: #18426B;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 13px;
  font-size: 1rem;
}

.resource-list li, .service-list li {
  background: #fffce3;
  color: #18426B;
  margin-bottom: 12px;
  border-radius: 9px;
  padding: 10px 17px;
  box-shadow: 0 2px 6px #EACB7630;
}

.tool-overview, .ebook-previews, .how-it-works, .pro-tips, .success-factors, .support-info, .data-protection-info, .user-rights-info, .opt-out-instructions, .terms-text, .address-info, .opening-hours, .map {
  margin-top: 14px;
  margin-bottom: 18px;
}

/* Feature item pattern */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Address, contact, and utility */
.address-info ul, .footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: flex-start;
}

.address-info li, .footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 4px;
}

.opening-hours {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  font-weight: 700;
  color: #18426B;
  font-size: 1.05rem;
}

.footer-brand img {
  width: 34px;
  height: 34px;
}

.map {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 10px;
}

/* ===================================================================== */
/* Header & Navigation                                                   */
/* ===================================================================== */

header {
  background: #fff;
  box-shadow: 0 2px 12px #18426B13;
  padding: 0;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1020;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 30px;
  padding: 0 18px;
}

.logo img {
  height: 42px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 2;
}

.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  color: #18426B;
  border-bottom: 2px solid transparent;
  border-radius: 7px;
  padding: 6px 12px 8px 12px;
  transition: color 0.18s, border-bottom 0.16s, background 0.17s;
  background: none;
}

.main-nav a:not(.cta-btn):hover, .main-nav a:not(.cta-btn):focus {
  color: #fff;
  background: #18426B;
  border-bottom: 2px solid #EACB76;
}

.main-nav a.cta-btn {
  margin-left: 10px;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #18426B;
  background: #EACB76;
  border-radius: 14px;
  padding: 5px 16px;
  margin-left: 14px;
  z-index: 1300;
  box-shadow: 0 2px 8px #EACB7654;
  transition: background 0.17s, color 0.15s, transform 0.18s;
}

.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #18426B;
  color: #fff;
  transform: scale(1.07);
  outline: none;
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #18426B;
  z-index: 2050;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
  transition: transform 0.33s cubic-bezier(.7,.12,.34,1.28), opacity 0.2s;
  opacity: 0;
  transform: translateX(-100%);
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu-close {
  align-self: flex-end;
  margin: 28px 22px 12px 0;
  font-size: 2.3rem;
  background: none;
  color: #EACB76;
  border-radius: 10px;
  transition: color 0.19s, background 0.17s, transform 0.16s;
  padding: 2px 8px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  background: #EACB76;
  outline: none;
  transform: scale(1.09);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 34px;
  width: 90vw;
  padding-left: 26px;
}

.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 13px 0 10px 0;
  border-radius: 18px;
  width: fit-content;
  transition: background 0.17s, color 0.17s;
}

.mobile-nav a:hover, .mobile-nav a:focus {
  color: #18426B;
  background: #EACB76;
  padding-left: 14px;
}

/* ===================================================================== */
/* Hero Section                                                          */
/* ===================================================================== */

.hero {
  background: linear-gradient(90deg, #EACB76 5%, #F8F8F3 80%);
  border-radius: 0 0 50px 50px;
  box-shadow: 0 6px 40px #EACB761d;
  padding-top: 64px;
  padding-bottom: 52px;
  margin-bottom: 54px;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  color: #18426B;
  font-size: 2.9rem;
  font-weight: 900;
  text-shadow: 0 2px 14px #e9cb768F;
}

.hero .cta-btn {
  margin-top: 26px;
  font-size: 1.21rem;
}

/* ===================================================================== */
/* Footer                                                                */
/* ===================================================================== */

footer {
  background: #18426B;
  color: #fff;
  padding: 32px 0 12px 0;
  border-radius: 60px 60px 0 0;
  margin-top: 50px;
}

footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  margin-bottom: 8px;
}

.footer-nav a {
  color: #EACB76;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 2.5px solid transparent;
  transition: border-color 0.17s, color 0.14s;
  padding: 2px 4px 4px 2px;
  border-radius: 5px;
}

.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  border-bottom: 2.5px solid #fff;
  background: #EACB76;
}

.footer-contact {
  font-size: 1.02rem;
  color: #fff;
}

.footer-brand {
  margin-bottom: 6px;
}

/* ===================================================================== */
/* Responsive Layouts (Mobile First Approach)                            */
/* ===================================================================== */

@media (max-width: 1060px) {
  .feature-grid > div, .info-grid > div, .blog-post-grid > div, .testimonial-card {
    min-width: 180px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .info-grid, .blog-post-grid, .testimonial-slider, .testimonial-list {
    gap: 16px;
  }
  .content-grid {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 7vw;
  }
  .section {
    padding: 28px 6vw;
    margin-bottom: 36px;
  }
  .hero {
    padding-top: 38px;
    padding-bottom: 32px;
    margin-bottom: 28px;
  }
  .feature-grid, .info-grid, .blog-post-grid, .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div, .info-grid > div, .blog-post-grid > div, .testimonial-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .card {
    min-width: 0;
    width: 100%;
    margin-bottom: 16px;
  }
  .footer-nav, .footer-contact {
    flex-direction: column;
    gap: 10px;
  }

}
@media (max-width: 480px) {
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .cta-btn, .mobile-nav a, .main-nav a {
    font-size: 1.05rem;
    padding: 12px 15px;
  }
  .footer-brand img {
    width: 24px;
    height: 24px;
  }
  .hero {
    border-radius: 0 0 28px 28px;
  }
}

/* ===================================================================== */
/* Cookie Consent Banner + Preferences Modal                             */
/* ===================================================================== */

.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #18426B;
  color: #fff;
  z-index: 5010;
  box-shadow: 0 -6px 20px #18426B44;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 24px 56px 24px 30px;
  animation: slideUpCookie 0.45s cubic-bezier(.75,.08,.51,1.17);
}
@keyframes slideUpCookie {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.cookie-consent-banner p {
  color: #fff;
  font-size: 1rem;
  margin: 0 20px 0 0;
  flex: 2 1 280px;
}

.cookie-btn-group {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.cookie-btn {
  background: #EACB76;
  color: #18426B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: 18px;
  padding: 10px 22px;
  border: none;
  margin: 0;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, transform 0.14s;
  box-shadow: 0 1.5px 8px #18426B28;
}

.cookie-btn.accept {
  background: #18426B;
  color: #fff;
  border: 2px solid #EACB76;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #EACB76;
  color: #18426B;
  transform: scale(1.06);
}
.cookie-btn.settings {
  background: #EACB76;
  color: #18426B;
  border: 2px solid #18426B;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #fff;
  color: #18426B;
  transform: scale(1.05);
}
.cookie-btn.reject {
  background: #fff;
  color: #18426B;
  border: 2px solid #EACB76;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #18426B;
  color: #fff;
  transform: scale(1.05);
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 5100;
  background: rgba(24,66,107,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.28s cubic-bezier(.31,.54,.73,1.41);
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #18426B;
  border-radius: 25px;
  min-width: 330px;
  max-width: 92vw;
  box-shadow: 0 10px 44px #EACB7699, 0 2px 12px #18426B28;
  padding: 36px 32px 26px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: popInCookieModal 0.28s cubic-bezier(.6,.2,.39,1.12);
}
@keyframes popInCookieModal {
  from { transform: scale(0.92) translateY(50px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

.cookie-modal h2 {
  font-size: 1.47rem;
  margin-bottom: 8px;
}

.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
}

.cookie-switch {
  position: relative;
  width: 40px;
  height: 24px;
}
.cookie-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  background: #EACB76;
  border-radius: 18px;
  inset: 0;
  transition: background 0.16s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #18426B;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  height: 19px; width: 19px;
  left: 2.5px; bottom: 2.5px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.16s;
  box-shadow: 0 1.5px 5px #18426B1c;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-category label {
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.cookie-modal-close {
  position: absolute;
  top: 22px; right: 24px;
  font-size: 1.8rem;
  color: #18426B;
  background: none;
  border: none;
  cursor: pointer;
  padding: 3px 8px;
  border-radius: 7px;
  transition: background 0.13s, color 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #EACB76;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    padding: 18px 12px;
    gap: 11px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }
  .cookie-modal {
    min-width: 0;
    padding: 22px 10px 24px 10px;
    border-radius: 15px;
  }
  .cookie-modal-close {
    top: 10px; right: 10px;
  }
}

/* ===================================================================== */
/* Vibrant/Energetic Details & Effects                                   */
/* ===================================================================== */

::-webkit-scrollbar {
  width: 10px;
  background: #fff;
}
::-webkit-scrollbar-thumb {
  background: #EACB76;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #18426B;
}

/* Electric Focus Rings for interactive elem on brand accent */
.cta-btn:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 3px solid #EACB76;
  outline-offset: 1.5px;
}

/* Subtle card hover color flicker for vibrancy */
.card, .feature-grid > div, .info-grid > div, .blog-entry {
  transition: box-shadow 0.17s, transform 0.13s, background 0.18s;
}
.card:hover, .feature-grid > div:hover, .info-grid > div:hover, .blog-entry:hover {
  background: #FFFDDF;
  box-shadow: 0 6px 28px #EACB76aa, 0 2px 10px #18426B18;
}

/* Section separation bar, energetic accent top border for clear break */
.section:not(:first-of-type) {
  border-top: 5px solid #EACB76;
  box-shadow: 0 -3px 24px #18426B08;
}

/* Colorful underline for headings */
h2 {
  border-bottom: 3.5px solid #EACB76;
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 16px;
}

/* Buttons micro-interaction (pop/bounce feel) */
.cta-btn:active, .cookie-btn:active, .mobile-menu-toggle:active {
  transform: scale(0.97);
}

/* Text selection vibrant highlight */
::selection {
  background: #EACB76;
  color: #18426B;
}

/* Additional energetic details */
hr {
  border: none;
  border-top: 3px dashed #EACB76;
  margin: 30px 0;
}

/* ===================================================================== */
/* Utility classes                                                       */
/* ===================================================================== */
.mt-0 {margin-top: 0 !important;}
.mt-2 {margin-top: 2px !important;}
.mt-4 {margin-top: 4px !important;}
.mt-8 {margin-top: 8px !important;}
.mt-12 {margin-top: 12px !important;}
.mt-20 {margin-top: 20px !important;}
.mb-0 {margin-bottom: 0 !important;}
.mb-12 {margin-bottom: 12px !important;}
.mb-22 {margin-bottom: 22px !important;}
.pb-20 {padding-bottom: 20px !important;}

/* ===================================================================== */
/* Hide/show helpers for scripts */
.hidden {display: none !important;}

/* ===================================================================== */
/* END STYLE.CSS                                                         */
/* ===================================================================== */