/* =========================
   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,
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, 
main, 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;
  line-height: 1.6;
  background: #fff;
  color: #202C3E;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
a {
  color: #202C3E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #3CB9FF;
  outline: none;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

/* =========================
   BRAND FONTS
   ========================= */
@import url('https://fonts.googleapis.com/css?family=Orbitron:500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4 {
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.75rem; line-height: 1.1; }
h2 { font-size: 2rem;   line-height: 1.2; margin-bottom: 20px; }
h3 { font-size: 1.3rem; line-height: 1.4; margin-bottom: 8px; }
h4 { font-size: 1.1rem; }
p, li, dt, dd, small, a {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
}
p, ul, ol, dl {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}

/* =========================
   LAYOUT STRUCTURE
   ========================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
main {
  margin-top: 80px;
  margin-bottom: 40px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 900px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 768px) {
  main {
    margin-top: 70px;
    margin-bottom: 24px;
  }
}

/* =========================
   HEADER & NAV
   ========================= */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #E5E5E5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0; left: 0;
  z-index: 120;
  height: 72px;
  padding: 0 32px;
}
header > a img {
  height: 46px;
  width: auto;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
header nav a {
  font-weight: 500;
  font-size: 1rem;
  padding: 4px 0;
  position: relative;
  color: #202C3E;
  text-decoration: none;
  transition: color 0.2s;
}
header nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0%;
  background: #3CB9FF;
  transition: width 0.15s;
  position: absolute;
  bottom: -2px;
  left: 0;
}
header nav a:hover::after, header nav a:focus::after {
  width: 100%;
}
header nav a:hover,
header nav a:focus {
  color: #3CB9FF;
}
.cta.primary {
  background: #202C3E;
  color: #fff;
  padding: 10px 30px;
  border-radius: 28px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-left: 28px;
  box-shadow: 0 3px 16px 0 rgba(32, 44, 62, 0.07);
  border: none;
  display: inline-block;
  transition: background 0.2s, color 0.2s, transform 0.18s;
}
.cta.primary:hover, .cta.primary:focus {
  background: #3CB9FF;
  color: #202C3E;
  transform: translateY(-2px) scale(1.045);
}
.cta.secondary {
  background: #fff;
  color: #202C3E;
  border: 2px solid #202C3E;
  padding: 8px 26px;
  border-radius: 28px;
  font-size: 1.05rem;
  font-weight: 500;
  margin-top: 9px;
  margin-bottom: 0;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  display: inline-block;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #202C3E;
  color: #fff;
  border-color: #3CB9FF;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: #202C3E;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F0F0F0;
}
@media (max-width: 1024px) {
  header {
    padding: 0 10px;
  }
  header nav {
    gap: 17px;
  }
  .cta.primary {
    margin-left: 14px;
  }
}
@media (max-width: 900px) {
  .cta.primary {
    padding: 10px 20px;
  }
  header > a img { height: 33px; }
}
/* Burger menu visibility */
@media (max-width: 820px) {
  header nav, .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =========================
   MOBILE MENU
   ========================= */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 0;
  z-index: 400;
  background: rgba(32, 44, 62, 0.97);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.56,1.54,.33,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  color: #fff;
  border: none;
  margin: 24px 30px 10px 0;
  align-self: flex-end;
  z-index: 401;
  border-radius: 6px;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #3CB9FF;
  color: #202C3E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  gap: 22px;
  margin: 40px 0 0 40px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 13px 0;
  letter-spacing: 0.015em;
  transition: color 0.16s, background 0.13s;
  border-radius: 8px;
  width: 75%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #3CB9FF;
  background: rgba(255,255,255,0.07);
}

