/* ----------------------------------------------------
   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, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  background: #121926;
  color: #F0F4FB;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  scrollbar-color: #1A365D #222b3b;
  scrollbar-width: thin;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #FFDB62;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #FFF9E2;
  text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #FFDB62;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  line-height: 1.24;
}
h1 { font-size: 2.8rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.12rem; }

ul, ol {
  margin-left: 20px;
  margin-bottom: 24px;
  padding-left: 0;
}
li {
  margin-bottom: 8px;
}
strong, b {
  font-weight: 700;
}

/* ----------------------------------------------------
   BRAND COLORS & ACCENTS
---------------------------------------------------- */
:root {
  --primary: #1A365D;
  --secondary: #8898B3;
  --accent: #FFDB62;
  --background: #121926;
  --surface: #16213c;
  --surface-light: #1C2844;
  --text-light: #F0F4FB;
  --text-dark: #181A1B;
  --neon-blue: #48AFFF;
  --neon-cyan: #33ffd1;
  --box-radius: 18px;
  --shadow: 0 4px 32px 0 rgba(26,54,93,0.17), 0 1.5px 7px 0 rgba(76,148,255,0.07);
}

/* ----------------------------------------------------
   LAYOUT STRUCTURE & CONTAINERS
---------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--surface-light);
  border-radius: var(--box-radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.22s;
}

/* ----------------------------------------------------
   HEADER & NAVIGATION
---------------------------------------------------- */
header {
  width: 100%;
  background: var(--primary);
  box-shadow: 0 2px 16px 0 rgba(26,54,93,0.14);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}
header img {
  height: 42px;
  width: auto;
  display: block;
  margin-right: 14px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #F0F4FB;
  letter-spacing: 0.03em;
  padding: 8px 0;
  position: relative;
  transition: color 0.18s;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent) 60%, var(--neon-cyan) 100%);
  transition: width 0.25s cubic-bezier(.33,1.02,.59,1);
  position: absolute;
  left: 0; bottom: -4px;
  border-radius: 2px;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}
.main-nav a.active {
  color: var(--accent);
  font-weight: bold;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #181A1B;
  background: var(--accent);
  border: none;
  padding: 12px 32px;
  border-radius: 32px;
  letter-spacing: .04em;
  box-shadow: 0 2px 20px 0 rgba(255,219,98,0.13);
  cursor: pointer;
  transition: background 0.17s, transform 0.18s, box-shadow 0.16s;
  outline: none;
  margin-left: 12px;
  text-shadow: 0 1px 6px #fff5db55;
  border: 2px solid transparent;
}
.cta-btn:hover, .cta-btn:focus {
  background: #ffd042;
  color: #181a1b;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 28px 0 rgba(255,219,98,0.22);
  border-color: var(--accent);
}

/* Burger icon */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #FFDB62;
  font-size: 2rem;
  cursor: pointer;
  padding: 8px 16px;
  margin-left: 18px;
  transition: color 0.18s;
  z-index: 201;
}
.mobile-menu-toggle:focus {
  color: #FFF9E2;
  outline: 2px solid var(--accent);
}

/* Mobile NAV MENU */
.mobile-menu {
  position: fixed;
  display: flex;
  flex-direction: column;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(22,33,60, 0.98);
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.65,1.6,.44,1), box-shadow 0.18s;
  box-shadow: 0 8px 30px 0 rgba(26,54,93,.25);
  padding: 0 0 0 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #FFDB62;
  font-size: 2.2rem;
  align-self: flex-end;
  padding: 18px 26px 0 0;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 205;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff9e2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  margin: 18px 0;
  padding: 0 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #FFDB62;
  font-weight: 600;
  font-size: 1.25rem;
  padding: 14px 0;
  border-bottom: 1px solid rgba(182,201,234,0.06);
  transition: color 0.16s, background 0.16s;
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff9e2;
  background: rgba(255,219,98,0.06);
  border-radius: 4px;
}

