/* ----------------------
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.5;
  background: #16232B; /* slightly desaturated almost-black blue */
  color: #F1F5F8;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
ul,ol {
  list-style: disc inside;
  margin-left: 24px;
  margin-bottom: 24px;
}
a {
  color: #219EBC;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #FFE066;
  text-decoration: underline;
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ----------------------
TYPOGRAPHY
-----------------------*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600;700&display=swap');

h1, .hero h1 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 2.2rem;
  color: #FFE066;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 18px;
  line-height: 1.15;
}
h2 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.7rem;
  color: #FFE066;
  font-weight: 700;
  margin-bottom: 16px;
}
h3 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.2rem;
  color: #219EBC;
  font-weight: 700;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  color: #FFE066;
}
p, ul, ol, blockquote, li, span {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #E2E6EA;
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.6;
}
strong {
  color: #FFE066;
  font-weight: 700;
}
blockquote {
  font-style: italic;
  color: #193B50;
  background: #FFF;
  border-left: 4px solid #219EBC;
  margin: 0 0 8px 0;
  padding: 16px 18px;
  border-radius: 6px;
}


/* ----------------------
LAYOUT UTILS
-----------------------*/
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(25, 59, 80, 0.92);
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(18,27,34,0.04);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #1F2D37;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(10, 15, 18, 0.08);
  padding: 28px 22px;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid #48515A;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px 0 rgba(25,59,80,0.13);
  transform: translateY(-4px) scale(1.012);
}
.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: #FFF;
  color: #193B50;
  border-radius: 12px;
  box-shadow: 0 1px 8px 0 rgba(25,59,80,0.05);
  border-left: 5px solid #219EBC;
  margin-bottom: 24px;
  flex-direction: column;
}
.testimonial-card span {
  color: #193B50;
  font-size: 1em;
  font-weight: 600;
  margin-top: 6px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #232F35;
  gap: 15px;
  padding: 20px 18px;
  border-radius: 12px;
  border: 1px solid #34424E;
  min-width: 220px;
  max-width: 340px;
  transition: box-shadow 0.18s, border 0.15s;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
  filter: brightness(0.88) contrast(1.1)
      drop-shadow(0 2px 2px #1116);
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 0 0 2px #219EBC;
  border-color: #219EBC;
}

/* ----------------------
NAVIGATION (DESKTOP & MOBILE)
-----------------------*/
header {
  width: 100%;
  background-color: #193B50;
  box-shadow: 0 2px 12px 0 rgba(25, 59, 80, 0.12);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  height: 40px;
  width: auto;
}
header nav {
  display: flex;
  gap: 26px;
}
header nav a {
  color: #F1F5F8;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: color 0.2s, border 0.25s;
  position: relative;
  padding: 4px 0;
}
header nav a:hover, header nav a:focus {
  color: #FFE066;
}
header .btn-primary {
  margin-left: 20px;
}
/* Hamburger menu */
.mobile-menu-toggle {
  display: none;
  background: #232F35;
  border: none;
  font-size: 2rem;
  color: #FFE066;
  border-radius: 8px;
  padding: 8px 16px;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #222B32;
  color: #FFE066;
  box-shadow: 0 0 0 2px #219EBC;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #1A242B;
  transform: translateX(-110vw);
  transition: transform 0.32s cubic-bezier(.83,-0.02,.56,1.03);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 27px;
  padding: 28px 38px 0 38px;
  overflow-y: auto;
  box-shadow: 8px 0 24px 0 rgba(25,59,80,0.11);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #FFE066;
  cursor: pointer;
  padding: 4px 12px;
  margin-bottom: 12px;
  transition: background 0.14s, color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #232F35;
  color: #219EBC;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 10px;
}
.mobile-nav a {
  color: #FFE066;
  font-size: 1.18rem;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 12px 0;
  border-bottom: 1px solid #2D404D;
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #219EBC;
}

@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 480px) {
  .mobile-menu {
    padding: 20px 12px 0 12px;
  }
}

