/* --- SharpSynth TestLab Futuristic Tech-Inspired 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  background: #111922;
  color: #F2F2F2;
  font-family: 'Roboto', Arial, sans-serif;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #14B89B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #22ffe3;
}

/* BRAND COLOR VARIABLES (with fallback) */
:root {
  --color-primary: #1F3A4B;
  --color-secondary: #F2F2F2;
  --color-accent: #14B89B;
  --color-bg: #111922;
  --color-bg-alt: #1F3A4B;
  --color-bg-light: #15202B;
  --color-text: #F2F2F2;
  --color-text-dark: #14171a;
  --color-card-bg: #18232b;
  --color-shadow: 0 6px 32px 0 rgba(20, 184, 155, 0.06); /* soft accent shadow */
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: #F2F2F2;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 500;
}

p, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #E3E6EA;
}
p.subheadline {
  color: #c7f4ef;
  font-size: 1.15rem;
  font-family: var(--font-body);
  margin-bottom: 32px;
}
strong {
  font-weight: 800;
  color: #fff;
}

ul, ol {
  margin-left: 20px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* GLOBAL CONTAINERS & LAYOUTS */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.text-section {
  background: var(--color-card-bg);
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(20,184,155,0.06);
  padding: 32px 20px;
  margin-bottom: 32px;
}

/* SECTION SPACING (mandatory) */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 0;
  position: relative;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEX CONTAINERS (strictly flex only!) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--color-card-bg);
  border-radius: 16px;
  box-shadow: var(--color-shadow);
  padding: 28px 22px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-card-bg);
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(20,184,155,0.05);
  padding: 22px 18px;
  margin-bottom: 20px;
}
/* Testimonial cards should always be readable: dark text on light. */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  color: #1F3A4B;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 rgba(15,24,70,0.13);
  padding: 20px;
  margin-bottom: 20px;
  font-family: var(--font-body);
  transition: box-shadow 0.3s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 30px 0 rgba(20,184,155,0.13);
  transform: translateY(-2px) scale(1.03);
}

/*--- HERO SECTION ---*/
.hero {
  background: linear-gradient(112deg, #1F3A4B 70%, #14B89B 100%);
  position: relative;
  margin-bottom: 0;
  min-height: 340px;
  box-shadow: 0 10px 60px 0 rgba(20,184,155,0.10);
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 320px;
  gap: 0;
}
.hero h1 {
  color: #f7fcfa;
  font-size: 2.7rem;
  text-shadow: 0 2px 18px #12907855;
  margin-bottom: 18px;
}
.hero .subheadline {
  font-size: 1.18rem;
  margin-top: 0;
  color: #eafff8;
}

/* --- NAVIGATION & HEADER --- */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #111922c0;
  backdrop-filter: blur(7px);
  width: 100%;
  box-shadow: 0 1px 18px 0 rgba(20,184,155,0.07);
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 18px;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 20px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: var(--font-display);
  color: #c0fbf2;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #15202B;
  color: #14B89B;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: #14B89B;
  color: #101925;
  font-family: var(--font-display);
  font-size: 1.11rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 10px 28px;
  margin-left: 22px;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(20,184,155,0.09);
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s, box-shadow 0.22s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #19e5c3;
  color: #111922;
  box-shadow: 0 8px 38px 0 #18b49666;
  outline: 0;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.05rem;
  background: none;
  color: #16ffd0;
  border: none;
  cursor: pointer;
  margin-left: 12px;
  z-index: 1001;
  transition: color 0.25s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #14B89B;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #101925ec;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(-100%);
  transition: transform 0.29s cubic-bezier(0.77,0,0.18,1);
  box-shadow: 0 0 92px #0ffbe5cc;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #14B89B;
  background: none;
  border: none;
  margin: 25px 24px 12px 0;
  align-self: flex-end;
  cursor: pointer;
  z-index: 2100;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  outline: 0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding-left: 36px;
  padding-top: 12px;
}
.mobile-nav a {
  color: #FFFFFF;
  font-size: 1.15rem;
  padding: 12px 0;
  font-family: var(--font-display);
  font-weight: 600;
  border-bottom: 1px solid #14B89B11;
  width: 100%;
  transition: color 0.18s, background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #14B89B;
  background: #1a4340;
}

