/* ===========================
   Lumen Spark – Gradient Modern 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: linear-gradient(135deg, #CEDCDE 0%, #F4A261 100%);
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #264653;
  font-size: 16px;
  font-weight: 400;
  /* Make white cards pop; subtle texture */
  background-attachment: fixed;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: #264653;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F4A261;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.25em;
}
strong, b {
  font-weight: bold;
}

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #264653;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.15;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 18px;
}
h4 {
  font-size: 1.125rem;
}
p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 18px;
}
small {
  font-size: 0.875rem;
  color: #6B7280;
}

/* ===========================
   CONTAINERS & LAYOUT
=========================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.text-section {
  max-width: 850px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

/* ===========================
   HEADER & NAVIGATION
=========================== */
header {
  width: 100%;
  background: #264653;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 16px rgba(38,70,83,0.05);
}
.main-navigation {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 18px 20px;
}
.main-navigation a {
  color: #ffffff;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  font-weight: 500;
}
.main-navigation a:hover, .main-navigation a:focus {
  background: #F4A261;
  color: #264653;
}
.main-navigation img {
  height: 38px;
  width: auto;
  margin-right: 12px;
}

/* Call to Action Button in Nav */
.main-cta {
  margin-left: auto;
  background: #F4A261;
  color: #264653;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 24px;
  box-shadow: 0 3px 10px rgba(244,162,97,0.20);
  transition: background 0.22s, color 0.18s, box-shadow 0.23s;
  border: none;
}
.main-cta:hover, .main-cta:focus {
  background: #FFA95A;
  color: #264653;
  box-shadow: 0 6px 20px rgba(244,162,97,0.27);
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
  background: linear-gradient(100deg, #CEDCDE 50%, #F4A261 100%);
  padding: 64px 0 44px 0;
  border-radius: 0 0 30px 30px;
  margin-bottom: 60px;
  box-shadow: 0 2px 25px 0 rgba(38,70,83,0.12);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 12px;
}
.hero h1 {
  color: #264653;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
}
.hero .cta {
  margin-top: 16px;
}

/* ===========================
   FEATURES & CARDS
=========================== */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 24px rgba(38,70,83,0.06);
}
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  justify-content: space-between;
  margin-top: 26px;
}
.features .feature-grid li {
  background: #CEDCDE;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(38,70,83,0.04);
  padding: 24px 20px;
  flex: 1 1 218px;
  max-width: 320px;
  min-width: 185px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.23s, transform 0.19s;
  margin-bottom: 20px;
}
.features .feature-grid li:hover, .features .feature-grid li:focus-within {
  box-shadow: 0 6px 18px rgba(244,162,97,0.14);
  transform: translateY(-5px) scale(1.02);
}
.features .feature-grid li img {
  height: 40px;
  margin-bottom: 8px;
  opacity: 0.93;
}
.features .feature-grid li h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
  color: #264653;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.features .feature-grid li p {
  margin-bottom: 0;
}

/* ===========================
   CARD, CARD-CONTAINER PATTERNS
=========================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(38,70,83,0.04);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 16px rgba(244,162,97,0.14);
  transform: translateY(-5px) scale(1.019);
}

/* For review cards, testimonial, tutorial cards, etc */
.review-card, .tutorial-card, .service-card {
  background: #CEDCDE;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(38,70,83,0.05);
  margin-bottom: 20px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.23s, transform 0.15s;
}
.review-card:hover, .tutorial-card:hover, .service-card:hover {
  box-shadow: 0 6px 16px rgba(38,70,83,0.14);
  transform: translateY(-4px) scale(1.017);
}

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(38,70,83,0.07);
  margin-bottom: 20px;
}
.testimonial-card p {
  flex: 1;
  color: #264653;
  font-size: 1.12rem;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: #264653;
  font-size: 1rem;
  font-weight: 700;
}
.testimonial-card span {
  color: #F4A261;
  font-size: 1rem;
  font-weight: 700;
}

