/* RESET & BASELINE ----------------- */
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,
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #232931;
  color: #F3F2EC;
}
img, picture, svg {
  max-width: 100%;
  display: block;
  height: auto;
}

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

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: linear-gradient(120deg, #2d343a 0%, #232931 70%, #3d474e 100%);
  color: #F3F2EC;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #F3F2EC;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.35rem; margin-bottom: 9px; }
h4 { font-size: 1.1rem; margin-bottom: 7px; }
.subtitle, .tagline {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #D6C6B0;
  font-size: 1.28rem;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
p, ul, ol, address, li {
  color: #F3F2EC;
  font-size: 1rem;
  margin-bottom: 12px;
}
strong { color: #D6C6B0; }

/* LINKS & BUTTONS -----------------------*/
a {
  color: #92fff7;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #05d8e5;
}
.button-primary, .button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 30px;
  background: #44525C;
  color: #F3F2EC;
  border: none;
  box-shadow: 0 2px 14px 0 #23293122;
  transition: background 0.21s cubic-bezier(.4,0,.2,1), color 0.21s cubic-bezier(.4,0,.2,1), box-shadow 0.25s;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}
.button-primary {
  background: linear-gradient(92deg, #44525C 80%, #05d8e5 120%);
  box-shadow: 0 6px 22px 0 #03c6d011;
}
.button-primary:hover, .button-primary:focus {
  background: linear-gradient(100deg, #05d8e5 60%, #44525C 120%);
  color: #232931;
  box-shadow: 0 8px 28px 0 #05d8e555;
  outline: none;
}
.button-link {
  background: none;
  border: 2px solid #05d8e5;
  color: #05d8e5;
  box-shadow: none;
}
.button-link:hover, .button-link:focus {
  background: #05d8e5;
  color: #232931;
  box-shadow: 0 0 8px #05d8e5aa;
  outline: none;
}

/* === CONTAINER & LAYOUT =============== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  margin-bottom: 48px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #262f36BB;
  border-radius: 24px;
  box-shadow: 0 4px 28px 0 #23293133;
  position: relative;
  z-index: 1;
}
.main {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* HEADER & NAVIGATION ------------------ */
header {
  background: #232931cc;
  box-shadow: 0 4px 22px 0 #23293122;
  border-bottom: 2px solid #05d8e551;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 90;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 10px 18px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
header nav a {
  color: #D6C6B0;
  padding: 8px 15px;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 16px;
  position: relative;
  transition: color 0.2s, background 0.2s;
}
header nav a.button-primary {
  margin-left: 18px;
  padding: 14px 30px;
  color: #232931;
  background: linear-gradient(92deg, #05d8e5 80%, #D6C6B0 120%);
}
header nav a.button-primary:hover, header nav a.button-primary:focus {
  color: #fff;
  background: #44525C;
}
header nav a:hover, header nav a:focus {
  background: #05d8e5;
  color: #232931;
}
.mobile-menu-toggle {
  appearance: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #05d8e5;
  cursor: pointer;
  padding: 8px 14px;
  margin-left: 14px;
  border-radius: 8px;
  box-shadow: 0 0 8px #05d8e511;
  display: none;
  transition: background 0.21s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #05d8e5;
  color: #232931;
}

/* == MOBILE MENU OVERLAY == */
.mobile-menu {
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #232931ed;
  z-index: 1400;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 12px 40px #05d8e511;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #05d8e5;
  font-size: 2.5rem;
  position: absolute;
  right: 22px;
  top: 22px;
  cursor: pointer;
  z-index: 1450;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:active {
  background: #05d8e5;
  color: #232931;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 80px;
  width: 100%;
  align-items: center;
}
.mobile-nav a {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  color: #D6C6B0;
  padding: 14px 0;
  border-radius: 14px;
  width: 100%;
  text-align: center;
  transition: background 0.19s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #05d8e5;
  color: #232931;
}

/* == HERO ================== */
.hero {
  width: 100%;
  background: linear-gradient(120deg, #2d3b43 0%, #44525C 88%, #05d8e5 120%);
  min-height: 420px;
  display: flex;
  align-items: center;
  margin-bottom: 54px;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 12px 48px #05d8e511;
  overflow: hidden;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}
.hero .content-wrapper {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
  padding: 30px 0 24px 0;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 1px 28px #05d8e5aa;
  font-size: 2.5rem;
}
.hero .subtitle {
  color: #D6C6B0;
  margin-bottom: 30px;
}

/* == FLEX ENVIRONMENTS (according to specs) == */
.card-container, .card-grid, .feature-grid, .service-categories, .service-list, .usp-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 18px;
}
.card-container > *, .card-grid > *, .feature-grid > *, .service-categories > *, .service-list > *, .usp-list > * {
  flex: 1 1 250px;
  min-width: 235px;
  margin-bottom: 20px;
}
.card {
  background: #232931;
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 4px 22px #05d8e511;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.23s;
  border: 1.5px solid #05d8e5dd;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 46px #05d8e522, 0 0 0 2px #05d8e5;
}
.feature-item, .highlighted-features, .benefit-bullets {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.content-grid, .steps-grid, .step-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.team-member-list, .use-cases-list, .values-list {
  margin-top: 12px;
  margin-bottom: 12px;
  padding-left: 25px;
}
.team-member-list li, .use-cases-list li, .values-list li, .benefit-bullets li {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #D6C6B0;
}
.service-icons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-start;
  margin-top: 18px;
  margin-bottom: 12px;
}
.categories {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 16px 0;
}
.categories span {
  background: #44525C;
  color: #F3F2EC;
  padding: 6px 16px;
  border-radius: 13px;
  font-size: 0.9rem;
  margin-right: 6px;
  margin-bottom: 5px;
}
.timeline {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
  margin-top: 16px;
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
}
.timeline span {
  color: #05d8e5;
  font-weight: 700;
}

/* == TESTIMONIALS =============== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  background: #fff;
  color: #232931;
  border-radius: 18px;
  box-shadow: 0 2px 32px #44525c22;
  margin-bottom: 20px;
  border-left: 5px solid #05d8e5;
  min-width: 240px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.13s, box-shadow 0.22s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  transform: translateY(-7px) scale(1.022);
  box-shadow: 0 6px 48px #05d8e5aa;
}
.testimonial-card p {
  color: #232931;
  font-size: 1.16rem;
  font-weight: 500;
  margin-bottom: 7px;
}
.testimonial-card > div {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
.testimonial-card span {
  color: #44525C;
  font-family: 'Montserrat';
  font-size: 1rem;
}

/* == FORMS (if present) ============= */
input, textarea, select {
  font-family: 'Open Sans',sans-serif;
  width: 100%;
  padding: 12px 16px;
  border-radius: 7px;
  border: 1.5px solid #44525C;
  font-size: 1rem;
  background-color: #F3F2EC;
  color: #232931;
  margin-bottom: 18px;
  margin-top: 7px;
  transition: border 0.17s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #05d8e5;
  box-shadow: 0 0 10px #05d8e532;
}

/* == FOOTER ===================== */
footer {
  background: #232931;
  border-top: 2px solid #05d8e533;
  color: #D6C6B0;
  padding: 34px 0 18px 0;
  font-size: 0.98rem;
  margin-top: 24px;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  margin-bottom: 6px;
}
footer nav a {
  color: #D6C6B0;
  font-size: 0.98rem;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #05d8e5;
}
footer address {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  color: #D6C6B0;
  font-size: 0.98rem;
  flex-wrap: wrap;
  line-height: 1.5;
}

/* == SPECIAL: Cookie Consent Banner & Modal ==== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 13000;
  background: #232931ee;
  color: #F3F2EC;
  box-shadow: 0 0 24px 0 #05d8e533;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  gap: 18px;
  border-radius: 18px 18px 0 0;
  animation: slideBannerUp 0.5s cubic-bezier(.48,1.42,.74,1.18);
}
@keyframes slideBannerUp {
  0% { transform: translateY(100%); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-consent-banner p {
  flex: 1 1 auto;
  font-size: 1.05rem;
  color: #F3F2EC;
  margin-bottom: 0;
}
.cookie-consent-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-btn {
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 17px;
  padding: 9px 22px;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.18s, color 0.13s;
  font-weight: 700;
}
.cookie-btn.accept {
  background: #05d8e5;
  color: #232931;
}
.cookie-btn.accept:hover {
  background: #FFF;
  color: #05d8e5;
}
.cookie-btn.reject {
  background: #44525C;
  color: #F3F2EC;
}
.cookie-btn.reject:hover {
  background: #3d474e;
  color: #D6C6B0;
}
.cookie-btn.settings {
  background: none;
  color: #05d8e5;
  border: 1.3px solid #05d8e5;
}
.cookie-btn.settings:hover {
  background: #05d8e5;
  color: #232931;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #232931d9;
  z-index: 13001;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.3s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeInModal {
  from {opacity:0} to {opacity:1}
}
.cookie-modal {
  background: #1B2127;
  color: #F3F2EC;
  border-radius: 23px;
  padding: 36px 24px;
  min-width: 320px;
  max-width: 96vw;
  box-shadow: 0 16px 48px #05d8e522;
  position: relative;
  z-index: 13500;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h3 {
  color: #05d8e5;
  margin-bottom: 18px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}
.cookie-modal-toggle {
  width: 40px;
  height: 20px;
  appearance: none;
  background: #44525C;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.17s;
  margin-left: 6px;
}
.cookie-modal-toggle:checked {
  background: #05d8e5;
}
.cookie-modal-toggle:before {
  content: "";
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 1px;
  left: 3px;
  transition: transform 0.2s cubic-bezier(.4,0,.2,1);
}
.cookie-modal-toggle:checked:before {
  transform: translateX(18px);
}
.cookie-modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  background: none;
  color: #05d8e5;
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.18s;
  z-index: 13600;
}
.cookie-modal-close:focus, .cookie-modal-close:active {
  background: #05d8e5;
  color: #232931;
}

/* == ANIMATIONS & MICRO-INTERACTIONS== */
.card, .testimonial-card, .button-primary, .button-link, .feature-item {
  transition: box-shadow 0.22s, transform 0.18s, background 0.18s, color 0.18s;
}
.card:hover, .feature-item:hover {
  box-shadow: 0 8px 46px #05d8e511, 0 0 0 2px #05d8e511;
  transform: translateY(-6px) scale(1.02);
}
.button-primary:active, .button-link:active {
  transform: scale(.98);
}

/* == RESPONSIVE ======================= */
@media (max-width: 1180px) {
  .container {
    max-width: 96vw;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 1024px) {
  .header .container {
    padding: 7px 7px;
  }
  .footer .container {
    gap: 18px;
    flex-direction: column;
  }
  .card-container, .feature-grid, .service-categories, .content-grid, .steps-grid, .usp-list {
    gap: 18px;
  }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.45rem; }
}
@media (max-width: 900px) {
  .feature-grid, .service-categories, .usp-list {
    flex-wrap: wrap;
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .hero .container,
  .text-image-section { flex-direction: column; align-items: flex-start; text-align: left; }
  .card-container, .feature-grid, .service-categories, .service-list, .usp-list {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card { min-width: unset; max-width: unset; }
  .section {
    padding: 22px 8px;
    margin-bottom: 38px;
  }
  header nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  .hero h1 { font-size: 1.6rem; }
  .hero { padding: 0; min-height: 250px; border-radius: 0 0 22px 22px; }
  .content-wrapper { margin-bottom: 25px; }
  .footer .container { gap: 10px; }
}
@media (max-width: 580px) {
  .container { padding-left: 3px; padding-right: 3px; }
  .section { padding-left: 2px; padding-right: 2px; border-radius: 13px; }
  .testimonial-card { padding: 12px 8px; border-radius: 10px; }
  .cookie-consent-banner { flex-direction: column; align-items: flex-start; gap: 11px; padding:14px 9px; border-radius: 7px 7px 0 0; }
  .cookie-modal { padding: 17px 7px; border-radius: 10px; }
}
@media (max-width: 460px) {
  .hero .container { min-height: 140px; }
  h1 { font-size: 1.19rem; }
}

/* ===== MOBILE MENU JS: Expected classes =====
* Add/remove .open to ".mobile-menu" for slide-in/out
* Show/hide nav depending on screen and menu state
*/


/* ===== UTILS & MISC ===================== */
::-webkit-scrollbar { width: 9px; background: #232931; }
::-webkit-scrollbar-thumb { background: #44525C; border-radius: 8px; }

@media (hover: hover) {
  .button-primary:hover, .button-link:hover {
    filter: brightness(1.09) saturate(1.18);
  }
}

/* Custom Neon Highlights */
[data-neon] {
  text-shadow: 0 0 8px #05d8e5,
               0 0 12px #05d8e522;
  color: #05d8e5 !important;
}

/* Decorative lines for Futuristic Touch */
.section::before {
  content: "";
  display: block;
  height: 4px;
  width: 68px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #05d8e5 20%, #D6C6B0 80%);
  border-radius: 2px;
  box-shadow: 0 0 18px #05d8e5aa;
}

/* ========== MISC FIXES/ACCESSIBILITY ========= */
:focus-visible {
  outline: 2.5px dotted #05d8e5;
  outline-offset: 2px;
}


/* LEGAL SECTION (for Datenschutzerklärung, etc.) */
.legal-section {
  background: #232931;
  border-radius: 14px;
  padding: 24px 20px;
  margin-bottom: 18px;
  box-shadow: 0 4px 22px #44525c11;
}
.legal-section h2 {
  color: #05d8e5;
  font-size: 1.1rem;
  margin-bottom: 9px;
  margin-top: 16px;
}
.legal-section ul {
  margin: 0 0 14px 19px; padding: 0;
}
.legal-section li {
  color: #D6C6B0;
  margin-bottom: 5px;
  font-size: 0.95em;
}

/* Address text */
.address-text {
  color: #D6C6B0;
  font-style: normal;
  background: #23293188;
  padding: 8px 13px;
  border-radius: 7px;
  margin-top: 8px;
  font-size: 1rem;
}

/* Misc Card/Modal Utilities */
.confirmation-message, .next-steps-text {
  background: #F3F2EC;
  color: #232931;
  border-radius: 16px;
  margin-bottom: 18px;
  padding: 18px 14px;
  box-shadow: 0 4px 18px #44525c11;
}
.confirmation-message p { margin-bottom: 0; }
.next-steps-text ul { list-style: disc inside; margin: 0 0 0 14px; }

/* Highlighted for galleries */
.highlighted-features {
  background: #262f36CC;
  color: #F3F2EC;
  border-left: 4px solid #05d8e5;
  border-radius: 13px;
  padding: 17px 16px;
  box-shadow: 0 2px 18px #05d8e522;
  margin-bottom: 16px;
}

/* Inputs for forms (Contact, Newsletter) */
form label {
  font-family: 'Montserrat',sans-serif;
  color: #D6C6B0;
  margin-bottom: 6px;
  display: block;
  font-size: 1rem;
}
form button[type="submit"] {
  margin-top: 10px;
}

/* --- END MAIN CSS --- */
