/* --- 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%; 
  scroll-behavior: smooth;
}
body {
  background: #F4F6FB;
  font-family: 'Roboto', Arial, sans-serif;
  color: #123554;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #123554;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ED9B3F;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
strong {
  font-weight: bold;
}
button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  cursor: pointer;
  transition: all 0.2s;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #123554;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.2;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  line-height: 1.25;
}
.section h2, .content-wrapper h2 {
  color: #ED9B3F;
}

p {
  margin-bottom: 16px;
  font-size: 1rem;
}
.tagline {
  font-size: 1.15rem;
  color: #ED9B3F;
  font-weight: 600;
  margin-bottom: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --- GENERAL LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}

/* ---- SECTIONS, CARDS, FLEXBOX PATTERNS ---- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px 0 rgba(18, 53, 84, 0.07);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(237, 155, 63, 0.12);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  min-width: 240px;
  flex: 1 1 300px;
}
.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;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(18, 53, 84, 0.07);
  margin-bottom: 24px;
  border-left: 6px solid #ED9B3F;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F4F6FB;
  border-radius: 16px;
  padding: 22px 18px;
  min-width: 200px;
  box-shadow: 0 2px 10px 0 rgba(18, 53, 84, 0.05);
}

/* --- HERO SECTION --- */
.hero-section {
  background: linear-gradient(90deg, #F4F6FB 0%, #FFF8F4 100%);
  border-radius: 0 0 24px 24px;
  margin-bottom: 48px;
  padding: 60px 0 40px 0;
  box-shadow: 0 8px 32px 0 rgba(18, 53, 84, 0.06);
}
.hero-section .content-wrapper {
  align-items: flex-start;
}
.hero-section h1 {
  color: #123554;
  font-size: 2.7rem;
}
.hero-section h2 {
  color: #ED9B3F;
  font-size: 1.35rem;
  font-weight: 500;
}

/* --- FEATURES GRID --- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.features-grid > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(237, 155, 63, 0.06);
  flex: 1 1 220px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 18px;
  gap: 12px;
  transition: transform 0.18s, box-shadow 0.2s;
}
.features-grid > div:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 6px 24px 0 rgba(237, 155, 63, 0.19);
}
.features-grid img {
  width: 54px;
  height: 54px;
  margin-bottom: 8px;
  border-radius: 12px;
}

/* --- HEADER (DESKTOP) --- */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px 0 rgba(18, 53, 84, 0.05);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
  color: #123554;
}
header nav a:hover,
header nav a:focus {
  background: #F9E2C7;
  color: #ED9B3F;
}
.cta-btn {
  background: #ED9B3F;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 16px;
  padding: 12px 30px;
  font-size: 1.15rem;
  margin-left: 16px;
  box-shadow: 0 2px 12px 0 rgba(237, 155, 63, 0.14);
  transition: background 0.18s, box-shadow 0.18s, color 0.15s;
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #123554;
  color: #fff;
  box-shadow: 0 6px 24px 0 rgba(18, 53, 84, 0.07);
}
.mobile-menu-toggle {
  display: none;
  background: #ED9B3F;
  color: #fff;
  font-size: 2rem;
  border-radius: 10px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(237, 155, 63, 0.97);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.77,0,.18,1), opacity 0.18s;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 24px;
  background: #fff;
  color: #ED9B3F;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.6rem;
  box-shadow: 0 2px 10px 0 rgba(18,53,84,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #ED9B3F;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 24px 36px;
  margin-top: 28px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  padding: 8px 0;
  border-radius: 10px;
  width: 100%;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #fff;
  color: #ED9B3F;
}

/* --- FOOTER --- */
footer {
  background: #F4F6FB;
  color: #123554;
  margin-top: 48px;
  padding: 40px 0 30px 0;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 16px 0 rgba(18, 53, 84, 0.04);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px 24px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-bottom: 16px;
}
.footer-menu a {
  font-size: 1rem;
  color: #123554;
  padding: 6px 9px;
  border-radius: 8px;
  transition: background 0.18s, color 0.13s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  background: #ED9B3F;
  color: #fff;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.98rem;
}
.footer-info img {
  width: 100px;
  margin-bottom: 8px;
}
footer p {
  color: #4D6379;
}

