/* ====================
   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;
}
html {
  scroll-behavior: smooth;
  background: #101925;
}
body {
  background: #101925;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #eef3f7;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*:focus {
  outline: 2px solid #3FA174;
  outline-offset: 2px;
}
a {
  color: #3FA174;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #F2F5F8;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ==========
   VARIABLES
   ========== */
:root {
  --primary: #16395A;
  --secondary: #3FA174;
  --accent: #F2F5F8;
  --bg-dark: #101925;
  --bg-section: #15213a;
  --neon: #3FA174;
  --neon-light: #4fe598;
  --white: #fff;
  --shadow: 0 2px 24px rgba(63, 161, 116, 0.07), 0 1.5px 8px rgba(22,57,90,0.09);
  --radius: 14px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/*==============================
  BASE SPACING, LAYOUT & CONTAINERS
==============================*/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

/* ===============================
   TYPOGRAPHY HIERARCHY
=============================== */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent);
  font-size: 2.4rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 8px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--secondary);
  font-size: 1.3rem;
  margin-bottom: 8px;
}
h4, .h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 6px;
}
p, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #eef3f7;
  margin-bottom: 6px;
}
.subheadline {
  font-family: var(--font-body);
  font-size: 1.20rem;
  color: var(--secondary);
  margin-bottom: 22px;
  letter-spacing: .4px;
  max-width: 60ch;
}
.cta-statement {
  color: #E2EDF1;
  font-size: 1.1rem;
  margin-bottom: 24px;
  font-weight: 500;
  letter-spacing: .4px;
}
strong {
  color: var(--neon);
  font-weight: 700;
}

/* ============== HEADER + NAVIGATION ============== */
header {
  background: var(--bg-section);
  box-shadow: 0 2px 8px rgba(22,57,90,0.13);
  position: sticky;
  top: 0;
  z-index: 1100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  min-height: 60px;
  position: relative;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 14px;
}
.logo img {
  height: 38px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.05em;
  font-size: 1rem;
  padding: 7px 15px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: rgba(63, 161, 116, 0.15);
  color: var(--secondary);
}
/* CTA (Jetzt anfragen) special styling */
.main-nav .cta.primary {
  background: var(--secondary);
  color: var(--bg-dark);
  box-shadow: 0 2px 12px 0 rgba(63, 161, 116, 0.14);
  border-radius: 10px;
  border: 0;
  padding: 9px 28px;
  font-weight: 700;
  margin-left: 10px;
  transition: box-shadow 0.21s, background 0.19s, color 0.19s;
}
.main-nav .cta.primary:hover,
.main-nav .cta.primary:focus {
  background: var(--neon-light);
  color: var(--primary);
  box-shadow: 0 2px 22px 0 rgba(63, 161, 116, 0.25);
}

/* ============= MOBILE MENU BUTTONS ============== */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 1.7rem;
  margin-left: 12px;
  transition: background 0.2s, color 0.2s;
  z-index: 1102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--neon-light);
  color: #fff;
}

/* MOBILE SLIDING MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 340px;
  height: 100vh;
  background: #19253eee;
  box-shadow: -2px 0 20px rgba(63,161,116,0.11);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.65,.05,.36,1);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 12px 22px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  color: var(--accent);
  font-size: 2rem;
  align-self: flex-end;
  background: transparent;
  border: 0;
  margin-bottom: 14px;
  padding: 6px 12px;
  cursor: pointer;
  transition: color 0.26s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 18px;
}
.mobile-nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.07em;
  padding: 14px 6px 14px 0;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--white);
  background: var(--secondary);
}
/* Hide desktop nav, show burger on small screens */
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 992px) {
  .mobile-menu { display: none; }
}


/* ============= HERO SECTIONS ============= */
.hero {
  background: linear-gradient(93deg,var(--primary) 0%, #233553 90%), #0E1726;
  min-height: 340px;
  padding: 54px 0 44px 0;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow);
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
}
.hero h1 {
  color: var(--accent);
  text-shadow: 0 2px 16px rgba(63,161,116,0.09);
  font-size: 2.6rem;
}
@media (max-width: 600px) {
  .hero {
    padding: 34px 0 34px 0;
    min-height: 240px;
  }
  .hero h1 {
    font-size: 2rem;
  }
}
/* ===================
   FLEX GRIDS & CARDS
   =================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-box {
  background: #182542;
  border: 1.5px solid var(--neon);
  box-shadow: 0 4px 32px 0 rgba(22, 57, 90, 0.06);
  border-radius: var(--radius);
  padding: 30px 22px 24px 22px;
  flex: 1 1 265px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.23s, border 0.18s, transform 0.22s;
}
.feature-box:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 8px 38px 0 rgba(63,161,116,0.24);
  border-color: var(--neon-light);
}
.feature-box img {
  height: 44px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 8px var(--neon));
}

.benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.benefit-box {
  background: #202c44;
  border: 1.5px solid #254e39;
  border-radius: var(--radius);
  padding: 26px 18px;
  flex: 1 1 210px;
  min-width: 175px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border 0.22s, box-shadow 0.25s, transform 0.18s;
}
.benefit-box:hover {
  border: 1.5px solid var(--secondary);
  box-shadow: 0 6px 27px 0 rgba(63,161,116,0.12);
  transform: translateY(-4px) scale(1.016);
}

/* Card containers (generic for all cards) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #17223b;
  border-radius: var(--radius);
  padding: 26px 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 180px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 7px 34px 0 rgba(22,57,90,0.17);
}

.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;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 28px;
  background: var(--accent);
  color: #1a232e;
  border-radius: var(--radius);
  border-left: 6px solid var(--secondary);
  box-shadow: 0 2px 19px 0 rgba(63,161,116,0.10);
  margin-bottom: 20px;
}
.testimonial-card blockquote {
  color: #15213a;
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 6px;
  line-height: 1.5;
}
.testimonial-meta {
  color: var(--primary);
  font-size: 0.98rem;
  font-family: var(--font-display);
  font-weight: 600;
}
/* Review cards: dark text on accent bg for contrast */
.testimonial-card {
  background: var(--accent);
  color: #232c3b;
}

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

