/* CSS RESET & NORMALIZE */
html { box-sizing: border-box; font-size: 16px; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; border: 0; }
body, h1, h2, h3, h4, h5, h6, p, ul, li, ol, figure, figcaption, blockquote, dl, dd { margin: 0; padding: 0; font-weight: inherit; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; outline: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }
:root {
  --color-primary: #1F465D;
  --color-bg: #111824;
  --color-secondary: #E0E7EF;
  --color-white: #fff;
  --color-accent: #CB9A22;
  --color-accent-alt: #A67713;
  --color-light: #f5f6fa;
  --color-dark: #162331;
  --color-footer-bg: #162331;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --neon-accent: 0 0 8px #CB9A22, 0 0 14px #CB9A22;
  --shadow-main: 0 8px 32px rgba(31, 70, 93, 0.10), 0 1.5px 4px rgba(31, 70, 93, 0.07);
  --shadow-card: 0 2px 10px rgba(31,70,93,0.08), 0 0.5px 1.5px rgba(31,70,93,0.06);
  --transition-main: 0.19s cubic-bezier(.83,.06,.12,1.01);
  --radius-soft: 18px;
  --radius-btn: 26px;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-secondary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  /* Tech Futuristic BG: dark with subtle light fade top-to-bottom */
  background: linear-gradient(180deg, #141D29 0%, #1F465D 80%, #111824 100%);
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.01em;
}
h1 { font-size: 2.4rem; margin-bottom: 16px; line-height: 1.18; }
h2 { font-size: 2rem; margin-bottom: 12px; line-height: 1.2; }
h3 { font-size: 1.24rem; margin-bottom: 10px; }
h4 { font-size: 1.12rem; }
p, li { font-size: 1rem; color: var(--color-secondary); margin-bottom: 8px; }
strong, b { color: var(--color-accent); font-weight: 600; }

.container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 768px) {
  .section { padding: 30px 6px; }
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.text-section {
  max-width: 720px;
}

/* Header & Navigation */
header {
  width: 100%;
  background: rgba(17, 24, 36, 0.94);
  box-shadow: 0 1.5px 8px rgba(31,70,93,.07);
  position: sticky;
  top: 0; z-index: 50;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0 14px 0;
}
header nav > a img {
  height: 40px; width: auto; display: block;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
header nav ul li { list-style: none; }
header nav ul li a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-secondary);
  padding: 2px 8px;
  border-radius: 6px;
  position: relative;
  transition: color var(--transition-main), background 0.08s;
}
header nav ul li a:hover,
header nav ul li a:focus {
  color: var(--color-accent);
  background: rgba(203, 154, 34, 0.07);
}
header nav a.cta {
  margin-left: 20px;
  font-family: var(--font-display);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--color-accent);
  font-size: 2.1rem;
  margin-left: 12px;
  padding: 6px 14px;
  border-radius: 8px;
  transition: background 0.14s;
  z-index: 102;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: rgba(203,154,34,0.10);
  color: #fff;
  outline: 0;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 380px;
  height: 100vh;
  background: #131d28;
  box-shadow: -8px 0 24px 2px rgba(0,0,0,0.19);
  z-index: 120;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.45,.05,.19,.99);
  flex-direction: column;
  padding: 40px 28px 18px 28px;
  gap: 28px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  color: var(--color-accent);
  font-size: 2rem;
  align-self: flex-end;
  background: none;
  margin-bottom: 18px;
  transition: color var(--transition-main);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--color-secondary);
  padding: 7px 6px;
  border-radius: 6px;
  width: 100%;
  transition: background 0.16s, color var(--transition-main);
}
.mobile-nav a:focus, .mobile-nav a:hover { color: var(--color-accent); background: #172439; }

@media (max-width: 999px) {
  header nav ul, header nav a.cta {
    display: none;
  }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 1000px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* MAIN CTAS */
.cta.primary {
  background: var(--color-accent);
  color: #181D28;
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 700;
  padding: 14px 38px;
  border-radius: var(--radius-btn);
  margin-top: 10px;
  box-shadow: 0 0 0 0 #CB9A22;
  transition: box-shadow var(--transition-main), background 0.17s, color 0.13s;
  position: relative;
  border: none;
  letter-spacing: 0.02em;
  text-shadow: var(--neon-accent);
  outline: 0;
}
.cta.primary:focus,
.cta.primary:hover {
  background: var(--color-accent-alt);
  color: #fff;
  box-shadow: 0 0 8px #CB9A22, 0 0 28px #CB9A22;
}

/* LAYOUT & FLEX SPACING RULES */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #162331;
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-card);
  padding: 28px 22px;
  flex: 1 1 280px;
  min-width: 220px;
  max-width: 380px;
  transition: box-shadow var(--transition-main), transform 0.19s;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.card:hover {
  box-shadow: 0 0 16px #CB9A22;
  transform: translateY(-2px) scale(1.015);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-grid, .service-cards, .step-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .service-cards > div, .step-timeline > div {
  background: #192d40;
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-card);
  padding: 22px 18px 20px 18px;
  flex: 1 1 230px;
  min-width: 200px;
  max-width: 360px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid rgba(203,154,34,0.04);
  transition: border 0.14s, box-shadow var(--transition-main), transform 0.16s;
  position: relative;
}
.feature-grid > div:hover, .service-cards > div:hover, .step-timeline > div:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 12px 0 #CB9A22;
  transform: translateY(-2px) scale(1.0125);
}
.feature-grid img, .step-timeline img {
  height: 40px;
  width: 40px;
  filter: drop-shadow(0 0 8px #CB9A22);
  margin-bottom: 7px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f9fafb;
  color: #20283a;
  border-radius: var(--radius-soft);
  box-shadow: 0 3px 16px rgba(31,70,93,0.09);
  margin-bottom: 24px;
  flex-direction: column;
  max-width: 650px;
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: #222d3a;
  margin-bottom: 10px;
  font-style: italic;
  line-height: 1.5;
}
.testimonial-card strong {
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 600;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.tips-box {
  background: #181D28;
  color: var(--color-secondary);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-soft) var(--radius-soft) 0;
  padding: 19px 28px;
  margin: 14px 0 10px 0;
  box-shadow: var(--shadow-card);
  font-size: 0.99rem;
}
.tips-box h3 { color: var(--color-accent); margin-bottom: 7px; font-size: 1.06rem; }
.tips-box ul {
  margin-left: 12px;
  list-style: disc inside none;
  color: var(--color-secondary);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tips-box a {
  color: var(--color-accent);
  text-decoration: underline;
  font-weight: 600;
}
.info-box {
  background: #172233;
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-main);
  padding: 22px 28px;
  color: var(--color-secondary);
  font-size: 1rem;
}

ol, ul { margin-bottom: 18px; }
ul li, ol li { margin-bottom: 7px; padding-left: 0.5em; }

/* Responsive Flex column for mobile */
@media (max-width: 768px) {
  .feature-grid, .service-cards, .step-timeline, .content-grid, .card-container, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .container { padding: 0 8px; }
  h1 { font-size: 1.67rem; }
  h2 { font-size: 1.18rem; }
}

/*----------- CARDS --------------*/
.card {
  background: #162331 linear-gradient(120deg, #192d3d 0%, #253E4F 100%);
  color: var(--color-secondary);
  border: 1.1px solid rgba(31,70,93,0.09);
  box-shadow: var(--shadow-card);
  font-family: var(--font-body);
}

/*----------- BUTTONS -------------*/
button,
input[type="submit"] {
  font-family: var(--font-display);
  font-size: 1.07rem;
  padding: 12px 32px;
  border-radius: var(--radius-btn);
  background: var(--color-accent);
  color: #18202b;
  border: none;
  font-weight: 700;
  box-shadow: none;
  transition: background var(--transition-main), color 0.15s;
  margin-top: 8px;
  outline: 0;
}
button:hover, button:focus,
input[type="submit"]:hover, input[type="submit"]:focus {
  background: var(--color-accent-alt);
  color: #fff;
  box-shadow: 0 0 10px #CB9A22; /* Neon Effect */
}

/*----------- FORMS (BASIC) ------------*/
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid #bbb;
  background: #f9fafb;
  color: #101926;
  padding: 11px 16px;
  margin-bottom: 17px;
  width: 100%;
  outline: none;
  box-shadow: none;
  transition: border-color 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent);
  background: #fff;
}
label {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-secondary);
  margin-bottom: 6px;
  display: block;
}

