/* 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, menu, 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, main, 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;}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section { display: block; }
body { line-height: 1; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { border: none; max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 100%; margin: 0; border: none; background: none; outline: none; box-sizing: border-box; }

/* BRAND VARIABLES */
:root {
  --color-primary: #104166;
  --color-secondary: #F7F7F7;
  --color-accent: #FFBA08;
  --color-dark: #1A232F;
  --color-light: #fff;
  --color-grey: #d1d5db;
  --color-neutral: #454950;
  --box-radius: 14px;
  --box-shadow: 0 4px 24px rgba(16,65,102, 0.10);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --transition: all 0.25s cubic-bezier(.4,.01,.2,1);
}
@media (max-width: 480px) {
  :root { --box-radius: 8px; }
}

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-secondary);
  font-size: 16px;
  line-height: 1.6;
  transition: background-color 0.2s;
}
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p, ul, ol, li {
  color: var(--color-neutral);
  font-size: 1rem;
}
strong { font-weight: bold; }

@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
}

/* GLOBAL SPACING / LAYOUT */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-light);
  border-radius: var(--box-radius);
  box-shadow: var(--box-shadow);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(16,65,102,0.13);
  transform: translateY(-2px) scale(1.0125);
}
.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;
  padding: 24px 28px;
  margin-bottom: 20px;
  border-radius: var(--box-radius);
  box-shadow: var(--box-shadow);
  border-left: 5px solid var(--color-accent);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; }
  .content-grid { flex-direction: column; }
}

/* HEADER / NAVIGATION */
header {
  width: 100%;
  background: var(--color-light);
  box-shadow: 0 2px 12px rgba(16,65,102,0.04);
  position: relative;
  z-index: 21;
}
header .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  position: relative;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  flex-grow: 1;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1rem;
  padding: 8px 6px;
  border-radius: 5px;
  transition: color 0.2s, background 0.2s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary,
.content-wrapper a.btn-primary {
  background: var(--color-primary);
  color: var(--color-light);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 32px;
  padding: 12px 28px;
  font-size: 1rem;
  box-shadow: 0 2px 12px rgba(16,65,102,0.06);
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: var(--transition);
  position: relative;
  letter-spacing: .03em;
  line-height: 1.35;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 5px 18px rgba(255,186,8,0.16);
  transform: translateY(-2px) scale(1.03);
}
.btn-primary:active { opacity: 0.96; }

