/* RESET & NORMALISIERUNG */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #181C22;
  color: #F4F4F9;
  line-height: 1.6;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #F4F4F9;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #758E4F;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #E1E4EB;
  letter-spacing: 1px;
}
h1 {
  font-size: 2.75rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
  color: #B0BAC9;
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: #A0ADB7;
}
p {
  margin-bottom: 14px;
}
strong {
  color: #F4F4F9;
  font-weight: 700;
}

/* === Farbpalette (Industrial Modern) === */
:root {
  --color-primary: #23395B;
  --color-secondary: #758E4F;
  --color-accent: #F4F4F9;
  --color-bg: #181C22;
  --color-surface: #222733;
  --color-grey: #3E4654;
  --color-metal: #9BA2B0;
  --color-border: #444C5E;
  --color-shadow: rgba(35,57,91,0.15);
  --color-link-hover: #A3B98B;
}

/* === Industrial Modern Look & Typography === */
body, input, textarea, button, select {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
}
h1, h2, h3, .btn-primary, .btn-secondary {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  text-transform: uppercase;
}

/* Container & Sections */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-surface);
  border-radius: 14px;
  box-shadow: 0 4px 36px -12px var(--color-shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Layout mandatory classes */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-grey);
  border-radius: 8px;
  box-shadow: 0 3px 12px -3px var(--color-shadow);
  padding: 32px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 20px -2px #000b2a5a;
  transform: translateY(-2px) scale(1.015);
}
.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;
  border-radius: 12px;
  background: #F4F4F9;
  color: #222733;
  box-shadow: 0 2px 8px -3px var(--color-shadow);
  margin-bottom: 24px;
  border-left: 6px solid var(--color-secondary);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 16px -4px var(--color-border);
  border-color: var(--color-primary);
}
.testimonial-card p {
  color: #23395B;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 500;
}
.testimonial-card span {
  font-size: 1rem;
  font-weight: 600;
  color: #758E4F;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Mandatory flex spacing between content cards/sections */
.section, .card, .testimonial-card, .feature-item, .content-wrapper > * {
  margin-bottom: 20px;
}
.section:last-child, .content-wrapper > *:last-child {
  margin-bottom: 0;
}

/* Industrial metallic accent borders/shadows */
.card, .feature-item, .btn-primary, .btn-secondary {
  border: 1.5px solid var(--color-border);
  box-shadow: 0 2px 12px -6px var(--color-shadow);
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: #181C22;
  border-bottom: 2px solid var(--color-border);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Aria,l sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .5px;
  color: #E1E4EB;
  padding: 4px 0;
  transition: color 0.18s;
  position: relative;
}
.main-nav a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  margin: auto;
  margin-top: 3px;
  transition: width .22s cubic-bezier(.39,.58,.57,1);
}
.main-nav a:focus,.main-nav a:hover {
  color: var(--color-secondary);
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
}
/* Hide burger on desktop */
.mobile-menu-toggle {
  display: none;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1090;
  background: rgba(24,28,34, 0.98);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.65,.05,.36,1), opacity .22s;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #F4F4F9;
  align-self: flex-end;
  margin: 0 18px 20px 0;
  cursor: pointer;
  transition: color .12s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 0 28px;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: #F4F4F9;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-grey);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  transition: color .18s, background .15s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #232737;
  color: var(--color-secondary);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(120deg, #181C22 80%, #23395B 110%);
  padding: 52px 20px 46px 20px;
  border-bottom: 1.5px solid var(--color-border);
  margin-bottom: 48px;
}
.hero h1 {
  font-size: 2.3rem;
  color: #F4F4F9;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.22rem;
  color: #B0BAC9;
}

/* ===== FEATURES ===== */
.features {
  background: var(--color-surface);
  border-radius: 14px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 16px;
}
.feature-grid > div {
  flex: 1 1 280px;
  min-width: 220px;
  background: #212631;
  border-radius: 10px;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 12px -5px #13192455;
  border: 1.5px solid #313848;
  margin-bottom: 8px;
  transition: box-shadow 0.21s, border-color 0.19s;
}
.feature-grid > div:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 8px 18px -5px #232b3577;
}
.feature-grid h3 {
  margin: 12px 0 8px 0;
  color: #A4B0C6;
  font-size: 1.13rem;
}
.feature-grid p {
  color: #D1D6E2;
  font-size: 1rem;
}

