/* ==== 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;
}
body {
  line-height: 1;
  font-family: 'Roboto', Arial, sans-serif;
  background: #181C24;
  color: #E8E6E1;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #181C24;
  /* subtle dark tech base */
}
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; background: none; border: none; cursor: pointer; }

/* ==== FONT DEFINITIONS ==== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --primary: #21405A;
  --secondary: #E8E6E1;
  --accent: #F6B800;
  --bg: #181C24;
  --bg-lighter: #232B36;
  --surface: #232B36;
  --card: #213045;
  --neon: #3dc7ff;
  --success: #44ffad;
  --shadow: 0 4px 16px rgba(60,110,180,0.08);
  --radius: 12px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1.1rem; }
p, ul, ol, li { font-family: 'Roboto', Arial, sans-serif; font-size: 1rem; line-height: 1.6; color: var(--secondary); }

@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
}

/* ==== GLOBAL CONTAINER & LAYOUT FLEXBOX ==== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (max-width: 768px) {
  .container { max-width: 100%; padding: 0 8px; }
}

/* ==== SECTION SPACING ==== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ==== FLEX PATTERNS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 24px;
  transition: box-shadow 0.15s, border 0.18s;
  border: 2px solid transparent;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(61,199,255,0.12);
  border: 2px solid var(--neon);
}
.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;
  background: var(--bg-lighter);
  border-left: 4px solid var(--neon);
  border-radius: var(--radius);
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; }
  .content-grid { flex-direction: column; }
}

/* ==== HEADER ==== */
header {
  background: var(--primary);
  width: 100%;
  box-shadow: 0 2px 8px rgba(61,199,255,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  color: var(--secondary);
  font-weight: 500;
  position: relative;
  transition: color 0.16s;
  padding: 8px 8px;
}
.main-nav a:hover {
  color: var(--accent);
}
.cta-button {
  background: var(--accent);
  color: #1c2230;
  font-weight: 700;
  border: none;
  border-radius: 9999px;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-left: 18px;
  box-shadow: 0 1px 8px rgba(246,184,0,0.08), 0 0 8px 0 var(--accent) inset;
  transition: background 0.18s, color 0.2s, box-shadow 0.20s;
  outline: none;
  cursor: pointer;
  border: 2px solid var(--accent);
  position: relative;
  z-index: 1;
}
.cta-button:hover,
.cta-button:focus {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 2px 16px var(--accent), 0 0 8px 0 var(--accent) inset;
  border: 2px solid var(--accent);
}
header img { height: 44px; }

@media (max-width: 1050px) {
  .main-nav { gap: 12px; }
  .cta-button { padding: 10px 20px; }
}

/* ==== BURGER MENU ==== */
.mobile-menu-toggle {
  display: none;
  font-size: 2.3rem;
  background: none;
  color: var(--accent);
  border: none;
  padding: 6px 16px;
  cursor: pointer;
  z-index: 110;
  transition: color 0.18s, background 0.11s;
}
.mobile-menu-toggle:focus { outline: 2px solid var(--accent); }

@media (max-width: 900px) {
  .main-nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 18px;
    top: 22px;
  }
}

.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(31,37,53,0.98);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.4,1.8,.6,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 32px 28px 16px 0;
  font-size: 2.4rem;
  background: none;
  color: var(--accent);
  border: none;
  transition: color 0.16s;
  cursor: pointer;
  z-index: 2100;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus { color: var(--neon); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: 20px 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--secondary);
  font-size: 1.25rem;
  padding: 12px 0;
  transition: color 0.17s, background 0.13s;
  border-radius: 6px;
  width: 100%;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--accent);
  background: #223853;
}

@media (max-width: 480px) {
  .mobile-menu-close {
    margin: 18px 8px 0 0;
  }
  .mobile-nav {
    padding: 14px 10px;
    gap: 2px;
  }
  .mobile-nav a {
    font-size: 1rem;
  }
}

