/* ============================================================================
   Novatrix Structure – Elegant Classic CSS Theme
   Author: Professional CSS/UI Specialist
   ============================================================================ */

/* --- 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 { line-height: 1.15; -webkit-text-size-adjust: 100%;}
body { background: #F8FAFB; color: #26356C; }
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ol, ul { list-style: none; }
a { background: transparent; text-decoration: none; color: inherit; }
img { border-style: none; max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; line-height: inherit; color: inherit; }
table { border-collapse: collapse; border-spacing: 0; }

/* ============================================================================
   BRAND VARIABLES
============================================================================ */
:root {
  --primary: #26356C;
  --secondary: #8392A7;
  --accent: #F8FAFB;
  --heading: 'Montserrat', 'Georgia', serif;
  --body: 'Open Sans', 'Georgia', serif;
  --brand-bg: #F8FAFB;
  --brand-link: #26356C;
  --brand-link-hover: #6B809D;
  --classic-muted: #EFEFEA;
  --classic-shadow: 0 4px 24px 0 rgba(38,53,108,0.06);
}

/* ============================================================================
   TYPOGRAPHY – Elegant Serif + Clean Sans
============================================================================ */
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  color: #26356C;
  background: var(--brand-bg);
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 28px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
}
p, ul li, ol li {
  font-size: 1.125rem;
  margin-bottom: 16px;
  color: #26356C;
}
ul, ol {
  margin-left: 26px;
  margin-bottom: 20px;
}
ul li, ol li {
  position: relative;
  padding-left: 0.5em;
  margin-bottom: 12px;
}
a {
  color: var(--brand-link);
  transition: color 0.18s;
}
a:hover, a:focus {
  color: var(--brand-link-hover);
  text-decoration: underline;
}
strong, b {
  font-weight: 700;
  color: var(--primary);
}

/* ============================================================================
   LAYOUT CONTAINERS, FLEXBOX PATTERNS
============================================================================ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: transparent;
  padding: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 18px;
  box-shadow: var(--classic-shadow);
  /* Elegant spacing */
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--classic-shadow);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 12px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(38,53,108,0.10);
  transform: translateY(-4px);
}

.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: 16px;
  box-shadow: var(--classic-shadow);
  margin-bottom: 20px;
  color: #26356C;
  font-size: 1.125rem;
}
.testimonial-card p {
  color: #26356C;
}
.testimonial-card cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  color: var(--secondary);
  font-size: 1rem;
}

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

.text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.faq-list > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--classic-shadow);
  padding: 22px 20px;
  flex: 1 1 270px;
  min-width: 230px;
  color: #26356C;
}
.faq-list strong {
  color: var(--primary);
}

.next-steps ul {
  margin-left: 18px;
  margin-bottom: 0;
}

.quick-link {
  display: inline-block;
  padding: 12px 24px;
  margin-right: 16px;
  border-radius: 12px;
  border: 2px solid var(--primary);
  background: #fff;
  color: var(--primary);
  font-family: var(--heading);
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.quick-link:hover, .quick-link:focus {
  background: var(--primary);
  color: #fff;
  border-color: var(--brand-link-hover);
}

.confirmation-message {
  color: var(--secondary);
  font-size: 1.18rem;
  margin-bottom: 20px;
}

/* ============================================================================
   HEADER & NAVIGATION
============================================================================ */
header {
  background: #fff;
  box-shadow: 0 4px 16px 0 rgba(38,53,108,0.04);
  margin-bottom: 32px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 20px;
}
header img[alt="Novatrix Structure"] {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 0;
  color: var(--primary);
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s;
}
header nav a:hover, header nav a:focus {
  border-bottom: 2px solid var(--primary);
  color: var(--brand-link-hover);
}
header .btn-primary {
  margin-left: 20px;
}

/* ============================================================================
   BUTTONS
============================================================================ */
.btn-primary, .btn-secondary {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  display: inline-block;
  padding: 12px 38px;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
  box-shadow: 0 2px 8px 0 rgba(38,53,108,0.04);
  border: none;
  outline: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}
.btn-primary:hover, .btn-primary:focus {
  background: #1d274d;
  color: #fff;
  box-shadow: 0 6px 24px 0 rgba(38,53,108,0.13);
}
.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 24px 0 rgba(38,53,108,0.13);
}