@media (max-width: 1100px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 12px;
  }
  .btn-primary {
    margin-left: 0;
  }
}
@media (max-width: 870px) {
  header .container {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  /* --- Responsive Layouts --- */

  header .container {
    flex-direction: row;
    gap: 10px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .btn-primary {
    margin-left: 0;
    padding: 10px 22px;
    font-size: 1rem;
  }
  .hero .container {
    min-height: 200px;
  }
  .content-wrapper, .text-section {
    padding: 28px 8px;
  }
  .testimonial-card {
    padding: 16px 10px;
    font-size: 1rem;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid, .service-list, .team-list {
    flex-direction: column;
    gap: 22px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 520px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  header img {
    height: 36px;
  }
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.13rem;
  }
}

/* --- FEATURE GRID --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(120deg, #122b3d 70%, #14B89B05);
  border-radius: 14px;
  box-shadow: 0 2px 18px #14B89B27;
  padding: 24px 20px 20px 20px;
  margin-bottom: 20px;
  min-width: 270px;
  max-width: 340px;
  flex: 1 1 220px;
  gap: 15px;
  transition: box-shadow 0.25s, transform 0.18s;
}
.feature-card img {
  width: 50px;
  height: 50px;
  display: block;
  margin-bottom: 10px;
  filter: drop-shadow(0 1px 7px #14B89B44);
}
.feature-card h3 {
  margin-bottom: 10px;
  color: #14B89B;
  font-size: 1.1rem;
  font-weight: 700;
}
.feature-card p {
  color: #E3E6EA;
  font-size: 1rem;
}
.feature-card:hover, .feature-card:focus-within {
  box-shadow: 0 8px 38px #14B89B44, 0 1px 4px #14B89B18;
  transform: scale(1.035);
}

/* SERVICE LIST */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  background: #18232b;
  border-radius: 13px;
  padding: 25px 20px 18px 20px;
  box-shadow: 0 2px 14px #14B89B25;
}
.service-item h3 {
  color: #14B89B;
  font-size: 1.1rem;
  font-family: var(--font-display);
  margin-bottom: 6px;
  font-weight: 700;
}
.service-price {
  background: #14B89B;
  color: #101925;
  font-weight: 900;
  border-radius: 5px;
  font-size: 0.98rem;
  margin-left: 10px;
  padding: 3px 13px;
  text-shadow: none;
}

/* TEAM PROFILES (about.html) */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.team-member-bio {
  background: #1F3A4B;
  border-radius: 9px;
  color: #F2F2F2;
  box-shadow: 0 2px 9px #14B89B14;
  font-family: var(--font-body);
  padding: 18px 20px;
  margin-bottom: 20px;
  flex: 1 1 230px;
  font-size: 1rem;
  line-height: 1.6;
}
.team-member-bio strong {
  color: #14B89B;
  font-weight: 800;
}

/* BLOG TEASERS */
.blog-post-teaser {
  background: #151d27;
  border-radius: 10px;
  box-shadow: 0 2px 10px #14B89B11;
  padding: 24px 18px 18px 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.17s;
}
.blog-post-teaser h3 {
  color: #14B89B;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.blog-post-teaser p {
  color: #F2F2F2;
  font-size: 1rem;
}
.blog-post-teaser a {
  display: inline-block;
  margin-top: 7px;
  color: #42ffe0;
  transition: color 0.19s;
  font-weight: 600;
}
.blog-post-teaser a:hover {
  color: #14B89B;
  text-decoration: underline;
}
.blog-post-teaser:hover {
  box-shadow: 0 8px 28px #14B89B33, 0 1px 4px #14B89B15;
  transform: scale(1.022);
}

/* QA HIGHLIGHT BOX (ablauf-methodik) */
.qa-highlight {
  background: #14B89B13;
  border-left: 6px solid #14B89B;
  border-radius: 12px;
  padding: 24px 18px;
  margin-top: 26px;
  margin-bottom: 28px;
  box-shadow: 0 2px 10px #14B89B11;
}
.qa-highlight h3 {
  color: #14B89B;
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-family: var(--font-display);
}
.qa-highlight ul li {
  color: #F2F2F2;
  font-size: 1rem;
}

/* ICONS ROW (ablauf-methodik) */
.method-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  margin: 20px 0 12px 0;
}
.method-icons img {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 1px 7px #14B89B55);
}

/* FOOTER */
footer {
  background: #1F3A4B;
  color: #F2F2F2;
  padding-top: 28px;
  padding-bottom: 20px;
  margin-top: 65px;
  border-top: 2px solid #14B89B22;
  box-shadow: 0 0 40px 0 #14B89B18;
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.footer-nav a {
  color: #14B89B;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 5px;
  transition: color 0.19s, background 0.22s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #16ffd022;
  color: #111922;
}
.footer-text {
  font-size: 0.98rem;
  color: #CCDFEC;
  margin-top: 7px;
  font-family: var(--font-body);
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #101925;
  color: #fff;
  padding: 28px 24px 18px 24px;
  box-shadow: 0 -6px 40px #14B89B35;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 32px;
  z-index: 3000;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: transform 0.32s cubic-bezier(0.77,0,0.18,1);
  transform: translateY(120%);
}
.cookie-banner.show {
  transform: translateY(0%);
}
.cookie-banner__text {
  flex: 1 1 250px;
  color: #F2F2F2;
  margin-bottom: 7px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  min-width: 120px;
  border: none;
  border-radius: 7px;
  background: #14B89B;
  color: #111922;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 9px 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-top: 0;
}
.cookie-btn.reject {
  background: #f25767;
  color: #fff;
}
.cookie-btn.settings {
  background: #151d27;
  color: #14B89B;
  border: 1.5px solid #14B89B;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #19e5c3;
  color: #101925;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #d5233a;
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #192732;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 22px 8px 20px 8px;
    font-size: 0.97rem;
    align-items: flex-start;
  }
  .cookie-banner__actions {
    gap: 12px;
    width: 100%;
  }
}

/* Cookie Banner Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 96vw;
  max-width: 430px;
  background: #18232b;
  color: #f2f2f2;
  z-index: 4000;
  border-radius: 17px;
  box-shadow: 0 8px 64px #14B89B44;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translate(-50%, -50%) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
}
.cookie-modal.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}
.cookie-modal__header {
  font-family: var(--font-display);
  font-size: 1.21rem;
  font-weight: 700;
  color: #14B89B;
  padding: 16px 20px 0 20px;
}
.cookie-modal__body {
  padding: 2px 22px 14px 22px;
  font-size: 1rem;
  color: #eafff8;
}
.cookie-pref-group {
  margin-bottom: 18px;
}
.cookie-pref-label {
  font-weight: 600;
  color: #fff;
  margin-left: 4px;
  font-size: 1rem;
}
.cookie-pref-desc {
  font-size: 0.97rem;
  color: #bdebe4;
  margin-left: 8px;
  margin-bottom: 8px;
}
.cookie-switch {
  accent-color: #14B89B;
  width: 22px;
  height: 22px;
  margin-right: 7px;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  padding: 0 20px 18px 20px;
}
.cookie-modal__close {
  position: absolute;
  top: 10px;
  right: 17px;
  background: none;
  font-size: 1.6rem;
  color: #14B89B;
  border: none;
  cursor: pointer;
  z-index: 4040;
  transition: color 0.2s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #fff;
}
@media (max-width: 520px) {
  .cookie-modal {
    width: 98vw;
    left: 50%;
    transform: translate(-50%,-50%) scale(0.97);
    padding: 0 1px;
  }
}

/* THANK YOU SECTION */
.thank-you {
  min-height: 44vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #14B89B12;
  border-bottom: 5px solid #14B89B33;
}
.thank-you .container {
  align-items: center;
  gap: 0;
}
.thank-you h1 {
  color: #179077;
  text-shadow: 0 2px 12px #1f3a4b44;
  font-size: 2rem;
  margin-bottom: 22px;
  margin-top: 20px;
}
.thank-you p {
  color: #F2F2F2;
  margin-bottom: 29px;
  font-size: 1.11rem;
}

/* GENERAL CARD STYLE */
.card, .feature-card, .service-item, .blog-post-teaser, .team-member-bio {
  transition: transform 0.15s, box-shadow 0.21s;
}
.card:focus-within, .feature-card:focus-within, .service-item:focus-within, .blog-post-teaser:focus-within, .team-member-bio:focus-within {
  outline: 2px solid #14B89B55;
  outline-offset: 2px;
}

/* INTERACTIVE FOCUS OUTLINES */
a:focus, .btn-primary:focus, button:focus, .cookie-btn:focus {
  outline: 2px solid #14B89B;
  outline-offset: 3px;
}

/* FOCUS & HOVER GLOW EFFECTS (tech neon) */
.btn-primary:focus, .btn-primary:hover,
.card:hover, .feature-card:hover, .service-item:hover, .blog-post-teaser:hover {
  box-shadow: 0 2px 28px #14B89B66, 0 1.5px 8px #14B89B33;
}

/* DISABLED BUTTON STYLE */
button:disabled, .btn-primary:disabled {
  background: #8dc1bc;
  color: #b4ece0;
  opacity: 0.6;
  cursor: not-allowed;
}

/* TABLES (legal pages if applicable) */
table {
  border-collapse: collapse;
  width: 100%;
  font-family: var(--font-body);
  margin-bottom: 26px;
  background: #151d27;
  border-radius: 7px;
  overflow: hidden;
}
th, td {
  padding: 10px 12px;
  border: 1px solid #14B89B22;
  color: #F2F2F2;
}
th {
  background: #14B89B22;
}

/* FORM ELEMENTS - minimal example / placeholder */
input, textarea, select {
  background: #1F3A4B;
  color: #fff;
  border: 1.5px solid #14B89B66;
  border-radius: 6px;
  font-size: 1rem;
  padding: 8px 12px;
  font-family: var(--font-body);
  margin-bottom: 12px;
  transition: border-color 0.19s, background 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #14B89B;
  background: #131b25;
  outline: none;
}

/* SELECTION COLOR */
::selection {
  background: #14B89B;
  color: #111922;
}

/* SCROLLBAR STYLING */
body::-webkit-scrollbar {
  width: 14px;
}
body::-webkit-scrollbar-thumb {
  background: #14B89B25;
  border-radius: 7px;
}
body::-webkit-scrollbar-track {
  background: #111922;
}

/* ANIMATIONS */
@keyframes slideInY {
  from { transform: translateY(60px); opacity: 0; }
  to {   transform: translateY(0); opacity: 1; }
}
.hero, .card, .feature-card, .testimonial-card, .blog-post-teaser, .service-item {
  animation: slideInY 0.6s ease-out 0s 1;
}

/* Prevent overlapping and maintain spacing for all cards and sections */
.card + .card, .feature-card + .feature-card, .service-item + .service-item, .testimonial-card + .testimonial-card, .blog-post-teaser + .blog-post-teaser, .content-wrapper + .content-wrapper, .text-section + .text-section {
  margin-top: 20px;
}