/* Zertifizierungs-/Benefits-Listen */
.certifications-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  list-style: none;
  margin: 18px 0 30px 0;
  padding: 0;
}
.certifications-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #B0BAC9;
  background: none;
  margin-bottom: 0;
}
.certifications-list img {
  width: 32px;height: 32px;
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  font-family: 'Montserrat','Roboto',sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 7px;
  text-transform: uppercase;
  border: 1.5px solid var(--color-border);
  cursor: pointer;
  outline: none;
  background: var(--color-primary);
  color: #F4F4F9;
  box-shadow: 0 2px 14px -8px #000b2a77;
  margin-right: 0.5em;
  margin-bottom: 12px;
  letter-spacing: 1px;
  transition: background .18s, box-shadow .18s, color .14s, border-color .18s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #2e466d;
  color: #fff;
  border-color: var(--color-secondary);
  box-shadow: 0 4px 28px -4px #23395be8;
}
.btn-secondary {
  background: var(--color-secondary);
  color: #23395B;
  font-weight: 700;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #5e7540;
  color: #F4F4F9;
  border-color: var(--color-primary);
}

/* ===== CTA BLOCKS ===== */
.cta {
  background: var(--color-grey);
  border-radius: 16px;
  box-shadow: 0 2px 16px -8px #23395B31;
  margin-bottom: 40px;
  padding: 44px 18px;
  text-align: center;
}
.cta h2 {
  color: #F4F4F9;
  margin-bottom: 8px;
}
.cta p {
  color: #B0BAC9;
  margin-bottom: 24px;
  font-size: 1.11rem;
}

/* ===== ABOUT, LEGAL, FAQ, CONTACT, ETC. ===== */
.about, .legal, .faq, .contact {
  background: var(--color-surface);
  padding: 40px 16px;
  border-radius: 13px;
  margin-bottom: 36px;
}
.address-map {
  margin-top: 20px;
  color: #ADC0CA;
}
.contact-info-block p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1.04rem;
}
.contact-info-block img {
  width: 22px; height: 22px;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-accordion > div {
  background: #222733;
  border-radius: 7px;
  padding: 18px 16px;
  border: 1px solid #333e5a;
  box-shadow: 0 2px 11px -4px #00133a25;
}
.faq-accordion h3{
  color: #758E4F;
  margin-bottom: 7px;
}
.faq-accordion p {
  color: #F4F4F9;
}
.support-contact-info a {
  color: var(--color-secondary);
  font-weight: 600;
}

/* Steps/Process Section */
.steps ol, .steps ul {
  padding-left: 30px;
  margin-bottom: 20px;
  color: #c7d0df;
}
.steps li {
  margin-bottom: 14px;
  font-size: 1.05em;
}

/* ===== FOOTER ===== */
footer {
  background: #181C22;
  border-top: 2px solid var(--color-border);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 0 16px 0;
  border-bottom: 1px solid #232a3c;
}
.footer-menu {
  display: flex;
  gap: 28px;
}
.footer-menu a {
  color: #A3B98B;
  font-size: 0.98rem;
  font-family: 'Montserrat',sans-serif;
  font-weight: 500;
  transition: color .18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #F4F4F9;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}
.contact-snippet {
  color: #F4F4F9;
  font-size: 1rem;
}
.contact-snippet img {
  width: 19px;
  height: 19px;
  margin-right: 7px;
  vertical-align: middle;
}
.social-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  background: transparent;
  transition: background .12s, box-shadow .15s;
  padding: 6px;
}
.social-links a:hover {
  background: #192335;
  box-shadow: 0 2px 8px -5px #758E4F99;
}
.social-links img {
  width: 28px;
  height: 28px;
}
.legal-info {
  font-size: 0.93rem;
  color: #B0BAC9;
  margin-top: 10px;
}

/* ===== COOKIE CONSENT BANNER & MODAL ===== */
.cookie-consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1200;
  background: #202633;
  color: #F4F4F9;
  box-shadow: 0 0 24px -3px #000c1bbb;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  border-top: 3px solid var(--color-secondary);
  animation: fadeInUp .45s;
}
@keyframes fadeInUp {
  0%{ opacity: 0; transform: translateY(20px); }
  100%{ opacity: 1; transform: none; }
}
.cookie-consent__text {
  line-height: 1.6;
  text-align: center;
}