/* ===========================
   LISTS & VALUE CARDS
=========================== */
.brand-values, .service-list, .contact-details, .faq-list, .value-chart ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}
.brand-values li, .service-list li, .contact-details li, .faq-list h3, .value-chart ul li {
  background: #f7f7fa;
  padding: 12px 18px;
  border-radius: 8px;
  color: #264653;
  font-size: 1rem;
  margin-bottom: 0px;
}
.contact-details img {
  height: 18px;
  width: 18px;
  margin-right: 8px;
  vertical-align: middle;
}
.value-chart ul {
  gap: 12px;
  margin-bottom: 0;
}

/* ===========================
   TABLES (Vergleichstabelle)
=========================== */
.comparison-table table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin-top: 18px;
  box-shadow: 0 2px 8px rgba(38,70,83,0.06);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.comparison-table th, .comparison-table td {
  padding: 16px 10px;
  text-align: left;
  border-bottom: 1px solid #CEDCDE;
  font-size: 1.04rem;
}
.comparison-table th {
  background: #F4A261;
  color: #264653;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
.comparison-table tbody tr:hover {
  background: #FFF7F1;
  transition: background 0.13s;
}

/* ===========================
   CTA BUTTONS
=========================== */
.cta {
  display: inline-block;
  background: #F4A261;
  color: #264653;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  border-radius: 26px;
  padding: 12px 32px;
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(244,162,97,0.13);
  transition: background 0.18s, color 0.18s, transform 0.12s, box-shadow 0.22s;
  border: none;
  cursor: pointer;
}
.cta:hover, .cta:focus {
  background: #e2913e;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 20px rgba(244,162,97,0.30);
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: #264653;
  color: #fff;
  padding: 36px 0 0 0;
  font-size: 1rem;
  margin-top: 64px;
  box-shadow: 0 2px 8px rgba(38,70,83,0.04) inset;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-nav a {
  color: #F4A261;
  font-weight: 500;
  transition: color 0.2s;
  padding: 8px 10px;
  border-radius: 7px;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F4A261;
  color: #264653;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-bottom: 12px;
}
.social-links a img {
  height: 22px;
  opacity: 0.94;
  transition: opacity 0.19s;
}
.social-links a:hover img {
  opacity: 1;
}
.impressum-link {
  margin-bottom: 8px;
}
.impressum-link a {
  color: #CEDCDE;
  font-size: 0.95rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
}
.impressum-link a:hover {
  background: #F4A261;
  color: #264653;
}
.copyright {
  font-size: 0.92rem;
  opacity: 0.88;
  margin-bottom: 0;
}

/* ===========================
   NEWS & TUTORIALS CARDS
=========================== */
.news-feed .news-teaser,
.tutorials-list .tutorial-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(38,70,83,0.06);
  margin-bottom: 20px;
  padding: 18px 16px;
  transition: box-shadow 0.17s, transform 0.11s;
}
.news-teaser:hover, .tutorial-card:hover {
  box-shadow: 0 6px 16px rgba(244,162,97,0.17);
  transform: translateY(-3px) scale(1.014);
}
.news-teaser h3, .tutorial-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: #264653;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}

/* ===========================
   REVIEW FILTER, SEARCH, MISC
=========================== */
.review-filter, .search-function {
  background: #CEDCDE;
  border-radius: 9px;
  padding: 12px 18px;
  margin-bottom: 20px;
  font-size: 1rem;
  color: #264653;
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-filter strong, .search-function strong {
  color: #F4A261;
}

/* ===========================
   TEXT-IMAGE & CONTENT-GRID
=========================== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===========================
   MODALS, COOKIES, ANIM
=========================== */
/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #264653;
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  padding: 20px 24px 24px 24px;
  z-index: 10001;
  box-shadow: 0 -2px 24px rgba(38,70,83,0.19);
  flex-direction: row;
  transition: transform 0.37s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(140%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1 1 320px;
  font-size: 1rem;
  margin-right: 10px;
  max-width: 550px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner button,
.cookie-banner .cta {
  background: #F4A261;
  color: #264653;
  padding: 8px 18px;
  border: none;
  border-radius: 18px;
  font-weight: 700;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.15s, transform 0.1s;
  box-shadow: 0 2px 9px rgba(244,162,97,0.09);
}
.cookie-banner button:hover, .cookie-banner .cta:hover {
  background: #FFA95A;
}
.cookie-banner .cookie-settings {
  background: #CEDCDE;
  color: #264653;
  padding: 8px 13px;
  border-radius: 18px;
  font-weight: 600;
  font-size: 1rem;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(38,70,83,.68);
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: #264653;
  padding: 32px 24px 20px 24px;
  border-radius: 18px;
  width: 97%;
  max-width: 410px;
  box-shadow: 0 10px 38px rgba(38,70,83,0.23);
  position: relative;
  z-index: 10003;
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 1;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: #264653;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 9px;
  font-size: 1rem;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #F4A261;
}
.cookie-modal button, .cookie-modal .cta {
  margin-top: 8px;
  background: #F4A261;
  color: #264653;
}
.cookie-modal .cookie-essentials {
  font-weight: 600;
  color: #264653;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #CEDCDE;
  cursor: pointer;
}
.cookie-modal-close:hover {
  color: #F4A261;
}

/* ===========================
   MOBILE NAVIGATION (BURGER)
=========================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #FFF;
  padding: 10px 12px;
  margin-left: auto;
  cursor: pointer;
  z-index: 1002;
  transition: background 0.14s;
  border-radius: 6px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F4A261;
  color: #264653;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #264653;
  z-index: 1008;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 32px;
  padding-left: 18px;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 2px 0 40px rgba(38,70,83,0.29);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F4A261;
  font-size: 2rem;
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 1012;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFF9ED;
  color: #264653;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  width: 100%;
}
.mobile-nav a {
  color: #F4A261;
  font-size: 1.3rem;
  padding: 10px 2px 10px 6px;
  border-radius: 8px;
  font-weight: 600;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  transition: background 0.18s, color 0.16s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #CEDCDE;
  color: #264653;
}

/* ===========================
   MISC UTILITIES
=========================== */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.text-center { text-align: center; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ===========================
   LEGAL TEXT SECTIONS
=========================== */
.legal-text {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(38,70,83,0.05);
  margin-bottom: 60px;
  padding: 40px 22px;
}

/* =================
   RESPONSIVE DESIGN
================= */
@media (max-width: 1140px) {
  .container { max-width: 97vw; }
  .main-navigation, footer .container { max-width: 97vw; }
}
@media (max-width:900px) {
  .main-navigation { gap: 10px; }
  .features .feature-grid { gap: 18px; }
  footer .container { gap: 14px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 18px;
    right: 16px;
  }
  header { padding-bottom: 4px; }
  .hero { padding: 40px 0 24px 0; border-radius: 0 0 18px 18px; }
  .features, .testimonials, .about, .services, .contact, .value-chart, .newsletter, .news-feed, .tutorials-list, .legal-text, .comparison-table {
    padding: 26px 8px;
    border-radius: 10px;
  }
  .features .feature-grid, .content-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .testimonial-card, .review-card, .tutorial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 10px;
  }
  footer .container { gap: 12px; align-items: flex-start; }
  .newsletter .text-section { max-width: 100%; }
  .cookie-banner { flex-direction: column; gap: 13px; align-items: flex-start; padding: 18px 10px 16px 10px; }
  .cookie-banner .cookie-actions { flex-direction: row; gap: 10px; align-items: center; }
  .cookie-modal { width: 99vw; max-width:96vw; padding: 22px 6vw 16px 6vw; }
  .legal-text { padding: 22px 2vw; }
  .mobile-menu {
    padding-top: 14px;
    padding-left: 6vw;
  }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width:470px){
  html{ font-size:14px; }
  h1{ font-size: 1.75rem; }
  .main-cta, .cta { font-size: 1rem; padding: 9px 16px; }
}

/* ===========================
   ANIMATIONS
=========================== */
.cta, .main-cta, .features .feature-grid li, .card, .review-card, .tutorial-card, .testimonial-card, .news-teaser, .footer-nav a {
  transition: background 0.18s, color 0.17s, transform 0.18s, box-shadow 0.18s;
}

/* Accessibility outline for interactive elements */
a:focus-visible, button:focus-visible, .cta:focus-visible {
  outline: 2px solid #F4A261;
  outline-offset: 2px;
}

/* End of Lumen Spark Gradient Modern CSS */