/* Hamburger Mobile Menu Button */
.mobile-menu-toggle {
  display: none;
  background: var(--color-light);
  border-radius: 50%;
  padding: 10px 13px;
  font-size: 1.67rem;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  transition: box-shadow 0.18s;
  z-index: 52;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-accent);
  color: var(--color-light);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-accent);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  padding: 0 0;
  background: rgba(16, 42, 74, 0.95);
  transform: translateX(100%);
  transition: var(--transition);
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 50%;
  font-size: 2rem;
  border: none;
  padding: 12px 15px;
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 153;
  cursor: pointer;
  transition: background 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-light);
  color: var(--color-primary);
}
.mobile-nav {
  width: 100%;
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  color: var(--color-light);
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 12px 6px;
  border-radius: 8px;
  transition: background 0.18s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

@media (max-width: 1100px) {
  header .container { flex-wrap: wrap; }
  header nav { flex: 1 1 60%; }
}
@media (max-width: 900px) {
  header .container { flex-wrap: wrap; }
  header nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (max-width: 600px) {
  header .container {
    padding: 0 12px;
    min-height: 64px;
    gap: 10px;
  }
  .btn-primary, .content-wrapper a.btn-primary {
    padding: 10px 18px;
    font-size: 0.98rem;
  }
}

/* HERO SECTION */
.hero-section {
  background: linear-gradient(108deg, var(--color-secondary) 60%, #e6e6e6 120%);
  padding: 48px 0 24px 0;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 5px 24px rgba(16,65,102,0.06);
}
.hero-section .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  max-width: 600px;
  padding: 36px 0 12px 0;
}
.hero-section h1 {
  color: var(--color-primary);
}
.hero-section p {
  color: var(--color-neutral);
  font-size: 1.15rem;
}
@media (max-width: 900px) {
  .hero-section { padding: 32px 0 16px 0; }
  .hero-section .content-wrapper { padding: 22px 0 8px 0; }
}

/* FEATURE GRID / SERVICE LISTS */
.feature-grid,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}
.feature-grid li,
.service-list li {
  flex: 1 1 220px;
  min-width: 232px;
  background: var(--color-light);
  border-radius: var(--box-radius);
  box-shadow: var(--box-shadow);
  padding: 24px 18px 20px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: box-shadow 0.21s;
  border-left: 4px solid var(--color-accent);
}
.feature-grid li:hover,
.service-list li:hover {
  box-shadow: 0 8px 18px rgba(16,65,102,0.11);
  background: #fcf7ed;
}
.feature-grid img, .service-list img {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
}

/* TRUST BADGES */
.trust-badges {
  display: flex;
  gap: 16px;
  margin: 18px 0 6px 0;
}
.trust-badges img {
  width: 39px; height: 39px;
  filter: grayscale(0.06) brightness(1.15);
}

/* CTA SECTION */
.cta-section {
  background: var(--color-primary);
  border-radius: 32px;
  color: var(--color-light);
  padding: 40px 0 36px 0;
  box-shadow: 0 6px 38px rgba(16,65,102,0.13);
  margin-bottom: 60px;
}
.cta-section h2, .cta-section p, .cta-section a {
  color: var(--color-light);
}
.cta-section h2 {
  margin-bottom: 16px;
}
.cta-section .btn-primary {
  background: var(--color-accent);
  color: var(--color-primary);
  margin-top: 24px;
}
.cta-section .btn-primary:hover {
  background: #ffd06b;
  color: var(--color-primary);
}

/* SERVICES PREVIEW SECTION */
.services-preview-section .service-list {
  gap: 16px;
}
.services-preview-section .content-wrapper>a:not(.btn-primary) {
  display: inline-block;
  margin-top: 18px;
  color: var(--color-accent);
  font-weight: bold;
  letter-spacing: .035em;
  border-bottom: 2px solid var(--color-accent);
  transition: color 0.18s;
}
.services-preview-section .content-wrapper>a:hover {
  color: var(--color-primary);
}

/* TESTIMONIALS */
.testimonials-preview-section,
.testimonials-section {
  padding: 36px 0;
}
.testimonials-preview-section h2,
.testimonials-section h2 {
  color: var(--color-primary);
}
.testimonial-card {
  background: #fff;
  color: #222;
  font-size: 1.11rem;
  border-left: 5px solid var(--color-accent);
  box-shadow: var(--box-shadow);
  margin-bottom: 22px;
  transition: box-shadow 0.19s, border-color 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 22px rgba(255,186,8,0.09);
  border-left-color: #ffd06b;
}
.testimonial-card strong {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.rating-stars {
  color: var(--color-accent);
  font-size: 1.11rem;
  letter-spacing: 1.5px;
  margin-bottom: 3px;
  font-family: var(--font-display);
}
.quote-highlights {
  margin-top: 20px;
  padding: 18px 13px 16px 16px;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--box-radius);
  font-style: italic;
  font-size: 1.08rem;
}

/* ABOUT, TRUST, KNOWLEDGE & TEXT SECTIONS */
.about-section, .about-intro-section, .mission-vision-section, .trust-section, .knowledge-hub-section, .faqs-section, .privacy-section, .gdpr-section, .terms-section, .cookie-policy-section, .confirmation-section {
  background: var(--color-light);
  border-radius: var(--box-radius);
  margin-bottom: 54px;
  box-shadow: var(--box-shadow);
  padding: 30px 0 30px 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section ul, .text-section ol {
  margin-left: 17px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 6px;
}
.text-section li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
}
.text-section img {
  width: 24px; height: 24px;
}

/* MAP/LIST BLOCKS INSIDE KONTAKT */
.map {
  background: var(--color-secondary);
  border-radius: var(--box-radius);
  box-shadow: var(--box-shadow);
  padding: 18px 15px;
  margin-top: 18px;
  color: var(--color-dark);
  font-size: 0.97rem;
}

/* ORDERED/UNORDERED LISTS (PROCESS ETC.) */
ol,
ul {
  padding-left: 18px;
  margin-bottom: 20px;
}
ol li {
  list-style-type: decimal;
  margin-bottom: 11px;
}
ul li {
  list-style-type: disc;
  margin-bottom: 7px;
}
.feature-grid ul, .service-list ul {
  padding-left: 0;
}
@media (max-width: 730px) {
  .feature-grid,
  .service-list {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid li, .service-list li {
    width: 100%;
    min-width: 0;
    flex: 1 1 100%;
  }
}
/* FAQ PREVIEW CTA */
.faq-preview h3 {
  font-size: 1.07rem;
  margin-bottom: 10px;
}

.faq-preview a {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  font-weight: 600;
  padding-bottom: 2px;
  transition: color 0.18s;
}
.faq-preview a:hover { color: var(--color-primary); }

/* FOOTER */
footer {
  background: var(--color-primary);
  color: var(--color-light);
  padding: 42px 0 29px 0;
  border-radius: 35px 35px 0 0;
  box-shadow: 0 -6px 32px rgba(16,65,102,0.12);
  font-size: 0.98rem;
  margin-top: 60px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo img {
  width: 118px; height: auto;
  margin-bottom: 7px;
}
.footer-navigation {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-navigation a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
  transition: color 0.16s, text-decoration 0.2s;
}
.footer-navigation a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--color-light);
}
.footer-contact img {
  width: 18px; height: 18px;
  vertical-align: middle;
  margin-right: 5px;
  opacity: 0.85;
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-social a img {
  width: 30px; height: 30px;
  transition: filter 0.15s, opacity 0.13s;
  border-radius: 8px;
}
.footer-social a:hover img {
  filter: brightness(1.25) drop-shadow(0 0 7px #ffba0866);
  opacity: 1;
}
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  footer { padding: 34px 0 18px 0; margin-top: 35px; }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1005;
  width: 100vw;
  background: var(--color-light);
  color: var(--color-neutral);
  border-top: 2px solid var(--color-accent);
  box-shadow: 0 -4px 24px rgba(16,65,102,0.08);
  padding: 20px 10px 19px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: fadeInUpBanner 0.7s;
  font-size: 0.98rem;
}
@keyframes fadeInUpBanner {
  0% { opacity: 0; transform: translateY(100%); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.cookie-banner button,
.cookie-settings-modal button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 24px;
  padding: 10px 22px;
  background: var(--color-accent);
  color: var(--color-primary);
  margin: 0;
  cursor: pointer;
  transition: background 0.18s, color 0.21s, box-shadow 0.15s;
  box-shadow: 0 0 10px rgba(255,186,8,0.08);
}
.cookie-banner button:hover,
.cookie-banner button:focus,
.cookie-settings-modal button:hover,
.cookie-settings-modal button:focus {
  background: var(--color-primary);
  color: var(--color-light);
  box-shadow: 0 0 18px rgba(16,65,102,0.12);
}
.cookie-banner .btn-settings {
  background: var(--color-grey);
  color: var(--color-primary);
}
.cookie-banner .btn-settings:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* COOKIE SETTINGS MODAL */
.cookie-settings-modal {
  position: fixed;
  z-index: 2000;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(16,41,67,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  animation: fadeInModal .38s;
}
@keyframes fadeInModal {
  0%{opacity:0;transform:scale(.98);}
  100%{opacity:1;transform:scale(1);}
}
.cookie-settings-modal-content {
  background: #fff;
  border-radius: var(--box-radius);
  padding: 38px 22px 29px 22px;
  width: 98vw;
  max-width: 440px;
  box-shadow: 0 10px 55px rgba(16,65,102,0.21);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.cookie-settings-modal-content h2 {
  color: var(--color-primary);
  margin-bottom: 2px;
  font-size: 1.25rem;
}
.cookie-settings-modal-content .category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 11px;
}
.cookie-settings-modal-content .category label {
  font-size: 1rem;
  color: var(--color-neutral);
}
.cookie-settings-modal-content .category input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 18px;
  height: 18px;
  margin-right: 2px;
}
.cookie-settings-modal-content .category input[disabled] {
  accent-color: var(--color-grey);
}
.cookie-settings-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 1.64rem;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 50%;
  line-height: 26px;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
}
.cookie-settings-modal .close-modal:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-settings-modal-content .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  justify-content: flex-end;
}
@media (max-width: 520px) {
  .cookie-settings-modal-content { padding: 22px 7vw 16px 7vw; }
  .cookie-settings-modal-content h2 { font-size: 1.09rem; }
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 600px) {
  .section, .about-section, .mission-vision-section, .trust-section, .services-overview-section, .process-section, .privacy-section, .gdpr-section, .terms-section, .cookie-policy-section, .confirmation-section {
    padding: 25px 1.5vw;
    margin-bottom: 32px;
    border-radius: 10px;
  }
  .content-wrapper { gap: 14px; }
  .testimonial-card { padding: 17px 10px; }
  .footer-content { gap: 19px; }
  .footer-logo img { width: 84px; }
  .footer-social a img { width: 23px; height: 23px; }
}

/* LINK/INTERACTIVE MICRO-INTERACTIONS */
a {
  transition: color 0.15s, border 0.15s;
}
a:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 6px;
  color: var(--color-accent);
}

::-webkit-scrollbar {
  width: 10px;
  background-color: var(--color-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--color-grey);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }

/* SECTION SPACING ENSURED BY PARENT FLEX + GAPS */

/* ANIMATIONS */
@media (prefers-reduced-motion: no-preference) {
  .btn-primary, .card, .testimonial-card { transition: box-shadow 0.2s, transform 0.2s, background 0.18s, color 0.18s; }
}

/******************** END CSS ********************/