/* =========================
   SECTION & FLEX PATTERNS
   ========================= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fafcff;
  padding: 32px 24px;
  border-radius: 22px;
  box-shadow: 0 2px 20px 0 rgba(32,44,62,0.06);
  transition: box-shadow 0.16s, transform 0.16s;
  border: 1px solid #E3E6EA;
}
.card:hover {
  box-shadow: 0 8px 38px 0 rgba(32,44,62,0.10);
  transform: translateY(-2px) scale(1.018);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F1F3F5;
  border-left: 6px solid #202C3E;
  border-radius: 16px;
  margin-bottom: 22px;
  min-width: 220px;
  box-shadow: 0 1px 8px 0 rgba(32, 44, 62, 0.07);
  transition: box-shadow 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px 0 rgba(32, 44, 62, 0.12);
}
.testimonial-card blockquote {
  color: #202C3E;
  font-size: 1.13rem;
  font-style: italic;
  margin-bottom: 6px;
}
.testimonial-card p {
  font-size: 0.97rem;
  color: #43484f;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #202C3E;
  font-size: 1.13rem;
  font-family: 'Orbitron', 'Roboto', sans-serif;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/***** SERVICE CARDS (index & angebote) *****/
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 24px;
  margin-top: 18px;
}
.service-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 14px 0 rgba(32,44,62,0.065);
  border: 1.5px solid #202C3E0d;
  padding: 28px 22px 28px 22px;
  margin-bottom: 22px;
  flex: 1 0 290px;
  max-width: 336px;
  transition: box-shadow 0.17s, border-color 0.17s, transform 0.16s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.service-card:hover {
  border-color: #3CB9FF;
  box-shadow: 0 8px 36px 0 rgba(60,185,255,0.11);
  transform: translateY(-2.6px) scale(1.027);
}
.service-card h3 {
  margin-bottom: 7px;
  color: #202C3E;
  font-size: 1.2rem;
}
.service-card p {
  color: #292B33;
  font-size: 1rem;
}
.service-card strong {
  font-size: 1.04rem;
  color: #3CB9FF;
}

/* =========================
   FAQ ACCORDION (Text only)
   ========================= */
dt {
  font-family: 'Orbitron', 'Roboto', sans-serif;
  font-weight: 700;
  color: #202C3E;
  margin-top: 18px;
  margin-bottom: 4px;
  font-size: 1.08rem;
}
dd {
  color: #43484F;
  margin-bottom: 10px;
  margin-left: 12px;
  font-size: 1rem;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #202C3E;
  color: #fff;
  padding: 36px 0 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  gap: 23px;
  margin-bottom: 5px;
  flex-wrap: wrap;
  justify-content: center;
}
footer nav a {
  color: #fff;
  opacity: 0.89;
  font-size: 1.03rem;
  transition: color 0.2s;
  border-bottom: 1.5px dotted transparent;
}
footer nav a:hover, footer nav a:focus {
  color: #3CB9FF;
  border-color: #3CB9FF;
}
footer small {
  font-size: 0.95rem;
  opacity: 0.7;
}

/* =========================
   BUTTONS & MICROINTERACTIONS
   ========================= */
button, .cta {
  transition: background 0.19s, color 0.19s, box-shadow 0.17s, transform 0.15s;
}
button:focus-visible, a:focus-visible {
  outline: 2.5px solid #3CB9FF !important;
  outline-offset: 1.5px;
}

/* =========================
   SPACING UTILS
   ========================= */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 2px !important; }
