/* =========================================
   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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background-color: #181B1E; /* dark, industrial-like background */
  font-family: 'Roboto', Arial, sans-serif;
  color: #F5F7FA;
  line-height: 1.7;
  font-size: 1rem;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #699ddf;
  text-decoration: none;
  transition: color 0.18s;
  outline: none;
}
a:focus,
a:hover {
  color: #F5F7FA;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}

/* =========================================
   Brand Fonts - Industrial Modern
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Impact', 'Roboto', Arial, sans-serif;
  color: #F5F7FA;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

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

p, li, address {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #d4d7dc;
  font-weight: 400;
}
strong {
  font-weight: 700;
  color: #F5F7FA;
}

/* =========================================
   Layout Containers & Section Styling
========================================= */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #1f2226;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 rgba(30,34,40,0.17);
  position: relative;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}


/* =========================================
   Flex Layout Patterns - Mandatory Classes
========================================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #23252a;
  box-shadow: 0 3px 20px 0 rgba(16,19,20,0.13);
  border-radius: 14px;
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 6px 36px 0 rgba(20,28,43,0.25);
  transform: translateY(-2px) scale(1.018);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-grid > li {
  flex: 1 1 240px;
  background: #23252a;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 2px 12px 0 rgba(22,22,23,0.14);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  transition: box-shadow 0.18s, background 0.2s;
}
.feature-grid > li:hover {
  background: #123faa0f;
  box-shadow: 0 6px 24px 0 rgba(18,63,170,0.16);
}

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

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #F5F7FA;
  color: #21262b;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(26,28,31,0.1);
  padding: 20px;
  margin-bottom: 24px;
  flex-direction: row;
  transition: box-shadow 0.18s, transform 0.14s;
}
.testimonial-card p {
  color: #21262b;
}
.testimonial-card strong {
  color: #123FAA;
}
.testimonial-card img {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ================================
   Header & Navigation
================================ */
header {
  width: 100%;
  background: #21262b;
  border-bottom: 2px solid #17191b;
  box-shadow: 0 2px 12px 0 rgba(19,31,53,0.07);
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
  filter: grayscale(0) contrast(1.07) brightness(1.1);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #d4d7dc;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.19s, color 0.13s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #123FAA;
  color: #F5F7FA;
}

.cta-btn {
  background: #123FAA;
  color: #F5F7FA !important;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.18s, transform 0.11s, box-shadow 0.17s;
  box-shadow: 0 2px 10px 0 rgba(18,63,170,0.09);
  display: inline-block;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #11496A;
  color: #F5F7FA;
  box-shadow: 0 4px 18px 0 rgba(18,63,170,0.13);
  transform: translateY(-1px) scale(1.035);
}

/* Burger menu */
.mobile-menu-toggle {
  display: none;
  background: #181B1E;
  border: none;
  color: #F5F7FA;
  font-size: 2rem;
  border-radius: 7px;
  padding: 8px 16px;
  margin-left: 12px;
  cursor: pointer;
  z-index: 205;
  transition: background 0.17s, color 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #123FAA;
  color: #F5F7FA;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #21262b;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  z-index: 210;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 24px 48px 24px;
  box-shadow: 4px 0 36px 0 rgba(18,63,170,0.07);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #181B1E;
  border: none;
  font-size: 2rem;
  color: #F5F7FA;
  align-self: flex-end;
  padding: 8px 15px 8px 8px;
  border-radius: 6px;
  margin-bottom: 24px;
  cursor: pointer;
  transition: background 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #123FAA;
  color: #F5F7FA;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 8px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #F5F7FA;
  padding: 14px 0;
  border-radius: 7px;
  transition: background 0.15s, color 0.13s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #123FAA;
  color: #F5F7FA;
}

/* Hide main nav on mobile, show burger */
@media (max-width: 1050px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 1050px) {
  .cta-btn {
    display: none;
  }
}
@media (max-width: 1050px) {
  header .container {
    padding: 16px 14px;
  }
}

/* =========================================
   Hero & Section Styling
========================================= */
main section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
section:last-child {
  margin-bottom: 0;
}

main .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #1f2226;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 rgba(30,34,40,0.17);
}

/* Highlighted CTA section (reuse section styles if needed) */

/* =========================================
   About, Card & Text Layouts
========================================= */
.text-section ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 0;
}
.text-section ul li {
  list-style: disc inside;
  color: #e6e6e6;
  padding-left: 8px;
}

/* =========================================
   Tables (used for Preise)
========================================= */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 24px;
  background: #23252a;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(30,32,34,0.13);
  overflow: hidden;
}
thead {
  background: #11496A;
}
th, td {
  padding: 14px 12px;
  text-align: left;
  color: #F5F7FA;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-bottom: 1px solid #21262b;
}
tr:last-child td {
  border-bottom: none;
}
th {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.06rem;
  background: #123FAA;
  color: #F5F7FA;
}

