/* ==== 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.4;
  background: #171E27; /* deep tech background */
  color: #F4F5F7;
  font-family: 'Open Sans', Arial, sans-serif;
  background-repeat: no-repeat;
  min-height: 100vh;
  font-size: 16px;
  overscroll-behavior-y: none;
}

img {
  max-width: 100%;
  display: block;
}

button, input, textarea {
  font-family: inherit;
  font-size: 1em;
  outline: none;
  border: none;
  background: none;
}

ol, ul {
  list-style: none;
}

a {
  color: #F2AA3C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #ffda8c;
}

/* ==== BRAND FONTS (WEB-SAFE FALLBACKS) ==== */
h1, h2, h3, .btn, .logo {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.7rem; font-weight: 700; margin-bottom: 16px; }
h2 { font-size: 2rem; font-weight: 600; margin-bottom: 16px; }
h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 12px; }
.lead { font-size: 1.2rem; margin-bottom: 8px; }

p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #e4e8ed;
}

strong {
  color: #F2AA3C;
  font-weight: 600;
}

/* ==== LAYOUT CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(33,53,81,0.3);
  border-radius: 16px;
  box-shadow: 0 2px 20px 0 rgba(70,130,180,0.13);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  position: relative;
  background: #232B37;
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 rgba(70,130,180,0.13);
  padding: 28px 22px;
  flex: 1 1 320px;
  min-width: 260px;
  transition: transform 0.22s, box-shadow 0.22s;
}
.card:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 7px 36px 0 #22486859,0 0 0 2px #F2AA3C;
  z-index: 10;
}

.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: #F4F5F7;
  box-shadow: 0 2px 18px 0 #22486829;
  border-radius: 14px;
  color: #232B37;
  min-width: 220px;
  max-width: 360px;
  margin-bottom: 20px;
  font-size: 1rem;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card p {
  color: #232B37;
  line-height: 1.55;
}
.testimonial-card strong {
  color: #224868;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 #22486839;
  transform: translateY(-2px) scale(1.012);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

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

/* ==== HEADER ==== */
header {
  background: #212C3D;
  box-shadow: 0 3px 14px 0 rgba(34, 72, 104, 0.06);
  border-bottom: 2px solid #22486822;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 12px 16px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo img {
  height: 42px;
}

.main-nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
.main-nav a {
  color: #F4F5F7;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  position: relative;
  transition: background 0.15s, color 0.15s;
}
.main-nav a.active, .main-nav a:hover, .main-nav a:focus {
  background: #224868;
  color: #F2AA3C;
}

/* ==== HEADER CTA BUTTON ==== */
.btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 28px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  background: none;
  border: 2px solid #F2AA3C;
  color: #F2AA3C;
  box-shadow: 0 1px 8px 0 #F2AA3C18;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  margin-left: 16px;
  text-align: center;
}
.btn:hover, .btn:focus {
  background: #F2AA3C;
  color: #232B37;
  box-shadow: 0 2px 18px #F2AA3C44;
}