/* ----------------------
BUTTONS
-----------------------*/
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: #219EBC;
  color: #193B50;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 24px;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(33,158,188,0.06);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  outline: none;
  margin-top: 4px;
  text-align: center;
  gap: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #1D5C74;
  color: #FFE066;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: #232F35;
  color: #FFE066;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 24px;
  border: 1.5px solid #FFE066;
  transition: background 0.17s, color 0.17s, border 0.17s;
  cursor: pointer;
  text-align: center;
  margin-top: 4px;
  gap: 8px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #FFE066;
  color: #193B50;
  border-color: #219EBC;
}

/* ----------------------
HERO SECTIONS
-----------------------*/
.hero {
  background: #151E25 url('../assets/industrial-bg-texture.jpg') center top/cover repeat-y;
  padding: 80px 0 60px 0;
  border-bottom: 2px solid #232F35;
  margin-bottom: 48px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}
.hero .content-wrapper {
  max-width: 680px;
  align-items: flex-start;
  gap: 16px;
}
.hero p {
  font-size: 1.15rem;
  color: #B9D6E3;
  font-weight: 400;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* ----------------------
CARDS, FEATURE GRIDS, SERVICES, ETC
-----------------------*/
/* / feature grid */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  align-items: stretch;
  justify-content: center;
}

