/* 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 {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  background: #FFFFFF;
  color: #184B74;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: #184B74;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #BB2440;
  outline: none;
}
ul, ol {
  list-style-position: inside;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #184B74;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

/******************** HEADER **************/
header {
  background: #FFFFFF;
  border-bottom: 1px solid #E5EDF2;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 24px;
}
.logo img {
  height: 44px;
  width: auto;
  vertical-align: middle;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #184B74;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}
.main-nav a.active,
.main-nav a:hover,
.main-nav a:focus {
  color: #BB2440;
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: #BB2440;
  border-radius: 1px;
}

.cta-btn {
  background: #184B74;
  color: #FFFFFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(24,75,116,0.06);
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
  border: none;
  cursor: pointer;
  display: inline-block;
  letter-spacing: 0.03em;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #BB2440;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(187,36,64,0.10);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #184B74;
  cursor: pointer;
  margin-left: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #E5EDF2;
  color: #BB2440;
}

/***************** MOBILE MENU ************/
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255, 0.97);
  z-index: 1111;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.7,.2,.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 0 0 0;
  box-shadow: -2px 0 32px rgba(24,75,116,0.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.25rem;
  color: #184B74;
  margin: 16px 24px 0 0;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #E5EDF2;
  color: #BB2440;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 32px 0 0 0;
  gap: 18px;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: #184B74;
  padding: 14px 0;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  border-radius: 8px;
  transition: background 0.18s, color 0.19s;
}
.mobile-nav a:hover,
.mobile-nav a.active,
.mobile-nav a:focus {
  background: #E5EDF2;
  color: #BB2440;
}

/***************** HERO SECTIONS ********/ 
.hero {
  width: 100%;
  background: #E5EDF2;
  margin-bottom: 60px;
  padding: 40px 0 48px 0;
  display: flex;
  align-items: center;
}
.hero .container {
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero h1 {
  text-align: center;
  color: #184B74;
}
.hero .subheadline {
  color: #4A647D;
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 18px;
  text-align: center;
}

/*********** GENERIC SECTION STYLES *******/
.section, 
.features,
.services,
.testimonials,
.about-story,
.about-features,
.kontakt-section,
.legal,
.confirmation {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 4px 24px 0 rgba(24,75,116,0.04);
}

/*********** FEATURES *************/
.features .container,
.services .container {
  gap: 36px;
}
.features h2, .services h1, .services h2 {
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.features .content-wrapper,
.services .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.features ul, .services ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.features li, .services li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
  background: #F6FAFC;
  border-radius: 14px;
  padding: 13px 20px;
  color: #184B74;
  box-shadow: 0 1px 6px 0 rgba(24,75,116,0.05);
  transition: box-shadow 0.18s, background 0.18s;
}
.features li img, .services li img {
  width: 28px; height: 28px; display: block;
}
.features li:hover, .services li:hover, .features li:focus, .services li:focus {
  box-shadow: 0 8px 32px 0 rgba(24,75,116,0.11);
  background: #E5EDF2;
}

/*********** PRICE & EMPHASIS ************/
.price {
  font-weight: 700;
  background: #184B74;
  color: #FFF;
  border-radius: 8px;
  padding: 3px 10px;
  margin-left: 10px;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
}

/*********** TESTIMONIALS ************/
.testimonials, .testimonials .container {
  gap: 24px;
}
.testimonials h2 {
  margin-bottom: 28px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 26px 20px 26px;
  background: #FCFEFF;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(24,75,116,0.08);
  min-width: 260px;
  max-width: 420px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s;
  border: 1px solid #E5EDF2;
}
.testimonial-card blockquote {
  font-style: italic;
  color: #184B74;
  font-size: 1.03rem;
  margin-bottom: 0;
}
.testimonial-card .guest {
  font-size: 0.97rem;
  color: #4A647D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.testimonial-card:hover {
  box-shadow: 0 10px 40px 0 rgba(24,75,116,0.13);
}

/********** FOOTER ************/
footer {
  background: #E5EDF2;
  border-top: 1px solid #E5EDF2;
  padding: 52px 0 32px 0;
  color: #184B74;
  letter-spacing: 0.01em;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  justify-content: center;
}
.footer-nav a {
  color: #184B74;
  font-size: 0.98rem;
  font-family: 'Roboto', Arial, sans-serif;
  opacity: 0.8;
  transition: opacity .18s, color .2s;
}
.footer-nav a:hover,
.footer-nav a.active {
  color: #BB2440;
  opacity: 1;
}
.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
}
.footer-social {
  margin-top: 8px;
  display: flex;
  gap: 18px;
  align-items: center;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  filter: grayscale(0.25) contrast(1.03);
  opacity: 0.8;
  transition: opacity .18s, filter .19s;
}
.footer-social a:hover img {
  opacity: 1;
  filter: grayscale(0);
}

