/* CSS RESET & BASE TYPOGRAPHY */
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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: linear-gradient(135deg, #181C26 0%, #242D41 100%);
  color: #F4F5F5;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #58E3FF;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D9B08C;
  outline: none;
}
strong {
  font-weight: 700;
}
ul, ol {
  list-style: none;
}
::-webkit-input-placeholder { color: #CAD1E2; }
::-moz-placeholder { color: #CAD1E2; }
:-ms-input-placeholder { color: #CAD1E2; }
::-ms-input-placeholder { color: #CAD1E2; }
::placeholder { color: #CAD1E2; }

/* VARIABLES (with fallbacks) */
:root {
  --color-primary: #1A2233;
  --color-secondary: #D9B08C;
  --color-accent: #F4F5F5;
  --color-bg-dark: #131825;
  --color-gradient-start: #232C3D;
  --color-gradient-end: #181C26;
  --color-neon: #58E3FF;
  --color-neon-pink: #FF63C3;
  --color-shadow: rgba(24, 36, 71, 0.12);
  --color-testi-bg: #F4F5F5;
  --color-testi-text: #232C3D;
  --font-display: 'Exo', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* CONTAINERS & SPACING */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(26,34,51,0.72);
  border-radius: 24px;
  box-shadow: 0 6px 24px var(--color-shadow);
  transition: background 0.3s;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 32px;
  }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-container,
.card-grid,
.service-listing,
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #21273a;
  border-radius: 18px;
  box-shadow: 0 2px 16px var(--color-shadow);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, background 0.2s;
}
.card:hover {
  box-shadow: 0 4px 20px #58E3FF50, 0 2px 16px var(--color-shadow);
  background: #242D41;
}
.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) {
  .content-grid,
  .card-container,
  .service-listing,
  .service-grid,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--color-testi-bg);
  color: var(--color-testi-text);
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(26,34,51,0.12);
  min-width: 260px;
  max-width: 600px;
  transition: box-shadow 0.2s, border 0.2s;
  border-left: 5px solid #58E3FF;
}
.testimonial-card strong, .testimonial-card span {
  color: #181C26;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.testimonial-card span {
  font-size: 18px;
  letter-spacing: 1px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  background: #242D41;
  padding: 18px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(88,227,255,0.06);
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #181C26;
  padding: 20px 0 18px 0;
  box-shadow: 0 1px 10px rgba(26,34,51,0.08);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1030;
}
header > a img {
  height: 42px;
  margin-right: 22px;
}
header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header nav {
  display: flex;
  gap: 28px;
}
header nav a {
  color: #F4F5F5;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  position: relative;
  padding: 2px 0;
  transition: color 0.23s;
}
header nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #58E3FF 0%, #FF63C3 90%);
  border-radius: 2px;
  transition: width 0.3s;
  position: absolute;
  left: 0;
  bottom: -2px;
}
header nav a:hover:after, header nav a:focus:after {
  width: 100%;
}
header nav a:hover, header nav a.active {
  color: #58E3FF;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 32px;
  color: #58E3FF;
  cursor: pointer;
  margin-left: 8px;
}

@media (max-width: 1024px) {
  header nav {
    gap: 16px;
  }
  header {
    padding: 16px 0;
  }
}
@media (max-width: 850px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100%; width: 100vw;
  background: #181C26F5;
  box-shadow: 0 8px 24px #1A223390;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.85,0,0.15,1);
  will-change: transform;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #58E3FF;
  font-size: 36px;
  margin: 22px 22px 0 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FF63C3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 52px 36px 0 0;
  align-items: flex-end;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 22px;
  color: #F4F5F5;
  padding: 12px 0;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1.2px;
  border-right: 4px solid transparent;
  transition: color 0.23s, border 0.23s;
  min-width: 185px;
  text-align: right;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: #58E3FF;
  border-right: 4px solid #58E3FF;
}

@media (max-width: 600px) {
  .mobile-nav {
    margin: 44px 0 0 0;
    align-items: stretch;
    gap: 20px;
  }
  .mobile-nav a {
    min-width: 0;
    font-size: 18px;
    padding: 13px 18px;
    border-radius: 9px;
    text-align: left;
  }
}

/* PAGE TITLES & TYPOGRAPHY */
h1, .page-title {
  font-family: var(--font-display);
  color: #58E3FF;
  font-size: 42px;
  font-weight: 800;
  text-shadow: 0 1px 30px #1A2233;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
h2 {
  font-family: var(--font-display);
  color: #D9B08C;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.8px;
}
h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: #F4F5F5;
  font-weight: 600;
  margin-bottom: 7px;
}
h4, h5, h6 {
  font-family: var(--font-body);
  color: #F4F5F5;
  font-weight: 600;
  margin-top: 18px;
  margin-bottom: 8px;
}
p, ul li, ol li {
  color: #F4F5F5;
  font-size: 16px;
}

@media (max-width: 550px) {
  h1, .page-title {
    font-size: 28px;
  }
  h2 {
    font-size: 20px;
  }
}

/* LISTS & ICONS */
ul li, ol li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
}
ul li img {
  position: absolute;
  left: 0; top: 2px;
  width: 20px;
  height: 20px;
  margin-right: 12px;
}