.mt-8 { margin-top: 8px !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.gap-20 { gap: 20px !important; }
.gap-32 { gap: 32px !important; }

/* =========================
   MONOCHROME COLORS
   ========================= */
body, section, .service-card, .card {
  background: #fff;
}

/* =========================
   LINKS IN TEXT / HOVERS
   ========================= */
p a, ul a, ol a, .note a {
  color: #3CB9FF;
  text-decoration: underline;
  transition: color 0.18s;
}
p a:hover, ul a:hover, ol a:hover, .note a:hover {
  color: #202C3E;
}

/* =========================
   COOKIES CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 2000;
  background: #202C3E;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 30px 22px 30px;
  box-shadow: 0 -2px 24px 0 rgba(32,44,62,0.16);
  gap: 24px;
  min-height: 70px;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.25s, transform 0.29s cubic-bezier(.68,1.87,.47,1.14);
  pointer-events: none;
}
.cookie-banner.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner p { margin-bottom: 0; color: #fff; font-size: 0.98rem; }
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-banner button {
  padding: 7px 17px;
  border-radius: 19px;
  border: none;
  font-size: 1.01rem;
  font-weight: 600;
  margin: 0;
  cursor: pointer;
  background: #fff;
  color: #202C3E;
  box-shadow: 0 2px 5px 0 rgba(32,44,62,0.10);
  transition: background 0.18s, color 0.18s;
}
.cookie-banner button.accept {
  background: #3CB9FF;
  color: #fff;
}
.cookie-banner button.reject {
  background: #fff;
  border: 1.4px solid #202C3E;
  color: #202C3E;
}
.cookie-banner button.settings {
  background: #fff;
  color: #202C3E;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #D0FCF9;
  color: #202C3E;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #202C3E;
  color: #fff;
}

/* === Cookie modal === */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 2100;
  background: rgba(32,44,62,0.70);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 60px 0 rgba(32,44,62,0.22);
  padding: 40px 32px 30px 32px;
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: flex-start;
  min-height: 210px;
  color: #202C3E;
  position: relative;
}
.cookie-modal h2, .cookie-modal h3 {
  color: #202C3E;
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.cookie-modal button.close {
  position: absolute;
  right: 19px; top: 17px;
  background: none;
  color: #202C3E;
  font-size: 1.7rem;
  border: none;
  cursor: pointer;
  padding: 3px 10px;
  border-radius: 6px;
  transition: background 0.16s;
}
.cookie-modal button.close:hover, .cookie-modal button.close:focus {
  background: #F1F3F6;
}
.cookie-modal .cookie-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-group label {
  font-weight: 500;
  color: #202C3E;
  margin-bottom: 0;
  cursor: pointer;
}
.cookie-modal .cookie-group input[type='checkbox'] {
  accent-color: #3CB9FF;
  width: 20px; height: 20px;
}
.cookie-modal .essential-toggle {
  opacity: 0.48;
  pointer-events: none;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal .cookie-modal-actions button {
  padding: 9px 22px;
}
@media (max-width: 900px) {
  .cookie-banner { flex-direction: column; gap: 16px; align-items: flex-start; padding: 19px 13px; }
  .cookie-modal { padding: 28px 10px; }
}
@media (max-width: 420px) {
  .cookie-modal { padding: 12px 3px; }
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */
@media (max-width: 1200px) {
  .service-grid {
    gap: 20px 12px;
  }
  .service-card {
    max-width: 320px;
    padding: 18px 13px 20px 13px;
  }
}
@media (max-width: 900px) {
  .service-grid {
    gap: 15px 10px;
    justify-content: center;
  }
  .service-card {
    flex: 1 0 240px;
    max-width: 98vw;
    min-width: 170px;
    font-size: 0.97rem;
  }
}
@media (max-width: 768px) {
  .section, section {
    padding: 22px 9px;
    margin-bottom: 32px;
  }
  .content-grid,
  .card-container,
  .service-grid,
  .testimonial-cards {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonials-section {
    gap: 12px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* =========================
   PRINT & SELECTION
   ========================= */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
}
::selection {
  background: #D0FCF9;
  color: #202C3E;
}

/* =========================
   MISC
   ========================= */
.note {
  background: #F1F3F6;
  color: #202C3E;
  padding: 8px 16px;
  border-left: 4px solid #3CB9FF;
  border-radius: 7px;
  margin-top: 16px;
  font-size: 0.99rem;
}

/* ==== Monochrome details for drama and elegance ==== */
hr {
  border: none;
  border-bottom: 1.5px dashed #bbb;
  margin: 36px 0;
}

/* ========== End of CSS ========== */