/*********** CARDS & GENERIC CONTENT FLEXBOX ************/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 16px;
  background: #FCFEFF;
  box-shadow: 0 2px 16px rgba(24,75,116,0.08);
  padding: 24px;
  flex: 1 1 260px;
  transition: box-shadow 0.22s, transform 0.21s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(24,75,116,0.13);
  transform: translateY(-3px) scale(1.02);
}

.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/************ LEGAL & TEXT PAGES ***********/
.legal, .about-story, .about-features, .confirmation, .kontakt-section {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(24,75,116,0.06);
  padding: 40px 20px;
  margin-bottom: 60px;
}
.legal .content-wrapper, .about-story .content-wrapper, .about-features .content-wrapper,
.confirmation .content-wrapper, .kontakt-section .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.legal h2, .legal h3 {
  color: #184B74;
  margin-top: 20px;
  margin-bottom: 8px;
}
.legal ul, .about-features ul, .about-story ul {
  margin: 0 0 18px 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal li {
  color: #1A2A3B;
  font-size: 1rem;
}
.text-section a {
  color: #BB2440;
  text-decoration: underline;
  word-break: break-word;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 1.08rem;
  color: #27384b;
}
.confirmation .cta-btn {
  margin-top: 24px;
}

/*********** VERSATILE LAYOUTS **************/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}

/********* FORM & ADDRESS *********/
address {
  font-style: normal;
  color: #184B74;
  font-size: 1rem;
  margin-bottom: 0;
}

/********* COOKIE CONSENT BANNER ******/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  width: 100vw;
  background: #184B74;
  color: #FFFFFF;
  box-shadow: 0 -4px 24px 0 rgba(24,75,116,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 24px 16px;
  gap: 18px;
  transition: transform 0.33s cubic-bezier(.7,.2,.2,1), opacity 0.2s;
}
.cookie-banner.closed {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #184B74;
  background: #FFFFFF;
  padding: 10px 24px;
  border: none;
  border-radius: 18px;
  box-shadow: 0 1px 8px rgba(230,237,242,0.13);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.19s;
}
.cookie-btn.accept {
  background: #BB2440;
  color: #FFFFFF;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #AE0720;
}
.cookie-btn.reject {
  background: #E5EDF2;
  color: #184B74;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #184B74;
  color: #FFFFFF;
}
.cookie-btn.settings {
  background: #FFFFFF;
  color: #184B74;
  border: 1px solid #E5EDF2;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #E5EDF2;
  color: #184B74;
}

/******** COOKIE MODAL (PREFERENCES) ******/
.cookie-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 10000;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(24,75,116,0.20);
  transition: opacity 0.23s;
}
.cookie-modal {
  background: #FFFFFF;
  color: #184B74;
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(24,75,116,0.18);
  min-width: 320px;
  max-width: 94vw;
  padding: 36px 26px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: cookieModalAppear 0.35s cubic-bezier(.69,.35,.25,1);
}
@keyframes cookieModalAppear {
  from { transform: translateY(30px) scale(0.97); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal__header {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
}
.cookie-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: #BB2440;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 2px 10px;
  border-radius: 6px;
}
.cookie-modal__close:hover,
.cookie-modal__close:focus {
  background: #E5EDF2;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
  flex: 1;
}
.cookie-category input[type="checkbox"] {
  accent-color: #BB2440;
  width: 22px;
  height: 22px;
}
.cookie-category input[disabled] {
  accent-color: #184B74;
  opacity: 0.33;
  cursor: not-allowed;
}

/****** BUTTON & FOCUS ACCESSIBILITY ******/
button:focus, a:focus {
  outline: 2px dashed #184B74;
  outline-offset: 2px;
}

/******** WIDTH, SPACING & BREAKPOINTS ******/
@media (max-width: 1080px) {
  .container {
    max-width: 97vw;
    padding: 0 3vw;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 16px;
  }
  .container {
    padding: 0 1vw;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  header .container {
    gap: 14px;
  }
  section, .section, .features, .services, .about-story, .about-features, .confirmation, .testimonials, .kontakt-section, .legal {
    padding: 34px 5px;
    margin-bottom: 38px;
    border-radius: 12px;
  }
  .footer-nav {
    gap: 12px;
    font-size: 0.96rem;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .hero {
    padding: 40px 0;
    border-radius: 0;
  }
  .testimonials .content-wrapper, .features ul, .services ul {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    min-width: 80vw;
    padding: 14px 10px;
    font-size: 0.98rem;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .footer-social {
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  .cookie-modal {
    min-width: 98vw;
    border-radius: 11px;
    padding: 16px 4px 12px 14px;
  }
}

/***** ANIMATIONS ******/
.cta-btn, .cookie-btn {
  transition: background 0.17s, color 0.18s, box-shadow 0.18s, transform 0.15s;
}
.cta-btn:active, .cookie-btn:active {
  transform: scale(0.98);
}

/***** UTILITIES ******/
.d-none { display: none !important; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.align-center { align-items: center; }
.gap-20 { gap: 20px; }

/****************** END ******************/