/* --- TEXT BLOCK SECTION (ABOUT/LEGAL) --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #FFF8F4;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 2px 10px 0 rgba(237,155,63,0.09);
  margin-bottom: 18px;
}
.text-section img {
  width: 26px;
  height: 26px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
  border-radius: 6px;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 7px;
  font-size: 1rem;
}
.text-section ul {
  margin-bottom: 12px;
}
.text-section ol {
  margin-bottom: 12px;
  padding-left: 20px;
}

/* --- TEAM SECTION (ABOUT) --- */
.team {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.team .text-section {
  flex: 1 1 260px;
  background: #fff;
  border: 1px solid #ED9B3F22;
}

/* --- TRUST SIGNALS (KONTAKT) --- */
.trust-signals {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.trust-signals p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}

/* --- TESTIMONIALS --- */
.testimonial-card p {
  font-size: 1.1rem;
  color: #123554;
  margin-bottom: 4px;
}
.testimonial-card span {
  font-size: 1rem;
  color: #FFBF69;
  line-height: 1.4;
}
.testimonial-card strong {
  color: #123554;
}
.testimonial-card:last-child {
  margin-bottom: 0;
}

/* --- LISTS IN CONTENT --- */
ul li, ol li {
  font-size: 1rem;
  margin-bottom: 8px;
}
ul li strong, ol li strong {
  color: #ED9B3F;
  font-family: 'Montserrat', Arial, sans-serif;
}


/* --- BUTTONS AND INTERACTIONS --- */
button,
.cta-btn {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.cta-btn:active {
  background: #d88a22;
}

button:focus, .cta-btn:focus {
  outline: 2px solid #ED9B3F;
  outline-offset: 2px;
}


/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #fffdfa;
  color: #123554;
  box-shadow: 0 -4px 32px rgba(18,53,84,0.09);
  border-top: 2px solid #ED9B3F;
  padding: 22px 20px 18px 20px;
  z-index: 2500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 1rem;
  animation: banner-in 0.65s 0s ease;
  border-radius: 12px 12px 0 0;
}
@keyframes banner-in {
  0% { transform: translateY(120%); opacity: 0; }
  80% { transform: translateY(-6px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cookie-accept {
  background: #ED9B3F;
  color: #fff;
  border-radius: 12px;
  padding: 10px 22px;
  font-weight: 700;
  box-shadow: 0 2px 10px 0 rgba(237, 155, 63, 0.17);
}
.cookie-reject {
  background: #F4F6FB;
  color: #123554;
  border-radius: 12px;
  padding: 10px 22px;
  font-weight: 500;
  border: 1px solid #ED9B3F55;
}
.cookie-settings {
  background: #fff;
  color: #ED9B3F;
  border: 1px solid #ED9B3F;
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 500;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #123554;
  color: #fff;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #F9E2C7;
  color: #ED9B3F;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #ED9B3F;
  color: #fff;
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 2600;
  background: rgba(18,53,84,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fffdfa;
  border-radius: 18px;
  padding: 38px 24px 20px 24px;
  min-width: 310px;
  max-width: 90vw;
  box-shadow: 0 2px 32px 0 rgba(237, 155, 63, 0.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modal-in 0.44s cubic-bezier(0.6,0,.24,1);
}
@keyframes modal-in {
  0% { transform: scale(0.8); opacity: 0; }
  60% { transform: scale(1.04); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  background: none;
  color: #ED9B3F;
  border-radius: 50%;
  position: absolute;
  top: 15px; right: 17px;
  width: 32px; height: 32px;
  font-size: 1.3rem;
  display: flex;
  align-items: center; justify-content: center;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #ED9B3F;
  color: #fff;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0 11px 0;
}
.cookie-modal-category input[type=checkbox] {
  accent-color: #ED9B3F;
  width: 22px; height: 22px;
  border-radius: 6px;
  margin-right: 3px;
}
.cookie-modal-category label {
  font-weight: 600;
  color: #123554;
}
.cookie-modal-category .always-on {
  color: #999;
  font-size: 0.98em;
  padding-left: 4px;
}


/* --- MISC: CATEGORY BADGES/FAQ/ETC --- */
span {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #ED9B3F;
  font-size: 1em;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 980px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .section {
    padding: 26px 10px;
    margin-bottom: 34px;
  }
  .hero-section {
    padding: 35px 0 20px 0;
    border-radius: 0 0 18px 18px;
    margin-bottom: 30px;
  }
  .features-grid, .card-container, .content-grid, .team {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-item {
    min-width: auto;
    padding: 18px 10px;
  }
  .card {
    min-width: auto;
    padding: 18px 12px;
  }
  .testimonial-card {
    padding: 14px 10px;
    border-radius: 13px;
    margin-bottom: 18px;
  }
  .footer-menu {
    gap: 8px 10px;
    font-size: 0.97rem;
  }
  .footer-info img {
    width: 80px;
  }
  .content-wrapper {
    gap: 12px;
    margin-bottom: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header nav, .cta-btn {
    display: none !important;
  }
}
@media (max-width: 520px) {
  .container {
    padding: 0 4px;
  }
  .footer-info {
    font-size: 0.91em;
  }
}
@media (max-width: 420px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.05rem; }
}

/* Utility: Spacing enforcement for all cards/sections */
.card, .testimonial-card, .feature-item, .section, .content-wrapper, .text-section {
  margin-bottom: 20px;
}
.card:last-child, .testimonial-card:last-child, .feature-item:last-child, .section:last-child, .content-wrapper:last-child, .text-section:last-child {
  margin-bottom: 0;
}

/* Utility: No absolute for cards/content blocks */
.card[style], .testimonial-card[style], .feature-item[style] {
  position: relative !important;
}