.btn.btn-primary {
  background: #F2AA3C;
  color: #232B37;
  border-color: #F2AA3C;
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
  background: #ffe4b1;
  color: #224868;
  border-color: #F2AA3C;
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px; top: 18px;
  background: #224868;
  color: #F2AA3C;
  border-radius: 8px;
  font-size: 2.2rem;
  padding: 0 13px;
  border: none;
  z-index: 201;
  cursor: pointer;
  transition: background 0.15s;
  box-shadow: 0 4px 18px #22486814;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #1B222B;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #232B37;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.4,1.7,.7,1.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 20px 20px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #F2AA3C;
  font-size: 2.1rem;
  border: none;
  align-self: flex-end;
  margin-bottom: 22px;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 10001;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  color: #F2AA3C;
  padding: 12px 0 12px 6px;
  font-size: 1.18rem;
  border-radius: 6px;
  font-weight: 600;
  transition: color 0.12s, background 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #224868;
  color: #fff8ed;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 10px;
  }
  .btn {
    margin-left: 8px;
    padding: 10px 20px;
  }
}
@media (max-width: 875px) {
  .main-nav, header .btn.btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ==== HERO & SECTIONS ==== */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0;
}
.text-section {
  background: rgba(36,45,51,0.68);
  padding: 24px 26px;
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 #22486811;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ==== USP & ICON LIST ==== */
.usp-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.usp-list p {
  display: flex;
  align-items: center;
  font-size: 1.06rem;
  gap: 12px;
  background: #232B37;
  border-radius: 8px;
  padding: 10px 18px;
  color: #F2AA3C;
  font-weight: 600;
  box-shadow: 0 0px 8px 0 #22486809;
  margin-bottom: 0;
}
.usp-list img {
  width: 26px;
  height: 26px;
}

ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
ul li img {
  margin-top: 2px;
  width: 22px;
  height: 22px;
}

/* ==== SERVICES (ANGEBOTE) ==== */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.service-card {
  background: #212C3D;
  border: 1.5px solid #22486833;
  box-shadow: 0 3px 18px #22486815;
  border-radius: 14px;
  padding: 32px 22px 24px 22px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.19s;
}
.service-card h3 {
  color: #F2AA3C;
  font-size: 1.2rem;
  margin-bottom: 12px;
  line-height: 1.25;
}
.service-card p {
  margin-bottom: 6px;
  color: #F4F5F7;
}
.service-card strong {
  color: #ffe4b1;
  font-size: 1.04em;
}
.service-card:hover {
  box-shadow: 0 10px 34px #F2AA3C23, 0 0 0 2px #F2AA3C99;
  transform: translateY(-3px) scale(1.018);
  z-index: 6;
}

/* ==== FOOTER ==== */
footer {
  background: #171E27;
  padding: 44px 0 24px 0;
  border-top: 2px solid #22486822;
  color: #F4F5F7;
}
footer .container {
  padding-top: 0;
  padding-bottom: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
.branding {
  min-width: 190px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.branding img {
  height: 35px;
}
.footer-nav,
.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 145px;
}
.footer-nav a, .legal-nav a {
  color: #F2AA3C;
  font-weight: 600;
  font-size: 1.08rem;
  margin-bottom: 2px;
  transition: color 0.15s;
}
.footer-nav a:hover, .legal-nav a:hover {
  color: #fff;
}
.footer-contact {
  min-width: 190px;
  max-width: 260px;
  font-size: 0.97rem;
}

/* ==== SECTION SPACING & CARD RULES ==== */
.section, section, .card-container, .card, .content-grid, .text-image-section,
.testimonial-card, .feature-item {
  margin-bottom: 0px !important; /* let only last in flex wrap have non-zero margin */
}
section, .section {
  margin-bottom: 60px !important;
  padding-top: 40px !important;
  padding-bottom: 40px !important;
  padding-left: 0;
  padding-right: 0;
}
.card-container, .content-grid, .text-image-section {
  gap: 24px !important;
}
.service-grid {
  gap: 24px !important;
}
.card, .testimonial-card, .service-card {
  margin-bottom: 20px !important;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1300px) {
  .container { max-width: 98vw; }
}
@media (max-width: 1024px) {
  .footer-contact, .branding {
    max-width: 100%;
    min-width: unset;
  }
  footer .content-wrapper { gap: 22px; }
}
@media (max-width: 875px) {
  .footer-nav, .legal-nav {
    min-width: 100px;
  }
  .branding { max-width: 200px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
  .container {
    padding: 0 7px;
  }
  .main-nav, header .btn.btn-primary {
    display: none;
  }
  .footer-contact, .branding {
    min-width: unset;
    max-width: 100%;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 25px;
    align-items: flex-start;
  }
  section, .section {
    margin-bottom: 36px !important;
    padding-top: 22px !important;
    padding-bottom: 22px !important;
  }
  .content-wrapper, .text-section {
    padding: 16px 4px;
    gap: 16px;
  }
  .card, .testimonial-card, .service-card {
    padding: 16px 9px;
  }
  .service-grid, .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 13px;
  }
  .text-image-section { flex-direction: column; }
}
@media (max-width: 440px) {
  h1 { font-size: 1.18rem; }
  .btn { padding: 10px 12px; font-size: 0.98rem; }
}

/* ==== FOCUS STYLES / ACCESSIBILITY ==== */
a:focus, button:focus, .btn:focus {
  outline: 2px solid #F2AA3C;
  outline-offset: 2px;
}

/* ==== MICRO-INTERACTIONS ==== */
.card, .btn, .testimonial-card, .service-card, .mobile-menu, .mobile-menu-close {
  transition: box-shadow 0.2s, background 0.22s, color 0.2s, transform 0.19s;
}

/* ==== NEON AND GLOW ACCENTS ==== */
.btn-primary, .btn-primary:focus {
  box-shadow: 0 0 0 3px #ffe4b161, 0 1px 14px 0 #F2AA3C27;
}

.card:before, .service-card:before {
  content: '';
  display: none;
}

/* ==== GRADIENT SEPARATORS (Tech/Futuristic) ==== */
section > .container > h2,
.content-wrapper > h2 {
  position: relative;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
section > .container > h2::after,
.content-wrapper > h2::after {
  content: '';
  display: block;
  width: 68px;
  height: 3px;
  border-radius: 4px;
  background: linear-gradient(90deg,#F2AA3C 0,#224868 100%);
  margin-top: 8px;
}

/* ==== COOKIE CONSENT ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #232B37;
  color: #F4F5F7;
  border-top: 2px solid #F2AA3C55;
  box-shadow: 0 -4px 24px #22486824;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 10vw 22px 16vw;
  z-index: 10020;
  font-size: 1rem;
  transition: transform 0.38s cubic-bezier(.4,1.7,.7,1.1);
  transform: translateY(120%);
}
.cookie-banner.active {
  transform: translateY(0);
}
.cookie-banner p {
  flex: 1 1 220px;
  color: #F4F5F7;
  margin: 0;
  font-size: 1.06rem;
}
.cookie-banner .cookie-btn {
  margin-left: 14px;
  padding: 8px 24px;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: #224868;
  color: #F2AA3C;
  border: 2px solid #F2AA3C;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.17s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #F2AA3C;
  color: #232B37;
}
.cookie-banner .cookie-btn.settings {
  background: #232B37;
  color: #F2AA3C;
  border: 2px solid #F2AA3C;
}
.cookie-banner .cookie-btn.reject {
  background: #171E27;
  color: #F2AA3C;
  border: 2px solid #F2AA3C;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 16px 12px;
  }
  .cookie-banner .cookie-btn {
    margin-left: 0;
    width: 90%;
    margin-bottom: 8px;
  }
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(25,29,42, 0.79);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #232B37;
  border-radius: 18px;
  padding: 36px 26px 26px 26px;
  box-shadow: 0 6px 54px #22486828;
  max-width: 98vw;
  width: 410px;
  color: #F4F5F7;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 12100;
  animation: popup-modal 0.64s 1 cubic-bezier(.7,1.4,.7,1.03);
}
@keyframes popup-modal {
  0% { transform: translateY(70px) scale(0.84); opacity:0; }
  85% { transform: translateY(-12px) scale(1.03); opacity:1; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 13px;
  top: 6px;
  background: none;
  color: #F2AA3C;
  font-size: 2rem;
  border: none;
  cursor: pointer;
}
.cookie-modal h3 {
  color: #F2AA3C;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1.03rem;
  gap: 12px;
  margin-bottom: 12px;
}
.toggle-switch {
  position: relative;
  width: 36px;
  height: 18px;
  margin-right: 8px;
}
.toggle-switch input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.toggle-slider {
  position: absolute;
  top: 0; left: 0;
  width: 36px; height: 18px;
  background: #224868;
  border-radius: 22px;
  transition: background 0.2s;
}
.toggle-switch input:checked + .toggle-slider {
  background: #F2AA3C;
}
.toggle-slider:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  height: 12px; width: 12px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.18s, background 0.15s;
}
.toggle-switch input:checked + .toggle-slider:before {
  left: 21px;
  background: #fffbe9;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.cookie-modal-actions .btn {
  flex: 1 1 0;
  min-width: 40px;
}

/* ==== TECH FUTURISTIC ACCENTS ==== */
body {
  /* Simulated top gradient stripe */
  background: linear-gradient(180deg,#161b2a 0 170px, #21293b 350px 100%), #171E27;
}
section {
  border-left: 4px solid #F2AA3C;
  box-shadow: 0px 20px 54px #2248680a;
}
@media (max-width:768px){
  section { border-left: none; border-top: 3px solid #F2AA3C; }
}

.text-section, .testimonial-card, .service-card {
  box-shadow: 0 1px 10px #2248680c, 0 0.5px 1.5px #F2AA3C10;
}

.card, .service-card { border: 1.5px solid #F2AA3C33; }

/* Neon border active on hover/focus for cards & buttons */
.card:hover, .service-card:hover, .btn-primary:hover, .btn-primary:focus {
  box-shadow: 0 0 0 3px #ffe4b181, 0 2px 28px #F2AA3C33;
  border-color: #F2AA3C;
}

/* Subtle glowing dots for divider (futuristic ui) */
section > .container > h2:before, .content-wrapper > h2:before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 11px;
  vertical-align: bottom;
  background: radial-gradient(circle at 40% 60%,#F2AA3C88 0px,#F2AA3C22 84%,transparent 93%);
  border-radius: 50%;
}

/* ==== MISC ALL-PAGE STYLES ==== */
::-webkit-scrollbar {
  width: 9px;
  background: #212C3D;
}
::-webkit-scrollbar-thumb {
  background: #224868cc;
  border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover {
  background: #F2AA3C;
}

/* Consistency: Ensure no overlap & proper z-index stacking */
.card, .testimonial-card, .service-card, .cookie-banner, .mobile-menu {
  z-index: 2;
}

/* Avoid position: absolute for any card, only for minor accent visuals or modal close */

/* END OF STYLE.CSS */