/* ============================================================================
   FOOTER
============================================================================ */
footer {
  background: #fff;
  box-shadow: 0 -2px 12px 0 rgba(38,53,108,0.03);
  padding: 40px 0 0 0;
  margin-top: 48px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 36px;
  padding-bottom: 32px;
  justify-content: space-between;
}
footer img[alt="Novatrix Structure"],
footer img[alt="Novatrix Structure"] {
  height: 38px;
  width: auto;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
footer nav a {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--brand-link-hover);
}
footer .text-section {
  color: var(--secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  gap: 0;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}


/* ============================================================================
   ICONS & INLINE ICON SPACING
============================================================================ */
img[alt^="Icon"], img[alt="Telefon"], img[alt="E-mail"], img[alt="Adres"], img[alt^="Partner"] {
  display: inline-block;
  height: 24px;
  width: auto;
  vertical-align: middle;
  margin-right: 10px;
}

/* ============================================================================
   MOBILE BURGER MENU & ANIMATION
============================================================================ */
.mobile-menu-toggle {
  position: fixed;
  top: 28px;
  right: 24px;
  z-index: 300;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px 0 rgba(38,53,108,0.08);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #1d274d;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(38,53,108,0.97);
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.77,0,.18,1), box-shadow 0.2s;
  box-shadow: 0 0 60px 0 rgba(38,53,108,0.16);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.4rem;
  font-weight: bold;
  border: none;
  padding: 14px 18px 12px 12px;
  margin-top: 12px;
  margin-left: 8px;
  align-self: flex-end;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 42px;
  margin-left: 28px;
  width: 85vw;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--heading);
  font-size: 1.32rem;
  font-weight: 500;
  padding: 12px 4px;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #B6BED2;
}

@media (max-width: 1024px) {
  header .container {
    gap: 10px;
    flex-wrap: wrap;
  }
  header nav {
    gap: 12px;
  }
  header .btn-primary {
    margin-left: 4px;
  }
}

@media (max-width: 900px) {
  .container {
    padding: 0 10px;
    max-width: 98vw;
  }
  header .container {
    padding: 18px 10px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .btn-primary {
    display: none;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 4vw;
  }
  header .container {
    padding: 11px 4vw;
  }
}

@media (max-width: 500px) {
  .mobile-menu-toggle {
    top: 12px;
    right: 10px;
  }
}

/* ============================================================================
   RESPONSIVE FLEXBOX, SPACING & SECTIONS
============================================================================ */
@media (max-width: 900px) {
  .section {
    padding: 28px 4vw;
    margin-bottom: 40px;
  }
  .content-grid,
  .card-container {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 18px 2vw;
  }
  .content-wrapper {
    padding: 0;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .faq-list {
    flex-direction: column;
    gap: 16px;
  }
}

/* ============================================================================
   INTERACTIVE: HOVERS, TRANSITIONS, ANIMATIONS
============================================================================ */
.transition {
  transition: all 0.18s cubic-bezier(.77,0,.18,1);
}
*:focus {
  outline: 2px dashed #4e5e94;
  outline-offset: 2px;
}

/* ============================================================================
   COOKIE CONSENT BANNER
============================================================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 700;
  background: #fff;
  box-shadow: 0 -6px 24px 0 rgba(38,53,108,0.18);
  color: #26356C;
  padding: 22px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  font-size: 1rem;
  animation: cookieFadeIn 0.7s;
}
@keyframes cookieFadeIn {
  from { transform: translateY(120%); opacity: 0.1; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button, .cookie-banner .btn {
  font-family: var(--heading);
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  margin: 0;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-banner button.btn-secondary, .cookie-banner .btn.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-banner button:focus { outline: 2px solid var(--secondary); }
.cookie-banner button:hover {
  background: #1d274d;
  color: #fff;
}
.cookie-banner .btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 800px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 8vw;
    gap: 15px;
}
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: rgba(37,38,63,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieFadeIn 0.40s;
}
.cookie-modal {
  background: #fff;
  color: #26356C;
  border-radius: 20px;
  box-shadow: 0 6px 52px 0 rgba(38,53,108,0.19);
  padding: 36px 30px;
  max-width: 400px;
  width: 88vw;
  font-size: 1.06rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookieModalIn 0.35s;
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: scale(0.98) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 7px;
  border-bottom: 1px solid #EFEFEA;
}
.cookie-modal .cookie-category label {
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--primary);
}
.cookie-modal .toggle {
  appearance: none;
  width: 38px; height: 20px;
  background: #E5E9F4;
  border-radius: 11px;
  position: relative;
  outline: none; cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal .toggle:checked {
  background: var(--primary);
}
.cookie-modal .toggle:before {
  content: '';
  position: absolute;
  left: 4px; top: 3px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
  box-shadow: 0 2px 6px 0 rgba(38,53,108,0.08);
}
.cookie-modal .toggle:checked:before {
  transform: translateX(17px);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 10px; right: 14px;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 1.6rem;
  cursor: pointer;
}
.cookie-modal .cookie-close:hover,
.cookie-modal .cookie-close:focus {
  color: var(--primary);
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 18px 10px;
    border-radius: 10px;
  }
}

/* ============================================================================
   SPECIAL CLASSES FROM HTML STRUCTURE
============================================================================ */
/* .next-steps already handled above */

/* hide visually */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ============================================================================
   MISC & UTILITY CLASSES
============================================================================ */
.mb-0 { margin-bottom: 0 !important; }
.my-2 { margin-top: 16px !important; margin-bottom: 16px !important; }
.text-center { text-align: center !important; }

/* --- COMPATIBILITY FALLBACKS --- */
@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'), local('Georgia'), serif;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: local('Open Sans'), local('Georgia'), serif;
  font-display: swap;
}

/* ============================================================================
   END OF STYLES
============================================================================ */