/* ===================
   ADDITIONAL SECTIONS
   =================== */
.resource-list, .blog-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.resource-item, .blog-teaser {
  background: #202c44;
  border-radius: var(--radius);
  padding: 24px 18px 16px 18px;
  flex: 1 1 230px;
  min-width: 180px;
  box-shadow: 0 2px 18px rgba(63,161,116, 0.09);
  margin-bottom: 20px;
  transition: transform 0.18s, box-shadow 0.20s;
}
.resource-item:hover, .blog-teaser:hover {
  transform: translateY(-4px) scale(1.013);
  box-shadow: 0 12px 40px 0 rgba(22,57,90,0.14);
}
.industry-cases {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.case-study {
  background: #202c44;
  color: var(--accent);
  border-radius: var(--radius);
  padding: 28px 20px;
  flex: 1 1 280px;
  min-width: 180px;
  box-shadow: 0 1px 12px rgba(22,57,90, 0.11);
  margin-bottom: 20px;
  transition: box-shadow 0.17s;
}
.case-study h3 {
  color: var(--secondary);
}
.case-study p {
  color: #b1d6c7;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 16px;
}
.faq-item {
  background: #202c44;
  border-radius: var(--radius);
  padding: 18px 14px;
  box-shadow: 0 1.5px 12px rgba(63,161,116,0.06);
}
.faq-item h3 {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.metrics-improvement ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
  color: #5ce6ab;
  font-family: var(--font-display);
  font-size: 1.1rem;
}


/* ============ BUTTONS & LINK CTAs ============ */
.cta, .cta.primary {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  border: 0;
  border-radius: 8px;
  text-align: center;
  padding: 12px 32px;
  font-size: 1.08rem;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 2px 16px 0 rgba(63, 161, 116, 0.15);
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.18s, color 0.2s, box-shadow 0.19s, transform 0.16s;
}
.cta.primary {
  background: var(--secondary);
  color: var(--bg-dark);
  border-radius: 10px;
}
.cta:hover, .cta:focus {
  background: var(--neon-light);
  color: var(--bg-section);
  box-shadow: 0 4px 28px 0 rgba(63,161,116,0.19);
  transform: translateY(-2px) scale(1.025);
}

/* TEXT SECTIONS */
.text-section, .team-overview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

/* Contact/Map/Overview Layout */
.contact-overview {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 18px;
}
.map-placeholder {
  background: #1f3046;
  border-radius: var(--radius);
  color: #c3dbf7;
  text-align: center;
  padding: 22px 0;
  margin-top: 12px;
}

/* ================ FOOTER ================ */
footer {
  background: var(--bg-section);
  color: var(--accent);
  padding: 34px 0 18px 0;
  box-shadow: 0 -2px 19px 0 rgba(22,57,90,0.13);
}
footer .container {
  flex-direction: column;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 22px;
  align-items: center;
  justify-content: flex-start;
}
.footer-nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 5px;
  transition: background 0.18s, color 0.16s;
  font-size: .98rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--secondary);
  color: var(--bg-dark);
}
.contact-footer {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 6px;
}
.contact-footer img {
  height: 40px;
  margin-right: 10px;
}
.contact-footer div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: .97rem;
}
.contact-footer span,
.contact-footer a {
  color: #bcf5e7;
  font-family: var(--font-body);
  text-decoration: none;
}
.contact-footer img[alt*="Telefon"],
.contact-footer img[alt*="E-Mail"] {
  height: 14px;
  vertical-align: middle;
  margin-right: 4px;
  filter: drop-shadow(0 0 5px var(--secondary));
}