/* =========================================
   Footer
========================================= */
footer {
  width: 100%;
  background: #21262b;
  box-shadow: 0 -2px 13px 0 rgba(18,63,170,0.07);
  padding: 30px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer nav a {
  color: #b4b7be;
  font-size: 0.99rem;
  letter-spacing: 0.02em;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  transition: color 0.16s;
}
footer nav a:hover,
footer nav a:focus {
  color: #F5F7FA;
  text-decoration: underline;
}
footer address {
  color: #b4b7be;
  font-style: normal;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
}
footer .copyright {
  color: #525458;
  font-size: 0.93rem;
  margin-top: 6px;
}

/* =========================================
   Cookie Consent Banner
========================================= */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #1f2226;
  border-top: 2px solid #123FAA;
  color: #F5F7FA;
  font-family: 'Roboto', Arial, sans-serif;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  gap: 20px;
  box-shadow: 0 -2px 24px 0 rgba(18,63,170,0.09);
  animation: bannerIn 0.43s cubic-bezier(.65,0,.15,1);
  transition: transform 0.29s cubic-bezier(.77,0,.18,1);
}
@keyframes bannerIn {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-banner p {
  color: #F5F7FA;
  font-size: 1rem;
  margin-right: 18px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button {
  background: #123FAA;
  color: #F5F7FA;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 8px 18px;
  margin: 0;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  transition: background 0.14s, transform 0.12s;
  outline: none;
}
.cookie-banner button.cookie-settings {
  background: #11496A;
  color: #F5F7FA;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #11496A;
  color: #F5F7FA;
  transform: translateY(-1px) scale(1.05);
}
.cookie-banner .cookie-settings:hover {
  background: #123FAA;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -58%) scale(1);
  background: #23252a;
  color: #F5F7FA;
  border-radius: 16px;
  box-shadow: 0 12px 40px 0 rgba(18,63,170,0.19);
  z-index: 5010;
  padding: 36px 24px 26px 24px;
  min-width: 340px;
  min-height: 240px;
  max-width: 94vw;
  animation: modalIn 0.31s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes modalIn {
  from { opacity: 0; transform: translate(-50%, -65%) scale(0.93); }
  to   { opacity: 1; transform: translate(-50%, -58%) scale(1); }
}
.cookie-modal h2 {
  margin-bottom: 10px;
  color: #F5F7FA;
  font-size: 1.35rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.cookie-modal .modal-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.03rem;
  user-select: none;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #123FAA;
  width: 18px;
  height: 18px;
}
.cookie-modal .always {
  color: #8c8f97;
  font-size: 0.93rem;
  font-style: italic;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}
.cookie-modal button {
  background: #123FAA;
  color: #F5F7FA;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 9px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.13s, transform 0.10s;
  outline: none;
}
.cookie-modal button.cookie-cancel {
  background: #23252a;
  color: #F5F7FA;
  border: 1px solid #123FAA;
}
.cookie-modal button:hover {
  background: #11496A;
  color: #F5F7FA;
  transform: translateY(-1px) scale(1.05);
}
.cookie-modal .modal-close {
  position: absolute;
  right: 14px;
  top: 10px;
  background: none;
  border: none;
  color: #b9c1d5;
  font-size: 1.7rem;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .modal-close:hover {
  color: #F5F7FA;
}

/* =========================================
   Responsive Design
========================================= */
@media (max-width: 920px) {
  .container { max-width: 98vw; }
  .feature-grid > li, .card {
    min-width: 180px;
    padding: 18px 12px;
  }
  th, td { padding: 11px 6px; }
}
@media (max-width: 768px) {
  .container { padding: 0 12px; }
  .section, main .section {
    padding: 25px 6px;
    margin-bottom: 36px;
    border-radius: 11px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > li {
    width: 100%;
    min-width: 0;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 13px;
    padding: 13px;
  }
  .faq-list {
    gap: 12px;
  }
  header .container {
    gap: 10px;
    padding: 12px 8px;
  }
  main section {
    padding-top: 20px;
    margin-bottom: 24px;
  }
  .cookie-modal {
    min-width: 95vw;
    padding: 18px 9px 16px 9px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.20rem; }
  .main-nav a, .mobile-nav a {
    font-size: 0.97rem;
    padding: 11px 7px;
  }
  .cta-btn { font-size: 0.99rem; padding: 8px 16px; }
}

/* =========================================
   Miscellaneous + Industrial Details
========================================= */
hr {
  border: none;
  border-top: 2px solid #23252a;
  margin: 28px 0;
}
::-webkit-input-placeholder { color: #8c9097; }
::-moz-placeholder { color: #8c9097; }
:-ms-input-placeholder { color: #8c9097; }
::placeholder { color: #8c9097; }
.button, button, input[type=submit] {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.16s, color 0.13s, box-shadow 0.13s; 
}
.button:focus, button:focus, input[type=submit]:focus {
  outline: 2px solid #123FAA;
  outline-offset: 2px;
}

/* Industrial metallic accent border */
.card, .feature-grid > li {
  border: 1.5px solid #282c34;
  background-clip: padding-box;
}
.card::before, .feature-grid > li::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  border-radius: 12px;
  pointer-events: none;
  border: 1px solid rgba(245,247,250,0.07);
  z-index: 0;
}

/* Custom scrollbars -- modern/urban feel */
::-webkit-scrollbar {
  width: 10px;
  background: #21262b;
}
::-webkit-scrollbar-thumb {
  background: #123FAA;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #11496A;
}

/* =========================================
   Accessibility + Micro-interactions
========================================= */
:focus-visible {
  outline: 2px solid #F5F7FA;
  outline-offset: 2px;
  transition: outline 0.1s;
}

button:active, .cta-btn:active {
  transform: scale(0.98);
}

/* Hide visually only, keep accessible */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =========================================
   Utility Classes
========================================= */
.hide { display: none!important; }
.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }
.align-center { display: flex; align-items: center; justify-content: center; }
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }

/* =========================================
   End of Style Sheet
========================================= */
