/* CSS RESET & NORMALIZATION */
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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #162030;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* BRAND COLORS & TYPOGRAPHY */
:root {
  --primary: #23488A;
  --secondary: #38BFA7;
  --accent: #F3F6FA;
  --grey: #D7DFEA;
  --surface: #fff;
  --text: #162030;
  --shadow: 0 4px 16px rgba(35, 72, 138, 0.08);
  --radius: 16px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--primary);
  line-height: 1.15;
}
h1 {
  font-size: 2.375rem;
  margin-bottom: 24px;
  text-transform: uppercase;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}
@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.125rem; }
  h3 { font-size: 1.375rem; }
}
p, li, dd {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text);
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
  color: var(--primary);
}


/* STRUCTURED & GEOMETRIC LAYOUTS */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .card-grid, .features .content-wrapper, .testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.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;
  border-radius: 12px;
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(35, 72, 138, 0.06);
  margin-bottom: 20px;
  min-width: 0;
  flex: 1 1 320px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.testimonial-card p {
  margin-bottom: 0;
  color: var(--text);
  font-style: italic;
}
.testimonial-card span {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 600;
  margin-left: auto;
}
.feature-item, .features ul li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--accent);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 250px;
  border: 2.5px solid var(--grey);
}
.features ul {
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features ul li img {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
}


/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: var(--surface);
  border-bottom: 2.5px solid var(--accent);
  box-shadow: 0 2px 8px rgba(35, 72, 138, 0.04);
  position: relative;
  z-index: 60;
}
header .container {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
header img {
  height: 46px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: #fff;
}
.cta-button.primary {
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 12px;
  padding: 12px 32px;
  box-shadow: 0 2px 8px rgba(35, 72, 138, 0.10);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s, transform 0.14s;
  display: inline-block;
  margin-left: 12px;
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.04) skew(-2deg);
}

.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  font-size: 2.2rem;
  border-radius: 8px;
  width: 42px;
  height: 42px;
  justify-content: center;
  align-items: center;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, transform 0.17s;
  z-index: 99;
  border: none;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--secondary);
  transform: scale(1.03) skew(-3deg);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 10px 32px rgba(35, 72, 138, 0.11);
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.62,.15,.44,1.09);
  padding-top: 0;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 0 0 100vmax rgba(0,0,0,0.18);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 30px 30px 10px 0;
  padding: 0 10px;
  font-size: 2.1rem;
  background: none;
  color: var(--primary);
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: background 0.13s;
  z-index: 1002;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 35px 32px;
}
.mobile-nav a {
  font-size: 1.22rem;
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 8px;
  padding: 10px 18px;
  width: 100%;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}

