/* --- CSS RESET & BASELINE --- */
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, 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #181C24;
  color: #F0F4FB;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #181C24;
}
ul, ol {
  list-style: disc inside;
}
a {
  color: #83A8E8;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.25,.46,.45,.94);
}
a:hover, .main-nav a.active, .footer-nav a:focus {
  color: #F0F4FB;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
::-webkit-scrollbar {
  width: 8px;
  background: #222733;
}
::-webkit-scrollbar-thumb {
  background: #1C2331;
  border-radius: 4px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #F0F4FB;
  letter-spacing: 0.012em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, li, blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.7;
  font-size: 1rem;
  color: #E2E8F8;
}
.hero-subheadline {
  font-size: 1.15rem;
  color: #c0c7d6;
  margin-bottom: 24px;
  margin-top: 5px;
  max-width: 700px;
}
strong, b {
  color: #F0F4FB;
  font-weight: 600;
}

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- HEADER/NAVIGATION --- */
header {
  background: #191e2a;
  border-bottom: 2px solid #232A39;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
header img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 20px;
}
.main-nav a {
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #c9d1e8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 0;
  transition: color 0.18s cubic-bezier(.34,.65,.58,1.01);
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #83A8E8;
}
/* CTA Button in header */
.cta-button.primary {
  background: #83A8E8;
  color: #1C2331;
  border: none;
  border-radius: 7px;
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 32px;
  box-shadow: 0 1px 10px -6px #293047, 0 0.5px 1.5px rgba(37,48,64,0.25);
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, transform 0.12s;
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: #6a91cc;
  color: #F0F4FB;
  transform: translateY(-2px) scale(1.04);
}
.cta-button.secondary {
  background: transparent;
  border: 2px solid #83A8E8;
  color: #83A8E8;
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 7px;
  padding: 11px 32px;
  display: inline-block;
  margin-top: 18px;
  margin-bottom: 4px;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, border 0.19s, transform 0.12s;
}
.cta-button.secondary:hover, .cta-button.secondary:focus {
  background: #83A8E8;
  color: #181C24;
  transform: translateY(-2px) scale(1.04);
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #F0F4FB;
  font-size: 2.1rem;
  cursor: pointer;
  padding: 8px 12px;
  z-index: 1101;
  transition: color 0.14s;
}
.mobile-menu-toggle:hover {
  color: #83A8E8;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  min-width: 0;
  background: #181C24;
  box-shadow: 2px 0 18px 4px rgba(24,30,36,0.95);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.42,0,.58,1);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 32px;
  overflow-y: auto;
  padding: 32px 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #83A8E8;
  font-size: 2.2rem;
  margin-bottom: 24px;
  cursor: pointer;
  margin-top: -4px;
  transition: color 0.18s;
  z-index: 1700;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F0F4FB;
}
.mobile-nav {
  flex-direction: column;
  display: flex;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
  color: #F0F4FB;
  font-size: 1.35rem;
  font-weight: 600;
  padding: 14px 0 10px 14px;
  letter-spacing: 0.05em;
  border-radius: 4px;
  width: 100%;
  transition: background 0.19s,color 0.18s;
  outline: none;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #232A39;
  color: #83A8E8;
}