/* ==== HERO + SECTIONS ==== */
.hero, .leistungen-hero, .referenzen-hero, .about-intro, .faq-section, .contact-main, .gdpr-section, .legal-section, .cookie-policy-section, .thank-you-section, .terms-section {
  background: linear-gradient(120deg, #23384f 0%, #1e3350 70%, #222a3c 100%);
  box-shadow: 0 2px 18px 0 rgba(33,64,90,0.05);
  border-bottom: 2px solid var(--accent);
  border-radius: 0 0 18px 18px;
  margin-bottom: 60px;
  padding: 54px 0 50px 0;
}
.hero h1, .hero p, .hero a {
  text-shadow: 0 0 6px rgba(61, 199, 255, 0.10);
}

@media (max-width: 768px) {
  .hero, .leistungen-hero, .referenzen-hero, .about-intro, .faq-section, .contact-main, .gdpr-section, .legal-section, .cookie-policy-section, .thank-you-section, .terms-section {
    padding: 34px 0 32px 0;
    border-radius: 0 0 10px 10px;
  }
}

.features, .leistungen-list, .about-team, .about-why, .referenzen-projekte, .referenzen-testimonials, .services-preview, .leistungen-details, .leistungen-cta, .referenzen-cta, .cta-final, .contact-cta {
  background: var(--bg-lighter);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  padding: 40px 0;
}

/* ==== LISTS AND FEATURES ==== */
.features ul, .leistungen-list ul, .services-preview ul, .leistungen-details ul, .about-intro ul, .about-team ul, .about-why ul, .referenzen-projekte ul, .thank-you-section ul, .text-section ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}
.features ul li,
.leistungen-list ul li,
.services-preview ul li,
.leistungen-details ul li,
.about-intro ul li,
.about-team ul li,
.about-why ul li,
.referenzen-projekte ul li,
.thank-you-section ul li,
.text-section ul li {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--secondary);
  background: rgba(61,199,255,0.03);
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 1rem;
}
.features ul li img,
.contact-main ul li img,
.footer-contact img {
  height: 26px;
  width: 26px;
  margin-right: 12px;
  filter: drop-shadow(0px 2px 5px #3dc7ff35);
}

/* ==== CARDS + TESTIMONIALS ==== */
.card {
  position: relative;
  margin-bottom: 20px;
  z-index: 1;
}

.testimonials, .referenzen-testimonials {
  padding: 0;
  background: none;
  box-shadow: none;
}
.testimonial-card {
  margin-bottom: 24px;
  background: #fff;
  color: #213045;
  border-left: 4px solid var(--neon);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
  position: relative;
}
.testimonial-card p {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1e2332;
  font-size: 1.10rem;
  margin-bottom: 6px;
}
.testimonial-card div, .testimonial-card span {
  color: #353A55;
  font-size: 0.99rem;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(61,199,255,0.18);
  border-left-color: var(--accent);
}

/* ==== CTAs ==== */
.cta-final, .leistungen-cta, .referenzen-cta, .contact-cta {
  background: linear-gradient(120deg, #232B36 60%, #344968 100%);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px var(--shadow);
  text-align: center;
}

.cta-final h2, .leistungen-cta h2, .referenzen-cta h2, .contact-cta h2 {
  color: var(--accent);
  text-shadow: 0 0 6px rgba(246,184,0,0.09);
}
.cta-final p, .leistungen-cta p, .referenzen-cta p, .contact-cta p {
  margin-bottom: 18px;
}

/* ==== BUTTONS ==== */
button, .cta-button, .cookie-btn {
  transition: background 0.18s, color 0.15s, box-shadow 0.2s, border 0.16s;
}
.cookie-btn {
  background: var(--primary);
  border: none;
  color: var(--accent);
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 28px;
  border-radius: 9999px;
  font-size: 1rem;
  margin-right: 10px;
  box-shadow: 0 2px 8px rgba(33,64,90,0.06);
  border: 2px solid var(--neon);
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: var(--neon);
  color: #122334;
  border: 2px solid var(--accent);
}
.cookie-btn.settings {
  background: #344968;
  color: var(--neon);
  border: 2px solid var(--accent);
}
.cookie-btn.reject {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.cookie-btn.reject:hover { background: #f6b80011; color: var(--accent); }

/* ==== FOOTER ==== */
footer {
  background: #212634;
  color: var(--secondary);
  width: 100%;
  padding: 32px 0 16px 0;
  border-top: 3px solid var(--primary);
  font-size: 1rem;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a{
  color: var(--neon);
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--accent);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: var(--secondary);
  font-size: 0.98rem;
}
.footer-brand {
  color: #757b98;
  font-size: 0.95rem;
  margin-top: 16px;
  letter-spacing: 0.04em;
}
@media (max-width: 1000px) {
  footer .container {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    text-align: left;
  }
}

/* ==== FORMS & INPUTS ==== */
input, textarea, select {
  background: #202C3A;
  border: 1px solid #314760;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 14px;
  font-family: 'Roboto', Arial, sans-serif;
  width: 100%;
  margin-top: 4px;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--accent);
}
label {
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}

/* ==== FAQ ==== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-list li {
  background: #263145;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 18px;
}
.faq-list strong {
  color: var(--accent);
}
.faq-contact-prompt { margin-top: 22px; }
.faq-contact-prompt a {
  color: var(--neon);
  text-decoration: underline;
  transition: color 0.13s;
}
.faq-contact-prompt a:hover { color: var(--accent); }

/* ==== LEGAL and TEXT SECTIONS ==== */
.legal-section .text-section, .gdpr-section .text-section, .cookie-policy-section .text-section, .terms-section .text-section {
  margin-top: 24px;
  padding: 18px 10px 0 0;
  border-radius: 7px;
  background: rgba(33, 64, 90, 0.09);
}

.text-section h2, .text-section h3 {
  color: var(--neon);
  margin-top: 18px;
}

.text-section p { margin-bottom: 12px; }

/* ==== THANK YOU PAGE ==== */
.thank-you-section .cta-button {
  margin-top: 20px;
}

/* ==== COOKIE CONSENT ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(31,37,53,0.98);
  color: var(--secondary);
  padding: 26px 12px 20px 12px;
  box-shadow: 0 -2px 18px 0 rgba(61,199,255,0.11);
  z-index: 3000;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 32px;
  min-height: 70px;
  transition: transform 0.35s cubic-bezier(0.45,1.5,0.65,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-text {
  font-size: 1rem;
  max-width: 540px;
  color: var(--secondary);
  margin-right: 24px;
}
@media (max-width: 900px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie-banner .cookie-text { margin-right: 0; text-align: center; }
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  background: rgba(20,28,38,0.91);
  position: fixed;
  z-index: 3200;
  left: 0; top: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.2s;
}
.cookie-modal {
  background: #232B36;
  border: 2px solid var(--accent);
  border-radius: 18px;
  padding: 38px 36px 26px 36px;
  min-width: 380px;
  box-shadow: 0 8px 32px rgba(61,199,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: var(--secondary);
  max-width: 98vw;
  position: relative;
}
.cookie-modal h2 { color: var(--accent); margin-bottom: 10px; }
.cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0;
  background: #192334;
  padding: 10px 12px;
  border-radius: 8px;
}
.cookie-modal .cookie-category label {
  color: var(--neon);
  font-size: 1rem;
  font-weight: 500;
  margin-right: 8px;
}
.cookie-modal .cookie-category input[type=checkbox] {
  accent-color: var(--accent);
  width: 22px;
  height: 22px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--accent);
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.1s;
}
.cookie-modal .close-cookie-modal:hover { color: var(--neon); }
@media (max-width: 480px) {
  .cookie-modal {
    padding: 18px 4vw 14px 4vw;
    min-width: 220px;
  }
}

/* ==== MICRO-INTERACTIONS, TRANSITIONS, DECOR ==== */
a, button, .cta-button, .cookie-btn {
  transition: color .19s, background .21s, box-shadow .20s, border .15s;
}
.card, .testimonial-card {
  transition: box-shadow .22s, border-color .17s;
}
.cta-button, .cookie-btn {
  box-shadow: 0 4px 16px 0 rgba(246,184,0,0.07);
}
.cta-button:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* ==== RESPONSIVE SPACING & FLEX ==== */
@media (max-width: 900px) {
  .section, .features, .leistungen-list, .services-preview, .leistungen-details, .about-team, .about-why, .referenzen-projekte, .referenzen-testimonials, .cta-final, .leistungen-cta, .referenzen-cta, .contact-cta {
    padding: 24px 0 24px 0;
    margin-bottom: 32px;
  }
  .testimonial-card { padding: 12px; gap: 11px; }
  .card { padding: 18px 8px; }
}
@media (max-width: 480px) {
  .container { padding: 0 3vw; }
}

/* ==== SCROLLBAR STYLING for FUTURISTIC LOOK ==== */
::-webkit-scrollbar {
  width: 10px;
  background: #202C3A;
}
::-webkit-scrollbar-thumb {
  background: var(--neon);
  border-radius: 12px;
}

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