.cookie-consent__actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-consent__actions button{
  padding: 10px 20px;
  border-radius: 7px;
  border: 1.5px solid var(--color-border);
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .16s, border-color .15s, color .13s;
  margin: 0 2px;
}
.cookie-consent__actions .accept {
  background: var(--color-secondary);
  color: #23395B;
  border-color: var(--color-secondary);
}
.cookie-consent__actions .accept:hover,
.cookie-consent__actions .accept:focus {
  background: #4c5e33;
  color: #fff;
}
.cookie-consent__actions .reject {
  background: #23395B;
  color: #fff;
}
.cookie-consent__actions .reject:hover,
.cookie-consent__actions .reject:focus {
  background: #232737;
}
.cookie-consent__actions .settings {
  background: transparent;
  color: #B0BAC9;
  border: 1.5px solid #BAC3D1;
}
.cookie-consent__actions .settings:hover,
.cookie-consent__actions .settings:focus {
  color: var(--color-secondary);
  background: #232737;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(19,23,34,0.87);
  z-index: 1300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
@media (min-width: 540px) {
  .cookie-modal-overlay {
    align-items: center;
  }
}
.cookie-modal {
  background: #232733;
  border-radius: 13px;
  max-width: 410px;
  width: 90vw;
  margin: 0 2vw;
  padding: 28px 22px 22px 22px;
  box-shadow: 0 4px 26px -7px #23395B88;
  color: #F4F4F9;
  animation: fadeInUp .42s;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 1400;
}
.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal__header h3 {
  font-size: 1.30rem;
  color: var(--color-secondary);
  margin: 0;
}
.cookie-modal__close {
  background: none;
  border: none;
  font-size: 1.55rem;
  color: #BAC3D1;
  cursor: pointer;
  transition: color .12s;
}
.cookie-modal__close:hover,
.cookie-modal__close:focus {
  color: #F4F4F9;
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 18px 0 7px 0;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #313848;
}
.cookie-modal__category:last-child {
  border-bottom: none;
}
.cookie-modal__category label {
  color: #F4F4F9;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  flex: 1;
}
.cookie-modal__category input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 20px; height: 20px;
}
.cookie-modal__category .essential {
  color: #758E4F;
  font-size: 0.98rem;
  font-weight: 400;
  margin-left: 2px;
}
.cookie-modal__actions {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 18px;
}


/* === RESPONSIVE STYLES === */
@media (max-width: 1120px) {
  .container {
    max-width: 960px;
  }
  .main-nav {
    gap: 18px;
  }
  .footer-menu {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 18px;
  }
  .footer-top, .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .footer-menu {
    gap: 13px;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2.1rem;
    color: #F4F4F9;
    margin-left: 18px;
    cursor: pointer;
    transition: color .17s;
  }
  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:focus {
    color: var(--color-secondary);
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding-top: 22px;
  }
  .footer-menu {
    flex-direction: column;
    gap: 10px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid,
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .section {
    padding: 28px 10px;
    margin-bottom: 34px;
    border-radius: 10px;
  }
  .content-wrapper {
    gap: 15px;
  }
  .cta {
    padding: 34px 8px;
    border-radius: 12px;
  }
  .hero {
    padding: 32px 10px 28px 10px;
  }
  .feature-grid > div {
    padding: 23px 12px;
    border-radius: 7px;
  }
  .testimonial-card {
    padding: 16px 12px;
    border-radius: 8px;
    margin-bottom: 16px;
  }
  .testimonials {
    padding: 22px 2px 12px 2px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 500px) {
  .container {
    padding: 0 5px;
  }
  .hero h1, h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  .btn-primary,
  .btn-secondary {
    font-size: 0.93rem;
    padding: 10px 14px;
  }
  .cookie-modal {
    padding: 14px 6px 12px 8px;
    border-radius: 7px;
  }
}

/* === Animations for Interactivity (Hover, Focus) === */
.btn-primary,
.btn-secondary,
.main-nav a,
.mobile-nav a {
  transition: background .18s, color .18s, border-color .18s, box-shadow .13s, transform .12s;
}
.btn-primary:active,
.btn-secondary:active {
  transform: scale(.97);
}
.mobile-nav a:active {
  transform: scale(.99);
}

/* Hide Cookie Modal/Consent on print */
@media print {
  .cookie-consent,
  .cookie-modal-overlay {
    display: none !important;
  }
}