/* --- HERO/MAIN SECTIONS --- */
.hero {
  background: linear-gradient(88deg, #1C2331 65%, #232C3B 98%);
  min-height: 270px;
  display: flex;
  align-items: center;
  margin-bottom: 0;
  box-shadow: 0 2px 24px -12px #11131a;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 200px;
  padding-top: 38px;
  padding-bottom: 38px;
}
.hero h1 {
  color: #F0F4FB;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

/* --- FLEX LAYOUT PATTERNS --- */
.card-container, .service-cards, .content-grid, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.card, .service-card {
  background: #232A39;
  border-radius: 12px;
  margin-bottom: 20px;
  padding: 27px 24px 21px 24px;
  box-shadow: 0 2px 16px -10px #19202a;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  max-width: 330px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.service-card:hover, .service-card:focus {
  box-shadow: 0 4px 24px 0 #223246;
  transform: translateY(-4px) scale(1.02);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.feature-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #181d27;
  box-shadow: 0 2px 8px -4px #131820;
  border-radius: 8px;
  padding: 22px 20px 20px 20px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 275px;
  flex: 1 1 220px;
  gap: 16px;
}
.feature-grid img {
  height: 38px; width: 38px; margin-bottom: 10px;
  filter: brightness(1) contrast(1.08) grayscale(0.35);
}
.features, .services-list, .featured-articles, .about-short, .about-mission, .features-why, .faktencheck-method, .erklaerformate, .contact-info, .legal, .thank-you {
  padding: 40px 0;
  margin-bottom: 60px;
  background: none;
}

/* --- TESTIMONIALS --- */
.testimonials {
  margin-bottom: 60px;
  background: #202632;
  padding: 44px 0 40px 0;
  border-top: 2px solid #232A39;
  border-bottom: 2px solid #232A39;
}
.testimonials .content-wrapper {
  gap: 32px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  background: #F0F4FB;
  color: #1C2331;
  border-radius: 10px;
  box-shadow: 0 2px 15px -10px #191E2A;
  margin-bottom: 22px;
  flex-direction: column;
  max-width: 500px;
  width: 100%;
  transition: box-shadow 0.14s, transform 0.14s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 4px 24px 0 #83A8E8aa;
  transform: translateY(-2px) scale(1.015);
}
.testimonial-card blockquote {
  font-size: 1.08rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #212839;
  font-style: italic;
  margin-bottom: 7px;
  margin-top: 3px;
}
.testimonial-author {
  font-size: 1rem;
  color: #274481;
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  align-self: flex-end;
}
.testimonials .content-wrapper {
  flex-wrap: wrap;
}

/* --- ABOUT & LEGAL SECTIONS --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section ul, .legal ul {
  margin-left: 18px;
  padding-left: 10px;
}
.legal h1, .legal h2, .legal h3 {
  color: #F0F4FB;
  margin-bottom: 8px;
}
.legal .text-section {
  gap: 10px;
}

/* --- CALL-TO-ACTION FORMS & THANK YOU --- */
.cta-form-card {
  background: #232A39;
  border-radius: 12px;
  box-shadow: 0 2px 10px -5px #191e2a;
  margin-bottom: 60px;
  padding: 34px 22px 22px 22px;
}
.cta-form-card .note {
  margin-top: 10px;
  color: #c9d1e8;
  font-size: 0.98rem;
}
.thank-you .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 28px;
}
.thank-you h1 {
  color: #F0F4FB;
}
.confirmation-message {
  color: #83A8E8;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 14px;
}

/* --- FOOTER --- */
footer {
  background: #191e2a;
  border-top: 2px solid #232A39;
  padding: 28px 0 12px 0;
  margin-top: 30px;
}
.footer-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #83A8E8;
  font-size: 1rem;
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
  opacity: 0.92;
  transition: color 0.18s, opacity 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F0F4FB;
  opacity: 1;
}
.footer-brand {
  color: #c4cee4;
  font-size: 0.98rem;
  font-family: 'Open Sans', Arial, sans-serif;
  opacity: 0.77;
}

/* --- FLEXBOX SPACING & ALIGNMENT UTILITIES --- */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 180px;
  max-width: 320px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- BUTTONS STANDARD --- */
button, .cta-button, input[type=submit], input[type=button] {
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  outline: none;
}
button:focus, .cta-button:focus {
  box-shadow: 0 0 0 2px #83A8E899;
}