/*------------- FOOTER -----------------*/
footer {
  padding: 36px 0 14px 0;
  background: var(--color-footer-bg);
  color: var(--color-secondary);
  text-align: center;
  border-top: 2px solid #22354B;
  margin-top: 70px;
}
footer nav {
  display: flex; justify-content: center; gap: 12px;
  font-family: var(--font-display); font-size: 0.97rem; margin-bottom: 18px;
}
footer nav a { color: var(--color-accent); transition: color 0.14s; }
footer nav a:hover, footer nav a:focus { color: #fff; }
.footer-branding {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.footer-branding img {
  height: 48px; width: 48px;
  filter: drop-shadow(0 0 10px #CB9A22);
}
.footer-branding p { font-size: 0.92rem; color: var(--color-secondary); }

/*------------- MISCELLANEOUS UI -------------*/
blockquote {
  quotes: '\201C''\201D''\2018''\2019';
  margin-left: 0;
  margin-right: 0;
}
a {
  color: var(--color-accent);
  transition: color 0.13s;
}
a:focus, a:hover {
  color: #fff;
  text-decoration: underline;
}
p a { color: var(--color-accent); text-decoration: underline; }

hr {
  border: 0;
  border-top: 1px solid #23364c;
  margin: 24px 0 20px 0;
}

/*------------ COOKIE CONSENT BANNER -------------*/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(90deg,#181D28 75%,#253E4F 100%);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 20px 20px;
  z-index: 300;
  box-shadow: 0 -6px 32px 0 rgba(31,70,93,.22);
  gap: 16px;
  animation: cookieSlideUp 0.5s cubic-bezier(.22,.61,.36,1) 1;
  font-size: 1.01rem;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
@keyframes cookieSlideUp { from {  transform: translateY(100%); } to { transform: translateY(0);} }
.cookie-banner .cookie-btns { display: flex; flex-wrap: wrap; gap: 16px; }
.cookie-banner button {
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  margin-top: 0;
  box-shadow: none;
  background: var(--color-accent);
  color: #131d28;
  transition: background var(--transition-main), color 0.1s;
}
.cookie-banner button:focus, .cookie-banner button:hover {
  background: var(--color-accent-alt); color: #fff;
  box-shadow: 0 0 10px #CB9A22;
}
.cookie-banner .cookie-link {
  color: var(--color-accent);
  text-decoration: underline;
  margin-left: 8px;
  font-weight: 600;
  transition: color 0.16s;
}
.cookie-banner .cookie-link:hover { color: #fff; }

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0; left: 0; right: 0; bottom: 0; top: 0;
  background: rgba(14, 20, 36, 0.92);
  z-index: 400;
  display: flex;
  align-items: center; justify-content: center;
  animation: cookieFadeIn 0.2s cubic-bezier(.63,0,.42,1.03);
}
@keyframes cookieFadeIn { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: linear-gradient(120deg,#181D28 70%,#253E4F 100%);
  color: var(--color-secondary);
  border-radius: var(--radius-soft);
  padding: 36px 30px 22px 30px;
  max-width: 370px;
  width: 96vw;
  box-shadow: 0 2px 24px #CB9A22, 0 2px 14px #22354B;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 420;
  animation: cookieModalPop 0.33s cubic-bezier(.22,.66,.31,1.06);
}
@keyframes cookieModalPop { from {transform: scale(.82);} to { transform: scale(1);}}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  color: var(--color-accent);
  background: none;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus { color: #fff; }
.cookie-modal h2 {
  font-size: 1.15rem;
  color: var(--color-accent);
  margin-bottom: 9px;
  font-family: var(--font-display);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 2px;
}
.cookie-category label { font-size: 1rem; margin: 0; color: var(--color-secondary);}
.cookie-category input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--color-accent);
  margin-right: 4px;
}
.cookie-category.essential label:after {
  content: " (immer aktiv)";
  color: #4ca442;
  font-size: 0.92em;
  font-style: italic;
  margin-left: 5px;
}

/* -------------- UTILITIES ------------- */
.m-b-20 { margin-bottom: 20px; }
.m-b-32 { margin-bottom: 32px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/* -------------- RESPONSIVE RULES -------------- */
@media (max-width: 599px) {
  h1 { font-size: 1.22rem; }
  h2 { font-size: 1.05rem; }
  .cookie-modal { padding: 23px 8px 16px 8px; max-width: 94vw; }
  .section { padding: 20px 0; }
  .feature-grid>div, .service-cards>div, .step-timeline>div {
    min-width: 0;
    max-width: 100%;
    padding: 14px 7px 14px 7px;
  }
  .testimonial-card { padding: 12px; }
}

/* Focus states for accessibility*/
a:focus-visible, button:focus-visible, .cta.primary:focus-visible {
  outline: 2.5px solid var(--color-accent);
  outline-offset: 2px;
}

::-webkit-input-placeholder { color: #7c97b9; }
::-moz-placeholder { color: #7c97b9; }
:-ms-input-placeholder { color: #7c97b9; }
::placeholder { color: #7c97b9; }

/* Animate links */
a, .cta.primary, button {
  transition-property: background, color, box-shadow, border, transform;
  transition-duration: 0.17s;
}

/* Utility for absolute position for purely decorative elements (not content, per rules) */
.decorative-abs { position: absolute; z-index: 1; pointer-events: none; }

/* Hide scrollbars on mobile menu overlay (for better slide effect) */
.mobile-menu { scrollbar-width: none; -ms-overflow-style: none; }
.mobile-menu::-webkit-scrollbar { display: none; }

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