@media (max-width: 1024px) {
  header .container {
    gap: 10px;
  }
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 0px;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .cta-button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* HERO SECTIONS */
.hero {
  background: linear-gradient(110deg, var(--accent) 70%, #e7f6f4 100%);
  border-radius: 0 0 36px 36px;
  box-shadow: 0 8px 64px rgba(35,72,138,0.09);
  margin-bottom: 60px;
  padding: 60px 0 40px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1, .hero p {
  color: var(--primary);
}
.hero a.cta-button.primary {
  margin-top: 25px;
}

/* CTA SECTION */
.cta {
  background: var(--secondary);
  color: #fff;
  border-radius: 28px;
  box-shadow: 0 6px 32px rgba(35, 72, 138, 0.06);
  margin-bottom: 60px;
}
.cta .content-wrapper {
  align-items: flex-start;
}
.cta h2, .cta p {
  color: #fff;
}
.cta .cta-button.primary {
  margin-left: 0;
  background: #fff;
  color: var(--primary);
  border: 2px solid #fff;
}
.cta .cta-button.primary:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ABOUT SECTION */
.about-intro, .about, .team, .why-us, .contact-details {
  background: var(--accent);
  border-radius: 24px;
  margin-bottom: 60px;
  box-shadow: 0 2px 12px rgba(35, 72, 138, 0.05);
}
.about-intro .content-wrapper, .about .content-wrapper, .team .content-wrapper, .why-us .content-wrapper {
  align-items: flex-start;
}
.about-intro ul, .about ul, .team ul, .why-us ul {
  padding-left: 20px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.about-intro ul li, .about ul li, .team ul li, .why-us ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  font-family: var(--font-body);
}

/* PRODUCT LIST */
.product-list ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 24px 0;
}
.product-list ul li {
  background: var(--accent);
  border-radius: var(--radius);
  padding: 24px 16px;
  border: 2px solid var(--grey);
  box-shadow: var(--shadow);
  margin-bottom: 10px;
}

/* GUIDES FAQ & LEGALS */
.guides ul, .faq-preview ul, .faq dl, .applications ul {
  margin: 18px 0 8px 0;
}
.guides ul li, .faq-preview ul li, .applications ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--grey);
  font-size: 1rem;
}
.faq dl dt {
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  margin-top: 20px;
}
.faq dl dd {
  padding-left: 12px;
  margin-bottom: 6px;
}
.faq-support-cta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.legal {
  background: var(--accent);
  border-radius: var(--radius);
  margin-bottom: 60px;
  box-shadow: 0 2px 12px rgba(35, 72, 138, 0.05);
}

/* FOOTER */
footer {
  width: 100%;
  background: var(--primary);
  padding: 36px 0 22px 0;
  color: #fff;
  margin-top: 60px;
  border-radius: 32px 32px 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}