/* --- UTILITY CLASSES --- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mb-1 { margin-bottom: 8px; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 32px; }
.mb-3 { margin-bottom: 32px; }
.text-center { text-align: center; }

/* --- MICRO-INTERACTIONS & TRANSITIONS --- */
.card, .feature-grid li, .service-card, .feature-item {
  transition: box-shadow 0.18s, transform 0.13s;
}
.card:hover, .feature-grid li:hover, .card:focus, .feature-grid li:focus, .feature-item:hover, .service-card:focus {
  box-shadow: 0 2px 24px -6px #314c7a55;
  transform: translateY(-2px) scale(1.016);
}
input, textarea, select {
  transition: border 0.12s, box-shadow 0.12s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border: 1.5px solid #83A8E8;
  box-shadow: 0 0 0 1.5px #83A8E833;
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
  .container { padding: 0 15px; }
}
@media (max-width: 980px) {
  .main-nav { gap: 12px; }
  .footer-nav { gap: 14px; }
  .service-card, .feature-grid li, .card {
    min-width: 170px;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .container { max-width: 98vw; padding: 0 7vw; }
  header .container { flex-wrap: wrap; height: auto; min-height: 54px; }
  .main-nav {
    display: none;
  }
  .cta-button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .service-cards, .card-container, .content-grid, .feature-grid {
    flex-direction: column;
    align-items: stretch !important;
    gap: 16px;
  }
  .feature-grid li, .service-card, .card {
    min-width: unset;
    max-width: 100%;
  }
  .hero h1 {
    font-size: 1.53rem;
  }
  .hero .container {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .testimonials .content-wrapper {
    gap: 16px;
  }
  .testimonial-card {
    padding: 14px 14px;
    font-size: 0.98rem;
    max-width: 98vw;
  }
  .footer-nav { flex-wrap: wrap; gap: 11px; }
  .content-wrapper { gap: 10px; }
  .legal .text-section { gap: 8px; }
}
@media (max-width: 360px) {
  .mobile-nav a {
    font-size: 1.05rem;
    padding-left: 8px;
  }
  .container { padding: 0 3vw; }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 1600;
  background: #232A39;
  color: #F0F4FB;
  box-shadow: 0 -2px 16px -4px #151920aa;
  padding: 24px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  transition: transform 0.3s cubic-bezier(.42,0,.58,1), opacity 0.27s;
}
.cookie-consent-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}
.cookie-accept-btn, .cookie-reject-btn, .cookie-settings-btn {
  padding: 9px 22px;
  font-size: 1rem;
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  transition: background 0.16s, color 0.13s, box-shadow 0.12s;
  box-shadow: 0 2px 5px -3px #151b24;
}
.cookie-accept-btn {
  background: #83A8E8;
  color: #181C24;
}
.cookie-accept-btn:hover, .cookie-accept-btn:focus {
  background: #698ccb;
  color: #F0F4FB;
}
.cookie-reject-btn {
  background: none;
  color: #83A8E8;
  border: 2px solid #83A8E8;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus {
  background: #232C3B;
  color: #F0F4FB;
}
.cookie-settings-btn {
  background: #232C3B;
  color: #83A8E8;
  border: 2px solid #232C3B;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #151b24;
  color: #F0F4FB;
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28,35,49,0.89);
  z-index: 1800;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.24s cubic-bezier(.42,0,.58,1);
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #F0F4FB;
  color: #1C2331;
  padding: 32px 26px 24px 26px;
  border-radius: 16px;
  min-width: 300px;
  max-width: 95vw;
  max-height: 92vh;
  box-shadow: 0 4px 40px 2px #1c233166;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 1900;
}
.cookie-modal h2, .cookie-modal h3 {
  color: #1C2331;
  font-weight: 700;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid #698ccb66;
  font-size: 1rem;
  gap: 18px;
}
.cookie-category:last-child {
  border: none;
}
.cookie-toggle {
  appearance: none;
  background: #a5b6d9;
  width: 38px; height: 22px;
  border-radius: 22px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-toggle:checked {
  background: #83A8E8;
}
.cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  left: 4px;
  top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #F0F4FB;
  transition: transform 0.19s;
}
.cookie-toggle:checked::before {
  transform: translateX(16px);
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  color: #83A8E8;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #1C2331;
}
.cookie-modal .cookie-save-btn {
  align-self: flex-end;
  padding: 8px 22px;
  background: #83A8E8;
  color: #1C2331;
  font-size: 1rem;
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  margin-top: 12px;
  transition: background 0.14s, color 0.14s;
}
.cookie-modal .cookie-save-btn:hover, .cookie-modal .cookie-save-btn:focus {
  background: #698ccb;
  color: #F0F4FB;
}

/* --- MISC --- */
input, textarea {
  background: #202632;
  color: #F0F4FB;
  border: 1px solid #232A39;
  border-radius: 6px;
  font-size: 1rem;
  padding: 8px 12px;
}

/* --- INDUSTRIAL METALLIC ACCENT (Subtle) --- */
.feature-grid li::before, .card::before, .service-card::before {
  content: '';
  display: block;
  width: 36px;
  height: 4px;
  background: linear-gradient(90deg, #bdc7d3 15%, #adb5be 44%, #e0e5ea 70%, #bdc7d3 100%);
  border-radius: 2px;
  margin-bottom: 10px;
  opacity: 0.12;
}

/* --- ACCESSIBILITY --- */
:focus {
  outline: 2px solid #698ccb44;
  outline-offset: 2px;
}

/* --- BRAND ACCENT UTILITY --- */
.brand-accent {
  color: #83A8E8;
}