/* ============ COOKIE CONSENT BANNER ============= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #202c44;
  color: var(--accent);
  border-top: 3px solid var(--secondary);
  box-shadow: 0 -4px 24px 0 rgba(63,161,116,.19);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 16px 22px 16px;
  gap: 24px;
  font-size: 1rem;
  transition: transform 0.38s cubic-bezier(.83,.01,.26,.97), opacity 0.22s;
}
.cookie-banner.hide {
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-content {
  max-width: 700px;
  flex: 1 1 0%;
  font-family: var(--font-body);
  color: #e5fdfb;
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-display);
  border: none;
  border-radius: 7px;
  padding: 9px 20px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.17s, color 0.19s, box-shadow 0.15s;
  box-shadow: 0 2px 7px 0 rgba(63,161,116,0.13);
  cursor: pointer;
}
.cookie-btn.settings {
  background: #17223b;
  color: var(--accent);
  border: 1.5px solid var(--secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--neon-light);
  color: var(--bg-dark);
}

/* === COOKIE MODAL === */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%) scale(1);
  background: #233553;
  color: #fff;
  box-shadow: 0 11px 68px 0 rgba(22,57,90,0.26);
  border-radius: 16px;
  padding: 36px 28px 28px 28px;
  z-index: 13000;
  min-width: 300px;
  min-height: 180px;
  max-width: 95vw;
  display: none;
  flex-direction: column;
  gap: 20px;
  opacity: 1;
  transition: opacity 0.18s;
}
.cookie-modal.active { display: flex; }
.cookie-modal h3 {
  color: var(--secondary);
  font-size: 1.3rem;
  margin-bottom: 14px;
  font-family: var(--font-display);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-category label {
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--accent);
  font-size: 1rem;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: #17223b;
  border: 1.5px solid var(--secondary);
  border-radius: 17px;
  appearance: none;
  cursor: pointer;
  position: relative;
  transition: background 0.18s, border 0.13s;
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle:after {
  content: '';
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2.5px;
  left: 3px;
  transition: left 0.18s;
  box-shadow: 0 0 6px 0 var(--neon-light);
}
.cookie-toggle:checked:after {
  left: 18px;
}
.cookie-modal .cookie-btn {
  margin-top: 10px;
}
.cookie-modal .close-btn {
  background: none;
  color: var(--accent);
  font-size: 1.7rem;
  border: none;
  position: absolute;
  top: 18px;
  right: 18px;
  cursor: pointer;
  z-index: 2;
}

/* ========== UTILITY CLASSES & FLUIDITY ========== */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.hide { display: none !important; }

/* ============= RESPONSIVE DESIGN (FLEXBOX ONLY) =============== */
@media (max-width: 991px) {
  .container { padding: 0 8px; }
  .feature-grid, .benefit-grid, .content-grid, .industry-cases,
  .resource-list, .blog-preview, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .feature-box, .benefit-box, .case-study, .resource-item, .blog-teaser, .card {
    min-width: 0;
    width: 100%;
  }
  .contact-footer { flex-direction: column; gap: 12px; }
}
@media (max-width: 768px) {
  .container { padding: 0 6px; }
  .hero { padding: 24px 0 24px 0; min-height: 170px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  .subheadline { font-size: 1.06rem; }
  .section { padding: 20px 4px; margin-bottom: 38px; }
  .content-wrapper { gap: 13px; }
  .footer-nav { gap: 10px; font-size: .93rem; }
  .cta, .cta.primary { font-size: .99rem; padding: 9px 15px; }
  .contact-footer { flex-direction: column; gap: 7px; }
  .text-image-section { flex-direction: column; gap: 16px; }
  .industry-cases, .resource-list, .blog-preview, .faq-list, .feature-grid
  { gap: 12px; }
}

/* Extra Small Devices */
@media (max-width: 480px) {
  .footer-nav { flex-direction: column; align-items: flex-start; }
  .cookie-banner { flex-direction: column; gap: 10px; padding: 14px 4px; }
  .cookie-modal { padding: 16px 7px; }
}

/* ========== ANIMATION KEYFRAMES ========== */
@keyframes neon-glow {
  0%, 100% { box-shadow: 0 0 7px 0 var(--neon), 0 1px 10px 0 var(--secondary); }
  50% { box-shadow: 0 0 19px 4px var(--neon-light); }
}
@keyframes slide-in-menu {
  0% { transform: translateX(100%); opacity: 0.3; }
  80% { opacity: 1; }
  100% { transform: translateX(0); opacity: 1; }
}
.mobile-menu.active {
  animation: slide-in-menu 0.44s cubic-bezier(.78,.23,.67,.63);
}

/* ========== FUTURISTIC/NEON EFFECTS ========== */
.feature-box, .cta.primary, .cookie-btn, .mobile-menu-toggle {
  box-shadow: 0 0 0 0 var(--neon), 0 1px 8px 0 var(--secondary);
}
.feature-box:hover, .cta.primary:hover, .cookie-btn:hover, .mobile-menu-toggle:hover {
  animation: neon-glow 1.25s ease-in-out;
}


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