/* ========================
   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;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #14192b;
  color: #E6EEF6;
  font-family: 'Arial', sans-serif;
  min-height: 100vh;
  position: relative;
}
img, picture {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}
*:focus {
  outline: 2px solid #86BBD8;
  outline-offset: 2px;
}

/* =========================
   FONTS - TECH/FUTURISTIC
========================= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,500,400&display=swap');
body, input, button, textarea {
  font-family: 'Arial', sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.03em;
  color: #F2F2F2;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 700;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p, li, label {
  font-size: 1rem;
  color: #E6EEF6;
}
strong {
  color: #86BBD8;
  font-weight: bold;
}
em {
  color: #86BBD8;
  font-style: normal;
}

/* ===========================
   COLORS & BRAND VARIABLES
=========================== */
:root {
  --color-primary: #1A3A55; /* Brand blue */
  --color-secondary: #86BBD8; /* Brand cyan */
  --color-accent: #F2F2F2; /* Light accent */
  --color-bg-main: #14192b; /* Futuristic dark navy */
  --color-bg-card: #1A2336; /* Deep blue card */
  --color-neon: #40E6FF; /* Futuristic neon */
  --color-danger: #ff2e63; /* Neon red danger */
  --color-shadow: rgba(22, 39, 69, 0.18);
  --shadow-card: 0 4px 24px 0 var(--color-shadow);
  --radius-base: 18px;
  --radius-btn: 22px;
  --radius-card: 18px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Arial', sans-serif;
}

/* =========================
   UTILITY SPACING CLASSES
========================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  transition: box-shadow 0.22s cubic-bezier(.45,.05,.22,1);
  gap: 16px;
}
.card:hover {
  box-shadow: 0 8px 32px 0 #1a3a557f, 0 0 0 2px var(--color-neon);
  z-index: 10;
}
.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;
  background: var(--color-accent);
  color: #1A2336;
  box-shadow: 0 4px 24px 0 rgba(28, 42, 71, 0.16);
  border-radius: var(--radius-card);
  padding: 20px;
  font-size: 1.05rem;
  margin-bottom: 20px;
  min-width: 0;
}
.testimonial-card strong {
  color: #1A3A55;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  margin-bottom: 20px;
}

/* ===================
   HEADER & NAV
=================== */
header {
  background: linear-gradient(90deg, #162447 0%, #1A3A55 100%);
  box-shadow: 0 2px 18px 0 rgba(22, 39, 69, .10);
  position: relative;
  z-index: 90;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  color: var(--color-accent);
  padding: 7px 15px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  border-radius: 8px;
  position: relative;
  transition: color 0.18s, background-color 0.12s;
}
header nav a:hover, header nav a:focus {
  color: var(--color-neon);
  background-color: rgba(22,58,85,0.18);
}
header .btn-primary {
  margin-left: 10px;
}

header img {
  height: 44px;
  width: auto;
  vertical-align: middle;
}

/* ===============
   MOBILE NAV
================ */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  z-index: 201;
  top: 16px;
  right: 18px;
  font-size: 2.3rem;
  color: var(--color-neon);
  background: #1A2336;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 #1A3A5570;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #162447;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  z-index: 250;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(90deg, #1A2336 60%, #162447 100%);
  box-shadow: 0 0 40px 0 #0c132580;
  transform: translateX(-105vw);
  transition: transform 0.33s cubic-bezier(.45,.05,.22,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0); opacity: 1; pointer-events: all;
}
.mobile-menu-close {
  background: transparent;
  color: var(--color-neon);
  border: none;
  font-size: 2.1rem;
  position: absolute;
  top: 22px; right: 20px;
  cursor: pointer;
  z-index: 251;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #ff2e63;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 90px 0 0 0;
  width: 100%;
}
.mobile-nav a {
  color: var(--color-accent);
  padding: 16px 28px;
  width: 100%;
  font-size: 1.2rem;
  font-family: var(--font-display);
  border-bottom: 1px solid #202e44;
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #1A3A55;
  color: var(--color-neon);
}