/* leistungen.html services grid */
.service-list-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: center;
  margin-bottom: 20px;
}
.service-item {
  background: #232F35;
  border-radius: 12px;
  padding: 28px 22px;
  min-width: 225px;
  max-width: 337px;
  border: 1.5px solid #34424E;
  box-shadow: 0 1px 8px 0 rgba(33,158,188,0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, border 0.16s, transform 0.16s;
}
.service-item:hover, .service-item:focus-within {
  box-shadow: 0 0 0 2px #219EBC;
  border-color: #219EBC;
  transform: translateY(-2px) scale(1.01);
}
.service-item h3 {
  color: #FFE066;
}
.service-item a {
  color: #FFE066;
  font-weight: 700;
  transition: color 0.15s, border 0.15s;
}
.service-item a:hover, .service-item a:focus {
  color: #219EBC;
}

/* / about teaser */
.about-teaser {
  background: #232F35;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 4px 18px rgba(25,59,80,0.08);
}
.about-teaser ul li {
  color: #FFE066;
}

.services {
  background: #17222E;
  border-radius: 14px;
  padding: 40px 20px;
  margin-bottom: 60px;
  box-shadow: 0 2px 16px 0 rgba(25,59,80,0.07);
}

.cta {
  background: #219EBC;
  padding: 42px 20px;
  border-radius: 16px;
  margin-bottom: 60px;
}
.cta h2 {
  color: #193B50;
}
.cta .btn-primary {
  margin-top: 12px;
}

.benefits ul li {
  color: #FFE066;
}

.success-stories ul li {
  color: #FFE066;
}

.case-study-snippet {
  background: #FFF;
  border-radius: 10px;
  color: #193B50;
  padding: 24px 22px;
  box-shadow: 0 1px 8px 0 #193B5020;
  margin-bottom: 18px;
}
.case-study-snippet strong {
  color: #219EBC;
}
.case-study-snippet .testimonial-card {
  background: #F7FAFB;
}

.analytics-services ul li strong {
  color: #219EBC;
}

/* kontakt.html details */
.contact-details,
.contact-instruction {
  background: #1F2D37;
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #FFE066;
  border: 1px solid #34424E;
}
.contact-details img {
  width: 24px;
  height: 24px;
  filter: brightness(0.92);
  vertical-align: bottom;
  margin-right: 8px;
  display: inline-block;
}
.contact-details a {
  color: #219EBC;
  font-weight: 700;
}
.contact-details a:hover {
  color: #FFE066;
}

/* ----------------------
LISTS
-----------------------*/
ul li, ol li {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #FFE066;
  line-height: 1.7;
}

/* ----------------------
LEGAL (Privacy, GDPR, Cookie, Terms)
-----------------------*/
.legal {
  background: #193B50;
  border-radius: 14px;
  color: #FFE066;
  padding: 44px 26px;
  margin: 44px 0 60px 0;
}
.legal h1, .legal h2 {
  color: #FFE066;
}
.legal ul li {
  color: #FFE066;
}

/* ----------------------
FOOTER
-----------------------*/
footer {
  background: #13202A;
  border-top: 2px solid #232F35;
  padding: 36px 0 26px 0;
  box-shadow: 0 -2px 8px 0 rgba(25,59,80,0.10);
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
  flex-wrap: wrap;
}
footer img {
  width: 54px;
  height: auto;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #FFE066;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.18s;
}
footer nav a:hover {
  color: #219EBC;
}
footer p {
  font-size: 0.98rem;
  color: #B9D6E3;
  margin-top: 8px;
}

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

/* ----------------------
RESPONSIVE RULES
-----------------------*/
@media (max-width: 1024px) {
  .feature-grid,
  .service-list-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .container {
    max-width: 98vw;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 48px 0 32px 0;
  }
  .section, .about-teaser, .services, .cta, .benefits, .legal {
    padding: 22px 4vw;
  }
  .content-grid, .feature-grid, .service-list-grid {
    gap: 16px;
  }
  .feature-item, .service-item, .card {
    min-width: unset;
    max-width: 100%;
    padding: 18px 12px;
  }
  .card {
    padding: 16px 11px;
  }
  .testimonial-card {
    padding: 16px 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .cta {
    padding: 24px 8px;
  }
}
@media (max-width: 480px) {
  h1, .hero h1 {
    font-size: 1.35rem;
  }
  .section,
  .about-teaser,
  .services,
  .benefits,
  .cta,
  .legal {
    margin-bottom: 34px;
    padding: 12px 3vw;
  }
  .container {
    max-width: 99vw;
    padding: 0 4px;
  }
  .hero {
    padding: 28px 0 12px 0;
  }
}

/* ----------------------
MICRO-INTERACTIONS / TRANSITIONS
-----------------------*/
.card, .feature-item, .service-item, .testimonial-card, .btn-primary, .btn-secondary {
  transition: box-shadow 0.2s, border 0.17s, transform 0.2s, color 0.18s, background 0.18s;
}

/* ----------------------
COOKIE BANNER + MODAL
-----------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #232F35;
  color: #FFE066;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 22px 14px 14px 22px;
  box-shadow: 0 -2px 14px 0 rgba(25,59,80,0.13);
  gap: 26px;
  z-index: 4000;
  font-size: 1rem;
  animation: cookiefadein 0.7s;
}
@keyframes cookiefadein {
  from { transform: translateY(48px); opacity: 0; } to {transform: none; opacity: 1;}
}
.cookie-banner p {
  color: #FFE066;
  margin: 0;
  flex: 1;
}
.cookie-banner .cookie-btn {
  background: #219EBC;
  color: #193B50;
  border: none;
  padding: 11px 24px;
  border-radius: 20px;
  font-family: 'Montserrat', 'Open Sans',sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-right: 9px;
  margin-left: 0;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: #1D5C74;
  color: #FFE066;
}
.cookie-banner .cookie-btn.cookie-btn-secondary {
  background: #232F35;
  color: #FFE066;
  border: 2px solid #219EBC;
  margin-right: 9px;
}
.cookie-banner .cookie-btn.cookie-btn-secondary:hover {
  background: #FFE066;
  color: #193B50;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px 8px 10px 8px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-btn {
    width: 100%;
    margin: 4px 0;
  }
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #10191Fcc;
  z-index: 4100;
  display: none;
  justify-content: center;
  align-items: center;
  animation: cookiefadein 0.65s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #1F2D37;
  color: #FFE066;
  border-radius: 16px;
  padding: 36px 24px 28px 24px;
  max-width: 420px;
  width: 94vw;
  box-shadow: 0 6px 48px 0 #1119;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h2 {
  color: #FFE066;
  font-size: 1.25rem;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 9px; right: 13px;
  background: transparent;
  border: none;
  color: #FFE066;
  font-size: 1.8rem;
  cursor: pointer;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 9px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #FFE066;
  cursor: pointer;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #219EBC;
  width: 20px;
  height: 20px;
  margin-right: 4px;
}
.cookie-modal .cookie-category.essential label {
  color: #919BA3;
  font-style: italic;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 14px;
}
.cookie-modal .cookie-btn {
  background: #219EBC;
  color: #193B50;
  border: none;
  border-radius: 16px;
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  padding: 9px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.cookie-modal .cookie-btn.cookie-btn-secondary {
  background: #232F35;
  color: #FFE066;
  border: 2px solid #219EBC;
}
.cookie-modal .cookie-btn:hover,.cookie-modal .cookie-btn:focus {
  background: #1D5C74;
  color: #FFE066;
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 17px 5vw 17px 5vw;
    min-width: unset;
    max-width: 97vw;
  }
  .cookie-modal .cookie-modal-actions {
    flex-direction: column;
    gap: 10px;
  }
}

/* ----------------------
INDUSTRIAL MODERN VISUAL DETAILS
-----------------------*/
body {
  /* Subtle metallic shimmer bg w/ overlay for depth */
  background: linear-gradient(135deg, #16232B 70%, #232F35 100%);
}

.section, .about-teaser, .services, .card, .feature-item, .service-item {
  /* Subtle shadow for urban/industrial depth */
  box-shadow: 0 4px 20px 0 rgba(25,59,80,0.12), 0 0.5px 1.5px #232F3555 inset;
}
.feature-item, .service-item, .card {
  /* Metal "brushed" effect via subtle linear gradient overlay */
  background: linear-gradient(122deg, #232F35 89%, #34424E 100%);
  border-top: 2.5px solid #34424Eaa;
}
.testimonial-card {
  /* White card on dark bg for contrast (urban feel) */
  border-left: 5px solid #219EBC;
  box-shadow: 0 2px 12px 0 #2D404D18;
  background: #FFF;
  color: #193B50;
}

/* Slight card hover metallic shine */
.card:hover:before, .feature-item:hover:before, .service-item:hover:before {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  background: linear-gradient(130deg, transparent 80%, #FFE06612 100%);
  z-index: 2;
  border-radius: inherit;
  animation: shine 0.8s;
}
@keyframes shine {
  0% { opacity: .1; }
  100% { opacity: 0; }
}

/* Distinctive urban divider for sections */
.section, .about-teaser, .services, .cta, .legal {
  border-bottom: 4px solid #34424E44;
}

/* Visually emphasize metallic accent on important lines */
h2, h3 {
  text-shadow: 0 2.5px 18px #222B32bb;
  letter-spacing: 1.5px;
}

hr {
  border: none;
  border-bottom: 2px solid #34424E44;
  margin: 22px 0;
}

/* ----------------------
SCROLLBAR STYLING
-----------------------*/
::-webkit-scrollbar {
  width: 13px;
  background: #1F2D37;
}
::-webkit-scrollbar-thumb {
  background: #34424E;
  border-radius: 24px;
}
::-webkit-scrollbar-thumb:hover {
  background: #219EBC;
}

/* ----------------------
ACCESSIBILITY/USABILITY
-----------------------*/
.btn-primary:focus, .btn-secondary:focus {
  outline: 3px solid #FFE066;
  outline-offset: 2px;
}
a:focus {
  outline: 3px solid #FFE066;
  outline-offset: 1px;
}


/* ----------------------
END OF CSS
-----------------------*/