/* BUTTONS & CTA */
.cta-btn, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background: linear-gradient(90deg, #58E3FF 0%, #FF63C3 100%);
  color: #232C3D;
  border: none;
  border-radius: 32px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 2px 12px #58E3FF30;
  cursor: pointer;
  letter-spacing: 0.8px;
  margin-top: 12px;
  margin-bottom: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.23s, transform 0.17s;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus, .btn:hover, .btn:focus {
  background: linear-gradient(90deg, #FF63C3 0%, #58E3FF 100%);
  color: #fff;
  box-shadow: 0 2px 18px #58E3FF70, 0 2px 12px #FF63C350;
  transform: translateY(-2px) scale(1.025);
  outline: none;
}
.primary {
  /* Used for .cta-btn */
}
.secondary {
  background: linear-gradient(90deg, #D9B08C 0%, #58E3FF 100%);
  color: #131825;
}

/* TABLES (for Vergleichstabelle) */
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  color: #F4F5F5;
  background: #242D41;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px #181C2630;
  table-layout: auto;
}
.comparison-table th, .comparison-table td {
  padding: 16px 12px;
  text-align: left;
  font-size: 16px;
  border-bottom: 1px solid rgba(88,227,255,0.09);
}
.comparison-table th {
  background: #1A2233;
  color: #58E3FF;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}

/* FAQ PREVIEW */
.faq-preview {
  background: #21273a;
  border-radius: 13px;
  box-shadow: 0 2px 14px rgba(88,227,255,0.07);
  padding: 20px 24px;
  margin-top: 16px;
}
.faq-preview h3 {
  color: #58E3FF;
  font-size: 19px;
  margin-bottom: 7px;
}

/* BLOG TEASER & NEWSLETTER */
.blog-teaser {
  background: #242D41;
  border-radius: 13px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 18px 20px 16px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-teaser:hover {
  box-shadow: 0 6px 18px #58E3FF55, 0 2px 10px var(--color-shadow);
}

/* CARD DESIGN & TEAM */
.team-section, .service-listing {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.team-section > div, .service-listing > div, .service-grid > div {
  flex: 1 1 230px;
  background: #232C3D;
  border-radius: 14px;
  box-shadow: 0 3px 13px rgba(216,176,140,0.07);
  padding: 22px 19px;
  margin-bottom: 20px;
  transition: background 0.21s, box-shadow 0.21s;
}
.team-section > div:hover, .service-listing > div:hover, .service-grid > div:hover {
  background: #242D41;
  box-shadow: 0 4px 22px #58E3FF25, 0 3px 14px #D9B08C22;
}

/* CONTACT INFO */
.contact-info {
  background: #21273a;
  border-radius: 12px;
  box-shadow: 0 2px 10px #1A223340;
  padding: 22px 18px;
  margin-bottom: 18px;
  color: #F4F5F5;
}
.contact-map img {
  max-width: 160px;
  border-radius: 8px;
  box-shadow: 0 2px 8px #181C2635;
}
@media (max-width: 600px) {
  .contact-map img {
    max-width: 100%;
  }
}

/* FOOTER */
footer {
  background: #181C26;
  padding: 42px 0 0 0;
  color: #F4F5F5;
  margin-top: 64px;
}
.footer-section {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1.5px solid #232C3D;
}
.footer-section > a img {
  height: 44px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 4px;
}
footer nav a {
  color: #D9B08C;
  font-size: 15px;
}
.address-details {
  color: #C1CBDF;
  font-size: 15px;
}
.address-details a {
  color: #58E3FF;
  text-decoration: underline;
}
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 5px;
}
.social-links a {
  display: flex;
  align-items: center;
  border-radius: 50%;
  padding: 2px;
  transition: background 0.13s;
}
.social-links a:hover {
  background: #58E3FF33;
}
.legal-notices {
  text-align: center;
  font-size: 14px;
  color: #D9B08C;
  margin: 16px 0 0 0;
  padding-bottom: 14px;
}
@media (max-width: 800px) {
  .footer-section {
    flex-direction: column;
    gap: 22px;
    padding-bottom: 16px;
    align-items: flex-start;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #232C3D;
  color: #F4F5F5;
  box-shadow: 0 -2px 32px #1A223320;
  padding: 24px 10px 20px 10px;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  opacity: 1;
  transition: transform 0.34s cubic-bezier(0.8,0,0.2,1), opacity 0.34s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: #F4F5F5;
  font-size: 15px;
  max-width: 700px;
}
.cookie-banner .btn, .cookie-banner .btn-cookie {
  padding: 10px 22px;
  margin: 0 7px;
  font-size: 16px;
  border-radius: 20px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cookie-banner .btn-accept {
  background: linear-gradient(90deg, #58E3FF 0%, #FF63C3 100%);
  color: #232C3D;
}
.cookie-banner .btn-reject {
  background: #1A2233;
  color: #D9B08C;
  border: 1.5px solid #58E3FF;
}
.cookie-banner .btn-settings {
  background: none;
  color: #58E3FF;
  border: 1px solid #58E3FF;
}
.cookie-banner .btn-cookie:hover, .cookie-banner .btn-cookie:focus {
  background: #FF63C3;
  color: #fff;
  border: 1px solid #FF63C3;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-54%) scale(1);
  background: #1A2233;
  color: #F4F5F5;
  z-index: 2050;
  box-shadow: 0 12px 44px #13182550;
  min-width: 320px;
  max-width: 96vw;
  padding: 30px 32px 26px 28px;
  border-radius: 18px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.22s, transform 0.22s;
}
.cookie-modal.hide {
  opacity: 0;
  transform: translate(-50%,-54%) scale(0.93);
  pointer-events: none;
}
.cookie-modal h2 {
  color: #58E3FF;
  font-size: 22px;
}
.cookie-modal .cookie-cat {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 18px 0 20px 0;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
}
.cookie-modal .toggle {
  width: 36px; height: 20px;
  background: #181C26;
  border-radius: 16px;
  border: 1.3px solid #58E3FF;
  cursor: pointer;
  position: relative;
  transition: background 0.18s, border 0.18s;
  margin-left: auto;
}
.cookie-modal .toggle:after {
  content: '';
  display: block;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #58E3FF;
  position: absolute; left: 2px; top: 1.5px;
  transition: left 0.24s;
}
.cookie-modal .toggle.checked:after {
  left: 18px;
  background: #FF63C3;
}
.cookie-modal .toggle.disabled {
  opacity: 0.4;
  pointer-events: none;
}
.cookie-modal .btn-save {
  background: linear-gradient(90deg, #58E3FF 0%, #FF63C3 100%);
  color: #232C3D;
  padding: 12px 28px;
  border-radius: 22px;
  font-size: 17px;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.19s;
}
.cookie-modal .btn-save:hover {
  background: linear-gradient(90deg, #FF63C3 0%, #58E3FF 100%);
  color: #fff;
}

@media (max-width: 560px) {
  .cookie-modal {
    padding: 19px 10px 15px 12px;
    min-width: 0;
    font-size: 13px;
  }
  .cookie-modal h2 { font-size: 16px; }
}

/* ANIMATIONS */
.cta-btn, .btn,
.mobile-menu,
.cookie-banner,
.cookie-modal,
.card, .blog-teaser, .team-section > div, .service-listing > div {
  transition-property: background, box-shadow, color, border, transform, opacity;
  transition-timing-function: cubic-bezier(0.7,0,0.3,1);
  transition-duration: 0.2s, 0.25s;
}

/* VISUAL EFFECTS, SHADOWS, NEON ACCENTS */
.cta-btn, .btn, .testimonial-card, .card {
  box-shadow: 0 4px 20px #58E3FF18, 0 2px 10px #FF63C318, 0 2px 10px #1A223320;
}
.cta-btn.primary, .btn.primary {
  border: 1.5px solid #58E3FF;
  box-shadow: 0 0 0 2px #58E3FF33;
}
.cta-btn.primary:before {
  content: '';
  display: block;
  position: absolute;
  inset: 2px;
  border-radius: 32px;
  background: linear-gradient(90deg, #181C26 0%, #232C3D 100%);
  z-index: 0;
  opacity: 0.25;
}

/* VISUAL HIERARCHY (SPACING & USAGE) */
main {
  min-height: 70vh;
  padding-bottom: 36px;
}
.section + .section {
  margin-top: 24px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .footer-section {
    flex-direction: column;
    gap: 18px;
    padding-bottom: 12px;
    align-items: flex-start;
  }
  header {
    flex-wrap: wrap;
    gap: 10px;
  }
  .section, .card, .testimonial-card, .team-section > div, .service-listing > div {
    padding-left: 10px;
    padding-right: 10px;
  }
  .container {
    padding: 0 8px;
  }
}

/* PRINT (SMALL RESET) */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal, header, footer {
    display: none !important;
  }
  .section, main, body {
    background: #fff !important;
    color: #222 !important;
  }
  .card, .testimonial-card {
    background: #fff !important;
    color: #232C3D !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
}