/* Hide main-nav and CTA btn on mobile */
@media (max-width: 1023px) {
  .main-nav,
  .header-container .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* Show regular nav & hide burger on desktop */
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ----------------------------------------------------
   HERO SECTION
---------------------------------------------------- */
.hero {
  width: 100%;
  min-height: 380px;
  background: linear-gradient(135deg, #213e6e 78%, #1A365D 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 2px 22px 0 rgba(26,54,93,0.08);
}
.hero .container {
  align-items: center;
  padding-top: 38px;
  padding-bottom: 38px;
}
.hero .content-wrapper {
  gap: 24px;
  align-items: center;
  text-align: center;
}
.hero h1 {
  color: #fff;
  font-size: 2.6rem;
  letter-spacing: 1.9px;
  text-shadow: 0 2px 20px #223A6F;
  margin-bottom: 10px;
  margin-top: 0;
}
.hero .subheadline {
  font-size: 1.28rem;
  color: #F0F4FB;
  margin-bottom: 16px;
  letter-spacing: .04em;
}

/* ----------------------------------------------------
   FLEXBOX SPACING & ALIGNMENT PATTERNS
---------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: var(--surface);
  border-radius: var(--box-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  flex: 1 1 320px;
  min-width: 280px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 32px 22px;
  transition: box-shadow 0.22s, transform 0.15s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 38px 0 rgba(76,148,255,0.12);
  transform: translateY(-2px) scale(1.012);
  border: 1.5px solid var(--neon-blue);
}

.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;
  background: #fffef9;
  color: #161b24;
  border-radius: var(--box-radius);
  padding: 20px;
  box-shadow: 0 2px 14px 0 rgba(26,54,93,0.07);
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* ----------------------------------------------------
   FEATURE GRID (on "Unsere Stärken", "Leistungen", "Märkte" etc)
 ---------------------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 360px;
  background: var(--surface);
  border-radius: var(--box-radius);
  padding: 32px 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.18s, transform 0.14s;
}
.feature-grid > div:hover,
.feature-grid > div:focus-within {
  box-shadow: 0 8px 32px 0 rgba(72,175,255,0.10);
  transform: translateY(-2px) scale(1.01);
  border: 1.5px solid var(--neon-blue);
}
.feature-grid img {
  height: 54px;
  width: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 3px 8px #33ffd115);
}
.feature-grid h3 {
  color: var(--accent);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.feature-grid p {
  color: #DFE5F2;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

/* ----------------------------------------------------
   CTA BANNER SECTION
---------------------------------------------------- */
.cta-banner {
  background: linear-gradient(90deg, #233976 64%, #1A365D 100%);
  color: #fff;
  box-shadow: 0 2px 16px 0 rgba(244,209,25,0.07);
  border-radius: var(--box-radius);
  margin-bottom: 60px;
  padding: 46px 24px;
  text-align: center;
}
.cta-banner h2 {
  color: #FFDB62;
  margin-bottom: 16px;
  font-size: 2.1rem;
}
.cta-banner a.cta-btn {
  margin-top: 18px;
}

/* ----------------------------------------------------
   TEXTUAL SECTIONS & LISTS
---------------------------------------------------- */
.text-section, .market-highlights {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section ul,
.market-highlights ul {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0;
}
.text-section h3, .market-highlights h3 {
  color: var(--neon-blue);
  font-size: 1.1rem;
}

/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */
footer {
  background: var(--primary);
  color: #bfcbe6;
  padding: 36px 0 18px 0;
  margin-top: 30px;
  border-radius: 32px 32px 0 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 1rem;
  justify-content: flex-start;
  margin-bottom: 16px;
  padding-left: 8px;
}
.footer-nav a {
  color: #FFDB62;
  font-weight: 600;
  transition: color 0.15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #FFF9E2;
}
.footer-contact {
  font-size: 0.98rem;
  color: #e0ecf7;
  margin-bottom: 10px;
}
.footer-contact span {
  margin-right: 14px;
}
@media (max-width: 600px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 10px;
  }
}

/* ----------------------------------------------------
   RESPONSIVE ADJUSTMENTS
---------------------------------------------------- */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
  .feature-grid { gap: 18px; }
}
@media (max-width: 900px) {
  .feature-grid > div { flex: 1 1 240px; padding: 26px 16px; }
  .section, .cta-banner { padding: 30px 8px; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 1.65rem; }
  h2 { font-size: 1.44rem; }
  .feature-grid { flex-direction: column; gap: 14px; }
  .section { margin-bottom: 36px; padding: 24px 6px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .content-grid { flex-direction: column; gap: 16px; }
  .text-image-section { flex-direction: column; gap: 14px; }
}
@media (max-width: 520px) {
  .hero .container { padding-top: 10px; padding-bottom: 18px; }
  .section, .cta-banner { padding: 14px 1.5vw; }
  .content-wrapper { gap: 12px; }
}

/* ----------------------------------------------------
   BUTTON STYLES & MICRO-INTERACTIONS
---------------------------------------------------- */
button, .cta-btn, .mobile-nav a, .mobile-menu-close {
  outline: none;
}
button:focus-visible, .cta-btn:focus-visible, .mobile-nav a:focus-visible {
  outline: 2px solid var(--neon-blue);
  outline-offset: 2px;
}

/* ----------------------------------------------------
   FORM ELEMENTS (newsletter, contact, modals etc.)
---------------------------------------------------- */
input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  background: var(--surface);
  border: 1.4px solid var(--secondary);
  border-radius: 8px;
  color: #F0F4FB;
  margin-bottom: 18px;
  transition: border-color 0.17s, box-shadow 0.18s;
  font-family: inherit;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--neon-blue);
  box-shadow: 0 2px 12px 0 rgba(76,148,255,0.13);
}

/* ----------------------------------------------------
   COOKIE CONSENT BANNER
---------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  z-index: 1090;
  background: #181c27;
  color: #F0F4FB;
  box-shadow: 0 -3px 24px 0 rgba(26,54,93,0.19);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 2vw 18px 2vw;
  font-size: 1rem;
  transition: transform 0.44s;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.cookie-actions button {
  display: inline-flex;
  align-items: center;
  border-radius: 20px;
  padding: 8px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  font-weight: 600;
  cursor: pointer;
  background: var(--accent);
  color: #223a6f;
  box-shadow: 0 2px 10px 0 rgba(255,219,98,0.12);
  transition: background 0.18s, color 0.17s, transform 0.12s;
}
.cookie-actions button:hover, .cookie-actions button:focus {
  background: #ffd042;
  color: #181a1b;
  transform: scale(1.04);
}
.cookie-actions .cookie-settings {
  background: transparent;
  color: #FFDB62;
  border: 2px solid #FFDB62;
  box-shadow: none;
  padding: 8px 16px;
}
.cookie-actions .cookie-settings:hover, .cookie-actions .cookie-settings:focus {
  background: #2a3b59;
  color: #fff9e2;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 18px 1vw 10px 1vw;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-actions {
    gap: 8px;
  }
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1200;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(22,33,60, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s;
  opacity: 1;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--surface-light);
  color: #F0F4FB;
  border-radius: var(--box-radius);
  max-width: 400px;
  width: 96vw;
  padding: 36px 28px 24px 28px;
  box-shadow: 0 8px 44px 0 rgba(76,148,255,0.16);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: modalPopIn 0.48s cubic-bezier(.64,1.32,.44,1);
}
@keyframes modalPopIn {
  0% { transform: scale(0.8) translateY(88px); opacity: 0; }
  70% { transform: scale(1.05) translateY(-8px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal .modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 1.6rem;
  cursor: pointer;
}
.cookie-modal h2 {
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 6px 0;
}
.cookie-modal label {
  font-size: 1rem;
  color: #fff9e2;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}
.cookie-modal .category[disabled], .cookie-modal .category input[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .modal-actions button {
  padding: 8px 18px;
  font-size: 1rem;
  border-radius: 20px;
  border: none;
}
.cookie-modal .modal-actions .save-btn {
  background: var(--accent);
  color: #181b25;
  font-weight: 600;
  margin-left: 10px;
  transition: background 0.14s;
}
.cookie-modal .modal-actions .save-btn:hover,
.cookie-modal .modal-actions .save-btn:focus {
  background: #ffd042;
}
.cookie-modal .modal-actions .cancel-btn {
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  border: 2px solid var(--accent);
}
.cookie-modal .modal-actions .cancel-btn:hover,
.cookie-modal .modal-actions .cancel-btn:focus {
  background: #233976;
  color: #fff;
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 22px 8px 11px 8px;
  }
}

/* ----------------------------------------------------
   UTILITY & MISCELLANEOUS
---------------------------------------------------- */
hr {
  border: none;
  border-top: 1.4px solid #23347c44;
  margin: 32px 0 24px 0;
}
dt { font-weight: 700; color: var(--accent); margin-top: 10px; }
dd { margin-bottom: 7px; margin-left: 0; }

::-webkit-scrollbar { width: 8px; background: #181c27; }
::-webkit-scrollbar-thumb { background: #213e6e; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #223a6f; }

/* Neon accent border for "futuristic" effect */
.card, .feature-grid > div, .testimonial-card, .section, .cta-banner {
  border: 1.5px solid #213e6e;
  box-shadow: var(--shadow);
  position: relative;
}
.card:hover:before, .feature-grid > div:hover:before,
.card:focus-within:before, .feature-grid > div:focus-within:before {
  content: '';
  position: absolute; inset: -2px;
  border-radius: calc(var(--box-radius) + 2px);
  border: 1.7px solid var(--neon-cyan);
  pointer-events: none;
  filter: drop-shadow(0 0 8px #33ffd188) drop-shadow(0 0 3px #1bfff77c);
}

/* ----------------------------------------------------
   ACCESSIBILITY ENHANCEMENTS
---------------------------------------------------- */
:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ----------------------------------------------------
   SKIP-LINKS FOR ACCESSIBILITY
---------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -100vw;
  top: 0;
  background: var(--neon-blue);
  color: #181B25;
  padding: 8px 24px;
  border-radius: 16px;
  z-index: 999;
  transition: left 0.15s;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.skip-link:focus {
  left: 8px;
}

/* ----------------------------------------------------
   PRINT CSS (OPTIONAL FOR BRAND MATERIALS)
---------------------------------------------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { background: #fff; color: #1a365d; }
}
