/* CyberBurst Impro - tech_futuristic style.css */
/* =====================
    CSS RESET & NORMALIZATION
   ===================== */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #181E37;
  min-height: 100vh;
  color: #E3F2FD;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  position: relative;
  letter-spacing: 0.01em;
  background-color: #181E37;
  /* Fallback */
  background-image: linear-gradient(135deg, #181E37 0%, #23254B 100%);
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 20px; }
li { margin-bottom: 8px; }
a { color: #F9A825; text-decoration: none; transition: color 0.2s; }
a:hover { color: #fff200; text-shadow: 0 0 8px #F9A825; }

hr { border: 0; height: 1px; background: #283593; margin: 24px 0; }

/* =====================
    TYPOGRAPHY
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Ubuntu', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2rem;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px #1a237e66;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #F9A825;
  text-shadow: 0 2px 10px #F9A82511;
}
h3 {
  font-size: 1.17rem;
  margin-bottom: 10px;
  color: #E3F2FD;
}
h4, h5, h6 { color: #E3F2FD; font-weight: 600; }
p, ul, ol { color: #B9D7F6; margin-bottom: 14px; font-size: 1rem; }
strong, b { color: #F9A825; font-weight: 700; }

@media (min-width: 600px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
}


/* =====================
    LAYOUT CONTAINERS
   ===================== */
.container {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #222a58;
  border-radius: 24px;
  box-shadow: 0 6px 48px #11182b70, 0 1px 2px #1a237e33;
  position: relative;
  transition: background 0.3s;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: flex-start;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #23254B;
  margin-bottom: 20px;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 4px 28px 0 #0e132366, 0 0.5px 2px #F9A82555 inset;
  padding: 28px 22px;
  color: #E3F2FD;
  transition: box-shadow 0.25s, border 0.2s;
  border: 2px solid transparent;
}
.card:hover {
  border-color: #F9A825BB;
  box-shadow: 0 8px 32px 4px #f9a82533, 0 0 8px #E3F2FD;
  z-index: 2;
}

.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;
  background: #E3F2FD;
  color: #181E37;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 12px #F9A82533, 0 0.5px 4px #23254B22;
  flex-direction: column;
  min-width: 0;
  max-width: 680px;
  position: relative;
  border: 1.5px solid #F9A825;
}
.testimonial-card p {
  color: #184187;
  margin-bottom: 10px;
  font-style: italic;
}
.testimonial-card strong {
  color: #1A237E;
  font-size: 1rem;
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Lists inside colored boxes remain readable */
ul, ol { color: #b4cdf5; }
.section ul, .card ul, .content-wrapper ul {
  color: #CDE6FF;
  font-size: 1rem;
  margin-bottom: 12px;
}



/* =====================
    BUTTONS & CTA
   ===================== */
.cta-primary, .main-nav .cta-primary {
  display: inline-block;
  font-family: 'Ubuntu', 'Open Sans', Arial, sans-serif;
  padding: 14px 32px;
  border-radius: 32px;
  background: #F9A825;
  color: #1A237E;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 1.1rem;
  border: none;
  box-shadow: 0 1.5px 8px #F9A82555, 0 0.5px 4px #1A237E44;
  cursor: pointer;
  transition: background 0.18s, color 0.19s, box-shadow 0.19s, transform 0.13s;
}
.cta-primary:hover, .main-nav .cta-primary:hover {
  background: #fffbe6;
  color: #1A237E;
  box-shadow: 0 3px 18px #f9a82599, 0 0 16px #E3F2FD88, 0 0 6px #fff200;
  transform: scale(1.05);
  text-decoration: none;
}

button, .button {
  font-family: inherit;
  border: none;
  outline: none;
  background: #222a58;
  color: #F9A825;
  border-radius: 12px;
  padding: 10px 22px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.18s, box-shadow 0.22s;
}
button:hover, .button:hover {
  background: #F9A825;
  color: #23254B;
  box-shadow: 0 2px 8px #F9A82544, 0 0.5px 4px #23254B33;
}


/* =====================
    HEADER & NAVIGATION
   ===================== */
header {
  width: 100%;
  background: #10132b;
  box-shadow: 0 1px 24px #1a237e22;
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 20px;
  flex-wrap: wrap;
}
.main-nav img {
  height: 40px;
  margin-right: 22px;
}
.main-nav a {
  color: #E3F2FD;
  font-family: 'Ubuntu', 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.17s;
  border-radius: 6px;
  padding: 8px 12px;
}
.main-nav a:hover {
  color: #F9A825;
  background: #23254B11;
}

/* Hide mobile nav on desktop */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

/* =====================
    FOOTER
   ===================== */
footer {
  background: #0f152c;
  color: #B9D7F6;
  padding: 40px 0 24px 0;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-bottom: 28px;
}
.footer-nav a {
  color: #F9A825;
  font-family: 'Ubuntu', sans-serif;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.17s;
}
.footer-nav a:hover {
  color: #E3F2FD;
}

.footer-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}
.footer-brand img {
  height: 40px;
}
.footer-contact {
  text-align: center;
  font-size: 1rem;
  color: #B9D7F6;
}
.footer-contact p {
  margin: 0 0 6px 0;
  color: #B4CDF6;
  font-size: 0.97rem;
}


/* =====================
    RESPONSIVE NAV & FLEX LAYOUTS
   ===================== */
@media (max-width: 1050px) {
  .container { max-width: 96vw; }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 14px;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 19px;
    right: 22px;
    z-index: 191;
    width: 44px;
    height: 44px;
    background: #23254B;
    border-radius: 50%;
    border: 2px solid #F9A825;
    color: #F9A825;
    font-size: 2rem;
    cursor: pointer;
    transition: box-shadow 0.19s;
    box-shadow: 0 2px 8px #F9A82533;
    text-align: center;
    line-height: 40px;
  }
  .mobile-menu-toggle:focus {
    outline: 2px solid #F9A825;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background: #181E37;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 3000;
    padding: 0;
    transform: translateX(-100%);
    transition: transform 0.33s cubic-bezier(.4,2,.6,1), opacity 0.19s;
    box-shadow: 0 4px 32px #0e132355, 0 0.5px 4px #F9A82544 inset;
  }
  .mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
  }
  .mobile-menu-close {
    margin: 22px 0 22px 18px;
    font-size: 1.6rem;
    color: #F9A825;
    background: transparent;
    border: none;
    cursor: pointer;
    align-self: flex-end;
    padding: 0 22px;
    transition: color 0.1s;
  }
  .mobile-menu-close:hover {
    color: #fff200;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    align-items: flex-start;
    padding: 0 28px;
    margin-top: 12px;
  }
  .mobile-nav a {
    color: #F9A825;
    font-size: 1.15rem;
    padding: 13px 0;
    border-bottom: 1px solid #242A53;
    width: 100%;
    font-family: 'Ubuntu', 'Open Sans', Arial, sans-serif;
    font-weight: 500;
    display: block;
    transition: background 0.16s, color 0.15s;
  }
  .mobile-nav a:hover {
    color: #E3F2FD;
    background: #F9A82511;
  }
}

@media (max-width: 900px) {
  .footer-nav { gap: 18px; }
}
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 8px;
    border-radius: 11px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .card-container { gap: 12px; }
  .content-grid, .card-container, .feature-item, .text-image-section {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .testimonial-card {
    padding: 14px 7px;
    border-radius: 9px;
    max-width: 96vw;
  }
}


/* =====================
    INTERACTIVE & ANIMATION
   ===================== */
.section, .card, .testimonial-card, .cta-primary, .button, .mobile-menu, .mobile-menu-toggle {
  will-change: transform, box-shadow;
}
.section, .card {
  transition: box-shadow 0.25s, border 0.2s, background 0.33s;
}
.cta-primary, .button {
  transition: background 0.18s, color 0.14s, box-shadow 0.22s, transform 0.12s;
}


/* =====================
    COOKIE CONSENT BANNER
   ===================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 4000;
  background: #23254B;
  color: #E3F2FD;
  box-shadow: 0 -5px 48px #181E3715;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 24px 14px;
  font-size: 1rem;
  animation: cookie-slideup 0.8s cubic-bezier(.57,2.1,.41,.99);
}
@keyframes cookie-slideup {
  from { transform: translateY(125%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
}
.cookie-banner .button, .cookie-banner .cta-primary {
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 9px;
  margin-bottom: 0;
}
.cookie-banner .cookie-settings {
  background: #222a58;
  color: #F9A825;
  border: 2px solid #F9A825;
}
.cookie-banner .cookie-settings:hover {
  background: #F9A825;
  color: #222a58;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 20px;
    padding: 20px 4vw;
  }
  .cookie-banner-buttons { gap: 9px; }
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #0f152cc0;
  z-index: 4010;
  display: flex;
  align-items: center; justify-content: center;
  animation: modal-fadein .35s cubic-bezier(.57,2.1,.41,.99);
}
@keyframes modal-fadein {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #181E37;
  border-radius: 18px;
  box-shadow: 0 4px 48px #1A237E77, 0 1.5px 6px #F9A82533;
  color: #E3F2FD;
  padding: 36px 20px 24px 22px;
  width: 96vw;
  max-width: 390px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-pop 0.33s cubic-bezier(.69,2,.5,1.15);
}
@keyframes modal-pop {
  from { transform: scale(0.8); opacity: .6; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-toggle {
  width: 48px; height: 22px;
  background: #23254B;
  border-radius: 12px;
  position: relative;
  border: 1px solid #B9D7F6;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-modal .cookie-toggle[aria-checked="true"] {
  background: #F9A825;
  border-color: #F9A825;
}
.cookie-modal .cookie-toggle:before {
  content: "";
  display: block;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: #E3F2FD;
  position: absolute;
  left: 0.5px; top: 0.5px;
  transition: left 0.18s, background 0.12s;
}
.cookie-modal .cookie-toggle[aria-checked="true"]:before {
  left: 25px;
  background: #fffbe6;
}
.cookie-modal .essential-label{
  color: #bbbbbb;
  text-decoration: underline;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 11px;
  background: transparent;
  border: none;
  color: #F9A825;
  font-size: 1.3rem;
  cursor: pointer;
}
.cookie-modal-close:hover {
  color: #E3F2FD;
}

@media (max-width: 420px) {
  .cookie-modal {
    padding: 16px 6vw 12px 6vw;
  }
}


/* =====================
    MICRO-INTERACTIONS
   ===================== */
.card:hover {
  outline: 0.5px solid #F9A82588;
  box-shadow: 0 6px 24px #F9A82522,0 1.5px 12px #E3F2FD33;
  transform: translateY(-2px) scale(1.032);
}
.cta-primary:focus, .cta-primary:active {
  outline: 2px solid #E3F2FD;
  outline-offset: 1.5px;
}
.card:focus-within {
  box-shadow: 0 6px 24px #F9A82533, 0 0 2px #F9A82566;
}
button:focus, .button:focus {
  outline: 2px solid #F9A825;
  outline-offset: 2px;
}
.main-nav a:focus, .mobile-nav a:focus {
  background: #F9A82533;
}

/* =====================
    UTILITIES
   ===================== */
.neon {
  color: #F9A825;
  text-shadow: 0 0 7px #fff200, 0 0 13px #fff20044;
}
.text-accent { color: #E3F2FD; }
.text-dark { color: #181E37; }
.text-primary { color: #1A237E; }
.bg-accent { background: #E3F2FD; color: #181E37; }
.rounded { border-radius: 24px; }
.shadow {
  box-shadow: 0 4px 28px 0 #0e132366, 0 0.5px 2px #F9A82555 inset;
}

/* icon alignment in kontakt.html */
.text-section img {
  width: 1.15em; height: 1.15em; vertical-align: middle; margin-right: 7px;
  filter: drop-shadow(0 0 2px #F9A82544);
  display: inline-block;
}
.text-section p { display: flex; align-items: center; gap: 6px; }


/* =====================
    SPACING & FLEX-LAYOUT ENFORCEMENTS
   ===================== */
.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; }

/* Enforce spacing in lists of cards or testimonials */
.content-wrapper > .testimonial-card:not(:last-child) { margin-bottom: 20px; }
.content-wrapper > div:not(:last-child), .content-wrapper > ul:not(:last-child), .content-wrapper > h2:not(:last-child), .content-wrapper > h3:not(:last-child) { margin-bottom: 10px; }

/* =====================
    END OF FILE
   ===================== */