@media (max-width: 1080px) {
  header nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .btn-primary {
    display: none;
  }
}

/* ===============
   BUTTONS
================ */
.btn-primary {
  background: linear-gradient(90deg, #86BBD8 0%, #40E6FF 100%);
  color: #1A3A55;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: var(--radius-btn);
  padding: 13px 38px;
  box-shadow: 0 2px 14px 0 #40e6ff2a;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.25s, color 0.18s;
  margin-top: 10px;
  display: inline-block;
  text-align: center;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}
.btn-primary:before {
  content: '';
  display: block;
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, #1A3A55 0%, #86BBD8 100%);
  opacity: 0;
  transition: opacity 0.18s;
  z-index: 1;
}
.btn-primary:hover, .btn-primary:focus {
  color: #40E6FF;
  box-shadow: 0 4px 20px 0 #40e6ff60;
}
.btn-primary:hover:before, .btn-primary:focus:before {
  opacity: 0.18;
}
.btn-primary:active {
  background: #40E6FF;
  color: #1A2336;
}

/* ====================
   HERO SECTION
==================== */
.hero {
  width: 100%;
  background: linear-gradient(103deg, #1a3a55 22%, #162447 65%, #14192b 100%);
  position: relative;
  min-height: 320px;
  margin-bottom: 32px;
  padding: 48px 0;
  box-shadow: 0 10px 36px 0 #1A3A557A;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  color: var(--color-neon);
  text-shadow: 0 3px 32px #40e6ff30, 0 1px 2px #14192b;
  letter-spacing: 0.05em;
}
.hero p {
  color: #F2F2F2;
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 10px;
}
.hero .btn-primary {
  margin-top: 22px;
}

/* ====================
    CARDS & FEATURES
==================== */
.card {
  border: 1.5px solid #202e44;
}
.card strong {
  color: var(--color-neon);
}
.feature-item strong {
  color: var(--color-secondary);
}

.content-grid, .card-container {
  gap: 24px;
}
.card-container {
  margin-bottom: 28px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* =====================
    TESTIMONIALS
===================== */
.testimonial-card {
  border-left: 4px solid var(--color-neon);
  box-shadow: 0 4px 16px 0 #1a3a5520;
  background: var(--color-accent);
  color: #181c2e;
  font-size: 1.1rem;
  font-family: var(--font-body);
  transition: box-shadow 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 #86bbd85d;
}

/* =====================
    LISTS & SECTIONS
===================== */
ul li, ol li {
  margin-bottom: 12px;
  padding-left: 0.2em;
}
ul li strong {
  color: var(--color-neon);
}
.section h2 {
  color: var(--color-neon);
  margin-bottom: 20px;
  font-weight: 700;
}

/* ==================
    FOOTER
================== */
footer {
  background: linear-gradient(90deg, #162447 0%, #1A3A55 100%);
  padding: 28px 0 18px 0;
  color: #F2F2F2;
  box-shadow: 0 0 40px 0 #1a3a5575;
  position: relative;
  z-index: 50;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 180px;
}
footer nav a {
  color: #86BBD8;
  font-size: 1rem;
  font-family: var(--font-display);
  transition: color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-neon);
}
footer img {
  height: 54px;
  margin-bottom: 14px;
}
footer .text-section {
  font-size: 0.99rem;
  max-width: 350px;
  color: #F2F2F2;
}
footer a {
  word-break: break-all;
}

/* ================
    TEXT IMAGES
================ */
.text-section {
  color: #D1E5F2;
  background: transparent;
  border-radius: var(--radius-base);
  padding: 0;
}
.text-section strong {
  color: var(--color-neon);
}

/* ================
   LINKS & STATES
================ */
a {
  color: #86BBD8;
  text-decoration: underline;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: var(--color-neon);
  text-decoration: underline dotted;
}

/* ===============
   ICON SIZING
=============== */
a img[alt*="Telefon"], a img[alt*="E-mail"] {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  height: 1.2em;
  width: 1.2em;
}

/* =====================
   COOKIE CONSENT
===================== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  z-index: 500;
  background: #1A2336;
  box-shadow: 0 0 40px #1a3a5590;
  color: #F2F2F2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 12px;
  gap: 30px;
  font-size: 1rem;
  animation: cookieBannerShow 0.36s cubic-bezier(.4,1.2,.5,1) 1;
  border-top: 2px solid var(--color-neon);
}
@keyframes cookieBannerShow {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 0;
  max-width: 480px;
  color: #F2F2F2;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  background: var(--color-neon);
  color: #1A3A55;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-btn);
  padding: 12px 22px;
  margin-right: 4px;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 #40e6ff36;
  font-size: 1rem;
  transition: background 0.18s, color 0.15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #86BBD8;
  color: #162447;
}
.cookie-btn.settings {
  background: transparent;
  border: 1.5px solid var(--color-neon);
  color: var(--color-neon);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #1A3A55;
  color: #F2F2F2;
}

/* Cookie modal popup */
.cookie-modal {
  position: fixed;
  z-index: 510;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.97);
  background: #1A2336;
  color: #F2F2F2;
  border-radius: 20px;
  box-shadow: 0 4px 48px 0 #40e6ff36;
  padding: 34px 18px 18px 18px;
  min-width: 295px;
  min-height: 240px;
  max-width: 96vw;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s cubic-bezier(.45,.05,.22,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--color-neon);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #F2F2F2;
  font-family: var(--font-display);
}
.cookie-modal .cookie-toggle {
  width: 46px;
  height: 24px;
  border-radius: 18px;
  background: #18213a;
  border: 2px solid #86BBD8;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: background 0.16s, border 0.16s;
}
.cookie-modal .cookie-toggle.disabled {
  opacity: 0.5;
  pointer-events: none;
}
.cookie-modal .cookie-switch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #86BBD8;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: left 0.18s cubic-bezier(.45,.05,.22,1), background 0.15s;
}
.cookie-modal .cookie-toggle.active .cookie-switch {
  left: 24px;
  background: var(--color-neon);
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 22px;
  justify-content: flex-end;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 11px;
  right: 16px;
  background: transparent;
  color: #86BBD8;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.20s;
}
.cookie-modal .cookie-close:hover {
  color: var(--color-danger);
}

/* ============
   RESPONSIVE
============= */
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 26px 7px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 9px;
    font-size: 1rem;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 18px 2px;
    font-size: 0.97rem;
  }
  .cookie-modal {
    min-width: 90vw;
    max-width: 98vw;
    padding: 23px 7px 7px 7px;
  }
  .hero {
    padding: 32px 0 28px 0;
    min-height: 220px;
  }
  h1 {
    font-size: 1.5rem;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 1.14rem;
    margin-bottom: 12px;
  }
}
@media (max-width: 520px) {
  .cookie-banner {
    font-size: 0.92rem;
    padding: 10px 0;
  }
  .btn-primary, .cookie-btn {
    padding: 12px 17px;
    font-size: 0.98rem;
  }
  .hero h1 {
    font-size: 1.15rem;
  }
}

/* ============
   ANIMATIONS
============= */
.btn-primary, .cookie-btn, .mobile-menu-toggle {
  transition: background 0.22s, color 0.16s, box-shadow 0.22s;
}
.card, .testimonial-card, .feature-item {
  transition: box-shadow 0.21s, transform 0.18s;
}
.card:active, .testimonial-card:active {
  transform: scale(0.98);
}

/* ===========
   Z-INDEX
============= */
header { z-index: 90; }
.mobile-menu { z-index: 250; }
.cookie-banner { z-index: 500; }
.cookie-modal { z-index: 510; }

/* ====== Hide visually but keep for screen readers ====== */
.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;
}
