/* Reset & Baseline Normalize */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #1A213A;
  color: #F4F4F9;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #37c6f6;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A9D4F7;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  color: #F4F4F9;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.375rem; margin-bottom: 18px; }
button, .cta-button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  border-radius: 32px;
  padding: 12px 32px;
  background: linear-gradient(97deg, #2988A9 0%, #37c6f6 100%);
  color: #1A213A;
  box-shadow: 0 2px 12px rgba(41,136,169,0.18);
  transition: background 0.2s, transform 0.17s, box-shadow 0.2s;
  display: inline-block;
  text-align: center;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 1;
}
button:active, .cta-button:active {
  transform: scale(0.98);
}
button:hover, button:focus,
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(97deg, #37c6f6 0%, #2988A9 100%);
  box-shadow: 0 4px 24px 0 rgba(41,136,169,0.31);
  color: #F4F4F9;
}
section { width: 100%; margin-bottom: 60px; padding: 40px 20px; }
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Header and Navigation */
header {
  width: 100%;
  background: #21284d;
  box-shadow: 0 2px 18px rgba(41,136,169,0.09);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img[alt="Saphir Handwerk"] {
  height: 48px;
  width: auto;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #F4F4F9;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2.5px solid transparent;
  transition: color 0.17s, border-color 0.19s;
}
header nav a:hover, header nav a:focus {
  color: #37c6f6;
  border-bottom: 2.5px solid #37c6f6;
}
.cta-button {
  margin-left: 18px;
  background: linear-gradient(93deg, #37c6f6 0%, #2988A9 100%);
  color: #1A213A;
  font-size: 1.08rem;
  box-shadow: 0 2px 12px rgba(52,198,246,0.12);
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(91deg, #2988A9 0%, #37c6f6 90%);
  color: #F4F4F9;
}

/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.05rem;
  color: #37c6f6;
  padding: 8px 14px;
  align-self: center;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 50;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #A9D4F7;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 100;
  background: #1A213A;
  box-shadow: 0 8px 36px rgba(41,136,169,0.12);
  transition: transform 0.33s cubic-bezier(0.75,0,0.5,1), opacity 0.22s;
  transform: translateX(100%);
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  flex-direction: column;
  transform: translateX(0%);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #37c6f6;
  font-size: 2rem;
  margin: 18px 24px 0 0;
  cursor: pointer;
  transition: color 0.19s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #A9D4F7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  padding: 46px 32px 32px 32px;
}
.mobile-nav a {
  font-size: 1.28rem;
  font-weight: 600;
  color: #F4F4F9;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1.5px solid transparent;
  width: 100%;
  transition: color 0.17s, border-color 0.12s, background 0.17s;
  border-radius: 8px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #37c6f6;
  background: #21284d;
  border-bottom: 1.5px solid #37c6f6;
}

@media (max-width: 1025px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .cta-button { margin-left: 0; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  header img[alt="Saphir Handwerk"] { height: 36px; }
  .cta-button { padding: 10px 18px; font-size: 0.97rem; }
}

/* Hero Sections */
.hero {
  background: linear-gradient(105deg, #21284d 60%, #091230 100%);
  position: relative;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 6px 30px rgba(41,136,169,.14);
  margin-bottom: 60px;
  min-height: 280px;
  display: flex;
  align-items: center;
  padding: 48px 0 48px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero h1, .hero p {
  color: #F4F4F9;
  filter: drop-shadow(0 1.5px 0 rgba(41,136,169,0.05));
}
.hero .cta-button {
  margin-top: 30px;
}
@media (max-width: 768px) {
  .hero {
    text-align: center;
    align-items: flex-start;
    border-radius: 0 0 16px 16px;
    padding: 34px 0 28px 0;
  }
}

/* Features Section */
.features {
  background: #232b4a;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(41,136,169,.10);
  margin-bottom: 60px;
}
.features h2 {
  color: #A9D4F7;
}
.features ul {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 12px;
}
.features li {
  display: flex;
  align-items: center;
  font-size: 1.13rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #FFF;
  gap: 16px;
  background: #22375c;
  border-radius: 12px;
  padding: 16px 24px;
  transition: box-shadow 0.19s, background 0.13s;
  box-shadow: 0 2px 8px rgba(41,136,169,0.08);
}
.features li img {
  height: 36px;
  width: 36px;
  filter: drop-shadow(0 1px 2px #37c6f6);
}
.features li:hover, .features li:focus-within {
  background: #1A213A;
  box-shadow: 0 4px 18px 0 rgba(52,198,246,0.16);
}

/* Cards & Content Layout */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #21284d;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgb(41,136,169,0.11);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  min-width: 240px;
  padding: 28px 24px;
  transition: box-shadow 0.17s, transform 0.17s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 35px 0 rgba(52,198,246,0.21);
  transform: translateY(-3px) 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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* Testimonial Cards */
.testimonials {
  background: #252e4e;
  border-radius: 16px;
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  gap: 34px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #F4F4F9;
  color: #1A213A;
  padding: 20px;
  margin-bottom: 24px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(41,136,169,0.12);
  max-width: 600px;
  width: 100%;
  transition: box-shadow 0.16s, transform 0.18s;
  border: 1.5px solid #37c6f6;
}
.testimonial-card p {
  color: #21284d;
  font-size: 1.08rem;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.6;
}
.testimonial-card span {
  color: #2988A9;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 24px 0 rgba(52,198,246,0.18);
  transform: scale(1.015);
}

/* Feature List Items */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Text Section */
.text-section {
  margin-top: 8px;
  margin-bottom: 8px;
  color: #F4F4F9;
  font-size: 1.11rem;
  line-height: 1.7;
}
.text-section ul li {
  margin-bottom: 14px;
  padding-left: 0;
  color: #A9D4F7;
}

/* Footer Styles */
footer {
  background: #181E33;
  color: #A9D4F7;
  font-size: 0.97rem;
  padding: 50px 0 28px 0;
  width: 100%;
  box-shadow: 0 -2px 18px rgba(41,136,169,0.06);
  border-radius: 16px 16px 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 200px;
}
.footer-brand img { height: 38px; }
.footer-brand span { color: #A9D4F7; font-size: 1.01rem; opacity: 0.9; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #A9D4F7;
  font-weight: 500;
  font-size: 0.98rem;
  border-bottom: 1.5px solid transparent;
  transition: color 0.16s, border-color 0.11s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #37c6f6; border-bottom: 1.5px solid #37c6f6; }
.footer-contact-short {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-contact-short div {
  display: flex;
  align-items: center;
  color: #A9D4F7;
  gap: 9px;
  font-size: 0.97rem;
}
.footer-contact-short img {
  height: 20px;
  width: 20px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.footer-social a img {
  transition: filter 0.15s, transform 0.15s;
  filter: grayscale(.45) brightness(1.1) drop-shadow(0 1px 3px #37c6f6);
  height: 28px;
  width: 28px;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: brightness(1.36) saturate(2) drop-shadow(0 2px 7px #2988A9);
  transform: scale(1.12);
}
@media (max-width: 900px) {
  footer .container { flex-direction: column; gap: 26px; align-items: flex-start; }
  .footer-brand, .footer-contact-short, .footer-social, .footer-nav { margin-bottom: 10px; }
}

/* General Section and Card Spacing */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Responsive Design */
@media (max-width: 700px) {
  .container {
    max-width: 100%;
    padding-left: 8px;
    padding-right: 8px;
  }
  section, .section { padding: 32px 6px; }
  .card {
    min-width: 90vw;
    padding: 18px 12px;
  }
  .testimonial-card {
    padding: 15px 10px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.28rem; }
}

/* Utility & Effects */
.boxed {
  background: #232b4a;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(41,136,169,0.07);
  padding: 20px;
}
[tabindex]:focus { outline: 2px solid #37c6f6; outline-offset: 2px; }

/* Table Styles (for policies, if any) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 1rem;
  background: #232b4a;
  color: #F4F4F9;
}
td, th {
  border: 1px solid #37c6f6;
  padding: 10px 14px;
}
th {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #37c6f6;
  background: #22375c;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: #181e33;
  color: #F4F4F9;
  box-shadow: 0 -2px 18px rgba(41,136,169,0.13);
  padding: 26px 16px 20px 16px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 28px;
  justify-content: space-between;
  flex-wrap: wrap;
  animation: cookieSlideIn 0.49s cubic-bezier(.68,-0.37,.33,1.37);
}
@keyframes cookieSlideIn {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 220px;
  font-size: 1rem;
  margin-bottom: 7px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner button, .cookie-banner .cta-button {
  font-size: 0.97rem;
  border-radius: 24px;
  padding: 9px 21px;
  border: none;
  box-shadow: none;
  background: #37c6f6;
  color: #1A213A;
  font-weight: 600;
  transition: background 0.17s, color 0.11s, transform 0.12s;
}
.cookie-banner button:focus, .cookie-banner button:hover {
  background: #2988A9;
  color: #F4F4F9;
}
.cookie-banner__settings {
  background: none !important;
  border: 1.5px solid #37c6f6;
  color: #37c6f6;
  transition: background 0.15s, color 0.12s, border-color 0.13s;
}
.cookie-banner__settings:hover, .cookie-banner__settings:focus {
  background: #37c6f6 !important;
  color: #1A213A;
  border-color: #2988A9;
}
@media (max-width: 700px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 18px; padding: 16px 4vw 11px 4vw; }
  .cookie-banner__actions { width: 100%; gap: 8px; }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(20,28,56,0.85);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: modalFadeIn 0.27s cubic-bezier(.68,-0.37,.33,1.37);
}
@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal__dialog {
  background: #232b4a;
  border-radius: 22px;
  box-shadow: 0 8px 42px 0 rgba(52,198,246,0.19);
  padding: 32px 26px 26px 26px;
  min-width: 320px;
  max-width: 94vw;
  color: #F4F4F9;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cookie-modal__close {
  background: none;
  border: none;
  color: #37c6f6;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus { color: #A9D4F7; }
.cookie-modal__sections {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal__category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 9px 0;
}
.cookie-modal__category-label {
  min-width: 160px;
  color: #F4F4F9;
}
.cookie-modal__toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #A9D4F7;
  border-radius: 10px;
  position: relative;
  transition: background 0.18s;
  outline: none;
  cursor: pointer;
  margin-left: 0;
}
.cookie-modal__toggle:checked {
  background: #37c6f6;
}
.cookie-modal__toggle:before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: #232b4a;
  border-radius: 10px;
  position: absolute;
  left: 0;
  top: 0;
  box-shadow: 0 1px 5px #2988A9;
  transition: left 0.21s cubic-bezier(.6, .3, .23, 1.3);
}
.cookie-modal__toggle:checked:before { left: 18px; background:#1A213A; }
.cookie-modal__category-desc {
  color: #A9D4F7;
  font-size: 0.98rem;
}
.cookie-modal__footer {
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal__footer button {
  font-size: 1rem;
  border-radius: 24px;
  border: none;
  padding: 10px 22px;
}
@media (max-width: 580px) {
  .cookie-modal__dialog { min-width: 0; padding: 20px 6px 10px 6px; }
  .cookie-modal__footer { flex-direction: column; gap: 12px; align-items: stretch; }
}

/* Animations for micro-interaction */
button, .cta-button, .footer-social a img, .card, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.15s, background 0.18s, color 0.15s;
}

/* Selection highlight */
::selection { background: #37c6f6; color: #1A213A; }

/* NEON Accents and Futuristic Border Highlights */
.card, .testimonial-card, .footer-social a img {
  box-shadow: 0 0 0 2px rgba(41,136,169,0), 0 1px 22px 0 rgba(52,198,246,0.06);
  border: 2px solid transparent;
}
.card:hover, .testimonial-card:hover {
  border-color: #37c6f6;
  box-shadow: 0 0 16px 1px #37c6f6, 0 6px 42px 0 rgba(52,198,246,0.14);
}
.features li:hover, .feature-item:focus-within {
  border: 1.5px solid #37c6f6;
  transition: border-color 0.2s;
}

/* Scrollbar for Futuristic Feel */
body::-webkit-scrollbar {
  width: 10px;
  background: #21284d;
}
body::-webkit-scrollbar-thumb {
  background: #37c6f6;
  border-radius: 5px;
  box-shadow: 0 2px 8px #2988A9;
}

/* EASY TYPOGRAPHY SIZES/SCALE */
.small { font-size: 0.92rem; }
.large { font-size: 1.18rem; }

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

/* Miscellaneous: Loader, Error, Success (if needed) */
.loader {
  display: inline-block;
  width: 26px; height: 26px;
  border: 3px solid #37c6f6;
  border-top: 3px solid #1A213A;
  border-radius: 50%;
  animation: spin 1.1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Prevent element overlapping and enforce spacing for any flex container */
.container, .content-wrapper, .section, .card-container, .content-grid, .text-image-section {
  gap: 20px;
}
.testimonials .content-wrapper { gap: 32px; }

/* END OF CSS */