footer img {
  height: 36px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  opacity: 0.88;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
  opacity: 1;
}
.footer-contact-info p, .footer-contact-info a {
  color: #fff;
  font-size: 0.97rem;
  opacity: 0.89;
}
.footer-contact-info a {
  text-decoration: underline;
  transition: color 0.13s;
}
.footer-contact-info a:hover { color: var(--secondary); }

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* THANK YOU PAGE */
.thank-you {
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 64px;
  padding: 46px 18px;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: var(--surface);
  box-shadow: 0 -4px 24px rgba(35, 72, 138, 0.12);
  border-top: 2px solid var(--secondary);
  z-index: 20000;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 18px 22px;
  animation: cookie-slideup 0.45s cubic-bezier(.44,1.27,.49,1.01);
}
@keyframes cookie-slideup {
  from { transform: translateY(100vh); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 240px;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0;
}
.cookie-banner .cookie-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0rem;
  padding: 10px 22px;
  border-radius: 9px;
  margin-left: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(56, 191, 167, 0.08);
  transition: background 0.17s, color 0.17s, transform 0.12s;
}
.cookie-banner .cookie-btn.accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .cookie-btn.accept:hover,
.cookie-banner .cookie-btn.accept:focus {
  background: var(--primary);
  color: #fff;
  transform: scale(1.03) skew(-2deg);
}
.cookie-banner .cookie-btn.reject {
  background: #e1e6f2;
  color: var(--primary);
}
.cookie-banner .cookie-btn.reject:hover,
.cookie-banner .cookie-btn.reject:focus {
  background: #e8f7f3;
  color: var(--secondary);
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cookie-banner .cookie-btn.settings:hover,
.cookie-banner .cookie-btn.settings:focus {
  background: var(--secondary);
  color: #fff;
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(22, 32, 48, 0.19);
  z-index: 20001;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: modal-fade-in 0.31s cubic-bezier(.29,1.19,.63,1);
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: var(--surface);
  border-radius: 18px;
  max-width: 400px;
  min-width: 290px;
  padding: 30px 24px 24px 24px;
  box-shadow: 0 12px 42px rgba(35,72,138,0.16);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-slide-in 0.36s cubic-bezier(.29,1.19,.63,1);
  position: relative;
}
@keyframes modal-slide-in {
  from { transform: translateY(60px) scale(.9); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cookie-modal .category-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.cookie-modal .cookie-switch {
  appearance: none;
  width: 44px;
  height: 24px;
  background: var(--accent);
  border-radius: 12px;
  border: 2px solid var(--secondary);
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-modal .cookie-switch:checked {
  background: var(--secondary);
}
.cookie-modal .cookie-switch:disabled {
  opacity: 0.6;
  cursor: default;
}
.cookie-modal .cookie-switch::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.17s;
}
.cookie-modal .cookie-switch:checked::before {
  left: 23px;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn {
  padding: 9px 16px;
  font-size: 0.99rem;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 16px;
  background: none;
  font-size: 1.8rem;
  color: var(--primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .13s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  background: #e1e6f2;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container {
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .section, .hero, .about-intro, .about, .team, .why-us, .legal, .thank-you, .cta {
    padding: 32px 6vw;
  }
  .content-wrapper {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .section, .hero, .about-intro, .about, .team, .why-us, .legal, .thank-you, .cta {
    padding: 26px 3vw;
    border-radius: 12px;
  }
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .footer-contact-info p {
    font-size: 0.91rem;
  }
  .footer-contact-info {
    margin-top: 10px;
  }
  .features ul, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex: 1 1 100%;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
    padding: 18px 10px;
  }
  .feature-item, .features ul li {
    min-width: 140px;
    padding: 18px 12px;
    font-size: 0.95rem;
  }
  .main-nav { display: none; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.07rem; }
  h3 { font-size: 1rem; }
  .footer-contact-info p { font-size: 0.89rem; }
  .footer-nav a { font-size: 0.95rem; }
  .cookie-modal { min-width: 90vw; max-width: 98vw; }
}
@media (max-width: 475px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-nav { gap: 9px; }
}

/* GEOMETRIC VISUAL EFFECTS */
.card, .feature-item, .about-intro, .about, .team, .why-us, .hero, .cta, .legal, .thank-you {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}
.card::after, .feature-item::after, .about-intro::after, .about::after, .team::after, .why-us::after, .cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--secondary) 40%, transparent 80%);
  opacity: 0.13;
  border-radius: 0 0 var(--radius) 0;
  pointer-events: none;
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(35, 72, 138, 0.16);
  transform: translateY(-3px) scale(1.02) skew(-2deg);
}

/* FORMS (if used in Kontakt page, etc.) */
input, textarea, select {
  min-width: 0;
  width: 100%;
  font-size: 1rem;
  border: 2px solid var(--grey);
  border-radius: 9px;
  background: #fff;
  padding: 11px 17px;
  color: var(--text);
  margin-bottom: 14px;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  background: #f8fcfc;
}
label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 5px;
}

/* MICRO-INTERACTIONS & TRANSITIONS */
.card, .testimonial-card, .feature-item, .cta-button, .main-nav a, .footer-nav a {
  transition: box-shadow 0.18s, transform 0.15s, background 0.16s, color 0.14s;
}

/* MISCELLANEOUS GEOMETRIC DECORATIVE SHAPES */
.hero::before {
  content: '';
  position: absolute;
  top: -44px;
  right: 46px;
  width: 110px;
  height: 110px;
  background: linear-gradient(120deg, var(--secondary) 60%, transparent);
  opacity: 0.10;
  border-radius: 32% 68% 41% 59%/68% 36% 64% 32%;
  z-index: 1;
  pointer-events: none;
}
.hero .container, .hero .content-wrapper {
  position: relative;
  z-index: 2;
}

/* ACCESSIBILITY: Focus styling for all interactive elements */
a:focus, button:focus, .cookie-btn:focus {
  outline: 2.5px solid var(--secondary);
  outline-offset: 2px;
  z-index: 3;
}

/* Spacing for all major blocks */
main > section:not(:last-child) {
  margin-bottom: 60px;
}

/* Utility Classes (optional, e.g. for spacing edge-cases) */
.mt-32 { margin-top: 32px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-16 { margin-top: 16px !important; }

/* END OF CSS */
