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

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F6FA;
  color: #243B53;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
a {
  color: #243B53;
  text-decoration: none;
  background-color: transparent;
  transition: color 0.2s;
}
a:focus,
a:hover {
  color: #DAA520;
}
ul, ol {
  list-style: none;
}
img {
  border: none;
  max-width: 100%;
  height: auto;
  display: block;
}

/* =======================
   TYPOGRAPHY SCALE
   ======================= */
h1 {
  font-size: 2.5rem; /* 40px */
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 700;
  color: #243B53;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
h2 {
  font-size: 2rem;  /* 32px */
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 600;
  color: #243B53;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem; /* 24px */
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 500;
  color: #243B53;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-family: 'Montserrat', 'Georgia', serif;
  color: #243B53;
}
p, li, td, th {
  font-family: 'Open Sans', 'Times New Roman', Times, serif;
  font-size: 1rem; /* 16px */
  color: #243B53;
  line-height: 1.7;
}
p {
  margin-bottom: 16px;
}
blockquote {
  border-left: 4px solid #DAA520;
  background: #FCFBF8;
  padding: 16px 24px;
  color: #243B53;
  font-style: italic;
  margin: 24px 0;
  border-radius: 8px;
}
small, .small-print {
  font-size: 0.92rem;
  color: #7A848F;
}
strong {
  font-weight: 700;
}

/* =======================
   GENERAL SPACING & CONTAINER
   ======================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
}

/* Accent background block for sections */
.accent-bg {
  background: #FCFBF8;
  border-radius: 16px;
}

/* =======================
   HEADER & NAVIGATION
   ======================= */
header {
  background: #fff;
  border-bottom: 1px solid #ececec;
  padding: 0;
  box-shadow: 0 1px 10px rgba(36,59,83,0.04);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.logo-link img {
  height: 50px;
  width: auto;
}

.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  position: relative;
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1rem;
  font-weight: 500;
  color: #243B53;
  padding: 6px 0;
  transition: color 0.2s;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #DAA520;
  transition: width 0.3s;
  margin-top: 2px;
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}
.main-nav .cta-primary {
  margin-left: 16px;
  padding: 10px 26px;
  border-radius: 24px;
  background: #DAA520;
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 4px 22px rgba(218,165,32,0.05);
  border: none;
  transition: background 0.2s, box-shadow 0.2s;
  letter-spacing: 0.03em;
}
.main-nav .cta-primary:hover, 
.main-nav .cta-primary:focus {
  background: #c29815;
  color: #fff;
  box-shadow: 0 2px 16px rgba(218,165,32,0.10);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #243B53;
  cursor: pointer;
  margin-left: 24px;
  transition: color 0.3s;
}
.mobile-menu-toggle:hover {
  color: #DAA520;
}

/* =======================
   MOBILE MENU
   ======================= */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 0;
  background: rgba(36, 59, 83, 0.96);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.45,0,0.55,1);
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  color: #fff;
  border: none;
  align-self: flex-end;
  margin: 24px 24px 12px 0;
  cursor: pointer;
  z-index: 4;
  transition: color 0.2s;
}
.mobile-menu-close:hover {
  color: #DAA520;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 40px 0 0 40px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', 'Georgia', serif;
  padding: 12px 0;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(218,165,32,0.20);
  color: #DAA520;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .main-nav a {
    font-size: 0.97rem;
  }
  .logo-link img { height: 40px; }
}
@media (max-width: 850px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =======================
   HERO SECTION
   ======================= */
.hero {
  background: #243B53;
  color: #fff;
  padding: 54px 0 54px 0;
  margin-bottom: 60px;
}
.hero h1 {
  color: #fff;
  margin-bottom: 16px;
}
.hero p {
  color: #e9eaf0;
  margin-bottom: 28px;
  font-size: 1.13rem;
  max-width: 520px;
}
.hero .cta-primary {
  background: #DAA520;
  color: #fff;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  padding: 14px 36px;
  border-radius: 40px;
  box-shadow: 0 6px 32px rgba(218,165,32,0.08);
  border: none;
  font-weight: 600;
  transition: background 0.18s, box-shadow 0.2s, transform 0.13s;
  will-change: background, box-shadow, transform;
}
.hero .cta-primary:hover,
.hero .cta-primary:focus {
  background: #bc9018;
  color: #fff;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 36px rgba(218,165,32,0.15);
}

/* =======================
   CTA BUTTONS (GLOBAL)
   ======================= */
.cta-primary {
  display: inline-block;
  background: #DAA520;
  color: #fff !important;
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 22px rgba(218,165,32, 0.06);
  transition: background 0.2s, box-shadow 0.18s, transform 0.15s;
  text-align: center;
}
.cta-primary:hover, .cta-primary:focus {
  background: #bc9018;
  color: #fff !important;
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 8px 32px rgba(218,165,32,0.10);
}
.cta-secondary {
  display: inline-block;
  background: none;
  color: #DAA520 !important;
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 22px;
  border: 1.5px solid #DAA520;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, border-color 0.19s;
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: #DAA520;
  color: #fff !important;
  border-color: #bc9018;
}

/* =========================
   CARD & FLEX LAYOUTS
   ========================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 12px rgba(36,59,83,0.06);
  padding: 28px 26px;
  transition: box-shadow 0.15s, transform 0.14s;
  position: relative;
}
.card:hover, .card:focus {
  box-shadow: 0 7px 30px rgba(36,59,83,0.11);
  transform: translateY(-2px) 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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(218,165,32, 0.09);
  padding: 24px 30px;
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 360px;
  border: 1px solid #eceae2;
  transition: box-shadow 0.17s, transform 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 48px rgba(218,165,32,0.14);
  transform: translateY(-2px) scale(1.02);
}
.testimonial-card p {
  color: #243B53;
  font-size: 1.07rem;
}
.testimonial-name {
  color: #7A848F;
  font-style: italic;
  font-size: 1rem;
  margin-top: -6px;
}
.star-rating {
  color: #DAA520;
  font-size: 1.12rem;
  font-family: 'Montserrat', 'Georgia', serif;
  margin-bottom: 2px;
  letter-spacing: 2px;
}

/* Group testimonial cards in flex slider */
.testimonial-slider {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 16px;
}

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

/* =====================
   FEATURE GRID
   ===================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 12px;
}
.feature-grid > div {
  background: #fff;
  border: 1px solid #eceae2;
  border-radius: 12px;
  box-shadow: 0 1px 9px rgba(36,59,83,0.06);
  padding: 32px 24px 28px 24px;
  min-width: 220px;
  flex: 1 0 250px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow 0.19s, transform 0.16s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 36px rgba(218,165,32,0.11);
  transform: translateY(-2px) scale(1.01);
}
.feature-grid img {
  height: 38px;
  width: auto;
  margin-bottom: 6px;
}

/* =====================
   ABOUT, VALUES, LEGAL TEXTS, ETC.
   ===================== */
.text-section, .legal .text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section ul, .legal .text-section ul {
  list-style-position: inside;
  margin-left: 0;
  gap: 7px;
}
.text-section li, .legal .text-section li {
  margin-bottom: 7px;
  padding-left: 0;
  font-size: 1rem;
}
.text-section img {
  vertical-align: middle;
  margin-right: 10px;
  display: inline-block;
  height: 24px;
  width: 24px;
}


/* =====================
   ACCENT LISTS & TABLES
   ===================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  font-family: 'Open Sans', 'Times New Roman', Times, serif;
}
th, td {
  border: 1px solid #eceae2;
  padding: 12px 18px;
  text-align: left;
  font-size: 1.01rem;
}
th {
  background: #FCFBF8;
  font-weight: 650;
}
tr:nth-child(even) td {
  background: #FAF9F5;
}
tr:hover td {
  background: #f2e6c1;
}


/* =====================
   FOOTER
   ===================== */
footer {
  background: #fff;
  border-top: 1px solid #ececec;
  padding: 38px 0 20px 0;
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.brand-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  min-width: 200px;
}
.brand-info img {
  height: 32px;
  width: auto;
  margin-bottom: 3px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.footer-nav a {
  color: #5B6B7A;
  font-size: 1rem;
  font-family: 'Montserrat', 'Georgia', serif;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #DAA520;
}
.impressum {
  color: #7A848F;
  font-size: 0.98rem;
  align-self: flex-end;
  padding-top: 10px;
}
.impressum a {
  color: #7A848F;
}
.impressum a:hover {
  color: #DAA520;
}

/* =======================
   COOKIE CONSENT BANNER
   ======================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #fff7ec;
  color: #243B53;
  border-top: 2px solid #DAA520;
  box-shadow: 0 -2px 14px rgba(36,59,83,0.07);
  z-index: 1205;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.32s cubic-bezier(.45,0,.58,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner-text {
  font-size: 1.08rem;
  text-align: center;
  color: #574c33;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-btn {
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 9px 22px;
  border-radius: 24px;
  background: #DAA520;
  color: #fff;
  border: none;
  cursor: pointer;
  margin: 0 3px;
  transition: background 0.18s, color 0.15s, transform 0.13s;
}
.cookie-btn.secondary {
  background: none;
  color: #DAA520;
  border: 1.5px solid #DAA520;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #c29815;
  color: #fff;
  transform: scale(1.05);
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #DAA520; color:#fff;
}

/* == COOKIE PREFERENCES POPUP == */
.cookie-modal-bg {
  position: fixed;
  inset: 0 0 0 0;
  background: rgba(36,59,83,0.34);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.34s;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px 28px 32px;
  min-width: 320px;
  max-width: 94vw;
  box-shadow: 0 8px 64px rgba(36,59,83,0.17);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  position: relative;
  animation: popup-modal-in 0.45s cubic-bezier(.37,1.4,.6,.91);
}
@keyframes popup-modal-in {
  from { transform: translateY(50px) scale(0.93); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #243B53;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover {
  color: #DAA520;
}
.cookie-modal h2 {
  font-size: 1.55rem;
  color: #243B53;
  margin-bottom: 7px;
}
.cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.cookie-modal li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  font-size: 1.04rem;
}
.cookie-switch {
  width: 44px;
  height: 22px;
  border-radius: 14px;
  background: #eceae2;
  position: relative;
  margin-right: 5px;
  flex: 0 0 44px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  background: #DAA520;
  border-radius: 50%;
  transition: left 0.18s;
}
.cookie-switch input:checked + .cookie-slider {
  left: 25px;
  background: #DAA520;
}
.cookie-switch[aria-disabled="true"] {
  opacity: 0.58;
  pointer-events: none;
}
.cookie-modal-btns {
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  gap: 18px;
}

/* ============================
   MISC. ELEMENTS & UTILITIES
   ============================ */
blockquote {
  font-size: 1.08rem;
  border-left: 4px solid #DAA520;
  background: #FCFBF8;
}

/* Pricing tables, FAQ lists, Legal text sections */
.pricing, .faq, .legal, .confirmation {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(36,59,83,0.05);
  margin-bottom: 60px;
  padding: 40px 32px;
}
.pricing table {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 7px rgba(218,165,32, 0.04);
}

/* Confirmation (thank-you) styles */
.confirmation {
  text-align: center;
  align-items: center;
  justify-content: center;
}
.confirmation h1 {
  margin-bottom: 18px;
}
.confirmation p {
  margin-bottom: 24px;
  font-size: 1.1rem;
}

/* FAQ questions */
.faq h2 {
  margin-top: 22px;
  margin-bottom: 10px;
  color: #243B53;
  font-size: 1.13rem;
}

/* Emphasized accent sections for snippets */
.accent-bg {
  background: #FCFBF8;
  border-radius: 16px;
  box-shadow: 0 1.5px 12px rgba(218,165,32,0.03);
  margin-bottom: 48px;
}

/***********************
  Responsive Design
***********************/
@media (max-width: 1100px) {
  .container { max-width: 94vw; }
  .footer-nav { flex-wrap: wrap; }
}
@media (max-width: 900px) {
  .container, .footer .container { padding: 0 18px; }
  .footer-nav { gap: 13px; }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.18rem; }
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    padding: 22px 14px 20px 18px;
  }
  .content-wrapper, .card-container, .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .footer-nav { flex-direction: column; align-items: flex-start; gap:13px;}
  .footer .container { flex-direction: column; gap: 15px; }
  .section {
    padding: 32px 6px;
  }
  .pricing, .faq, .legal, .confirmation {
    padding: 30px 8px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.39rem; }
  h2 { font-size: 1.12rem; }
  .section, .pricing, .faq, .legal, .confirmation { padding: 18px 2px; }
  .cookie-modal { padding: 20px 7px 14px 7px; min-width: 0; }
}

/* Flex direction change for text-image sections */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/***********************
  Utility classes
***********************/
.text-center { text-align: center; }
.pt-24 { padding-top: 24px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-40 { margin-top: 40px !important; }

/* Hide visually but keep for screenreaders */
.sr-only { position: absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ===============
   END OF CSS
   =============== */
