/* =====================================================
   WissensWelt Hub – TECH FUTURISTIC CSS STYLE
   Modern, Tech-Inspired, Flexbox-Only Responsive Layouts
   ===================================================== */

/* 1. 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,main,menu,nav,output,ruby,section,summary,time,mark,audio,video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font: inherit;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: #192436;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: linear-gradient(135deg, #222F43 0%, #263A53 100%);
  letter-spacing: 0.04em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}
a {
  color: #F2C84B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff;
}

/* Brand Font Families */
@import url('https://fonts.googleapis.com/css?family=Raleway:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', Arial, sans-serif;
  color: #F2C84B;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.06rem;
}

.subtitle, .subheadline {
  color: #b2b9d6;
  font-size: 1rem;
  margin-bottom: 12px;
}

p, li, td, th {
  font-size: 1rem;
  color: #F7F8FA;
}
strong {
  color: #F2C84B;
  font-weight: 700;
}

/* Container & Section layout */
.container {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(36,49,71,0.7);
  border-radius: 20px;
  box-shadow: 0 2px 18px 0 rgba(36,52,94,0.13);
}
section:last-child {
  margin-bottom: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

/* Flexbox Cards & Grids */
.card-container,
.card-grid,
.feature-grid,
.benefit-grid,
.articles-preview .article-teasers,
.article-teasers,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.feature-grid,
.benefit-grid {
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
}

.card {
  background: #232F47;
  border-radius: 16px;
  box-shadow: 0 5px 36px 0 rgba(34,54,98,0.13);
  margin-bottom: 20px;
  padding: 24px;
  flex: 1 1 240px;
  position: relative;
  transition: box-shadow 0.25s, transform 0.21s;
}
.card:hover, .testimonial-card:hover, .feature-grid > div:hover {
  box-shadow: 0 6px 36px 0 rgba(222,210,64,0.12), 0 2px 15px rgba(242,200,75,0.18);
  transform: translateY(-4px) scale(1.03);
  z-index: 2;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.text-section {
  background: #232F47;
  padding: 20px;
  border-radius: 14px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 15px rgba(38,58,83,0.08);
}

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

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

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

/* Section Structure Patterns */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/***********************
 * HEADER & NAVIGATION *
 ***********************/
header {
  background: rgba(25,36,54,0.98);
  box-shadow: 0 2px 22px 0 rgba(27, 41, 68, 0.12);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding: 18px 0;
}
.main-nav img {
  height: 44px;
}
.main-nav a {
  color: #F2C84B;
  font-family: 'Raleway', Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1rem;
  padding: 7px 10px;
  transition: background 0.2s, color 0.18s;
  border-radius: 5px;
}
.main-nav a.cta-button {
  background: #F2C84B;
  color: #192436;
  font-weight: 900;
  text-shadow: 0 1px 1px #fff6;
  box-shadow: 0 2px 18px #F2C84B33;
  padding: 10px 22px;
  border-radius: 28px;
  font-size: 1.08rem;
  margin-left: auto;
  outline: none;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.cta-button:hover, .main-nav a.cta-button:hover {
  background: #fffbcd;
  color: #031427;
  box-shadow: 0 4px 24px #F2C84B44;
}
.main-nav a:hover, .main-nav a:focus {
  background: #293C59;
  color: #fff;
}

/* Hamburger Button - Mobile */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 30px;
  top: 18px;
  background: #222F43;
  color: #F2C84B;
  font-size: 2.0rem;
  border: none;
  border-radius: 7px;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  z-index: 1050;
  cursor: pointer;
  box-shadow: 0 2px 10px #232b3d49;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover {
  background: #11192B;
}

/* --- Mobile Overlay NAV --- */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25,36,54,0.98);
  z-index: 1100;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.73,0,.33,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 22px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #F2C84B;
  font-size: 2.4rem;
  border: none;
  align-self: flex-end;
  margin: 10px 20px 10px 0;
  cursor: pointer;
  outline: none;
  z-index: 1150;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px 40px 0 40px;
}
.mobile-nav a {
  color: #F2C84B;
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 1.2rem;
  padding: 15px 0;
  border-bottom: 1px solid #394765;
  transition: color 0.16s, background 0.16s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #333f58;
  border-radius: 4px;
  padding-left: 10px;
}

@media (max-width: 1100px) {
  .main-nav {gap: 14px;}
}
@media (max-width: 880px) {
  .main-nav a:not(.cta-button) { font-size: 0.95rem; }
}
@media (max-width: 900px) {
  .main-nav {
    flex-wrap: wrap;
  }
  .main-nav > .cta-button {
    margin-left: 0;
    margin-top: 10px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }
}

/* Scroll Lock for Mobile Menu */
body.menu-open {
  overflow: hidden;
}

/************************
 * HERO & CTA SECTIONS  *
 ************************/
.hero {
  background: linear-gradient(120deg, #263A53 60%, #384E72 100%);
  box-shadow: 0 8px 36px rgba(40,60,110,0.09);
  border-radius: 0 0 36px 36px;
  padding-top: 64px;
  padding-bottom: 56px;
  margin-bottom: 44px;
  overflow: hidden;
}
.hero h1 {
  color: #fff;
  font-size: 2.6rem;
  text-shadow: 0 5px 18px #263A5344;
  margin-bottom: 16px;
  font-weight: 900;
}
.hero p,
.hero .subheadline {
  color: #F2C84B;
  font-size: 1.18rem;
  margin-bottom: 15px;
}

/* Section Nav in .faktenartikel hero */
.section-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.section-nav a {
  color: #F2C84B;
  background: #212e42;
  font-size: 0.98rem;
  border-radius: 6px;
  padding: 7px 15px;
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 700;
  transition: background 0.15s, color 0.16s;
}
.section-nav a:hover {
  background: #334469;
  color: #fff;
}

/***********************
 * FEATURED AREAS      *
 ***********************/
.feature-grid > div, .benefit-grid > div {
  background: #232F47;
  border-radius: 13px;
  flex: 1 1 200px;
  padding: 24px 18px;
  align-items: flex-start;
  min-width: 180px;
  box-shadow: 0 2px 18px 0 rgba(38,58,83,0.10);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
}
.feature-grid > div img, .benefit-grid > div img {
  width: 38px;
  margin-bottom: 12px;
}
.feature-grid > div h3,
.benefit-grid > div h3 {
  color: #F2C84B;
  font-size: 1.18rem;
  margin-bottom: 5px;
}

/***********************
 * TESTIMONIALS        *
 ***********************/
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}
.testimonial-card {
  background: #fff;
  color: #141d2e;
  border-radius: 16px;
  padding: 24px 26px;
  font-size: 1.15rem;
  box-shadow: 0 8px 38px 0 rgba(38, 58, 83, 0.18);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  min-width: 260px;
  min-height: 80px;
  margin-bottom: 20px;
  border-left: 5px solid #F2C84B;
  position: relative;
  transition: box-shadow 0.2s, transform 0.18s;
}
.testimonial-card span {
  color: #8794A1;
  font-size: 0.98rem;
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 700;
}
.testimonial-card p {
  color: #141d2e;
  font-size: 1.03rem;
}

/************************
 * FORMS & SEARCH FIELD *
 ************************/
.search-field {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin-bottom: 12px;
}
.search-field input[type=text] {
  width: 100%;
  padding: 13px 14px;
  font-size: 1rem;
  border-radius: 7px;
  border: 1.5px solid #384e72;
  background: #1e2338;
  color: #F2C84B;
  outline: none;
  margin-right: 0;
  box-shadow: 0px 2px 10px #28375812 inset;
  transition: border-color 0.16s;
}
.search-field input[type=text]:focus {
  border-color: #F2C84B;
}

/* Newsletter-Signup */
.newsletter-signup {
  background: #232F47;
  border-radius: 14px;
  text-align: center;
  margin-bottom: 60px;
  box-shadow: 0 2px 24px 0 rgba(38,58,83,0.09);
}
.newsletter-signup .cta-button {
  margin-top: 14px;
}

/***********************
 * TABLES & FAQ         *
 ***********************/
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
  box-shadow: 0 2px 18px #232b3d25;
  background: #212e42;
  border-radius: 10px;
  overflow: hidden;
}
th,td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #2B3D54;
  font-size: 1rem;
  color: #F7F8FA;
}
th {
  background: #263A53;
  color: #F2C84B;
  font-family: 'Raleway', Arial, sans-serif;
}
tr:last-child td {
  border-bottom: none;
}

/* FAQ Styles */
dl {
  margin: 30px 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
dt {
  color: #F2C84B;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
dd {
  color: #f7f7fa;
  margin-left: 0;
  font-size: 1rem;
}

/***********************
 * FOOTER & LEGAL LINKS*
 ***********************/
footer {
  background: #18212F;
  color: #fff;
  border-top: 1.5px solid #263A53;
  font-size: 0.97rem;
  padding: 32px 0 18px 0;
  margin-top: 60px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav, .legal-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a, .legal-links a {
  color: #F2C84B;
  font-family: 'Raleway', Arial, sans-serif;
}
.footer-nav a:hover, .legal-links a:hover {
  color: #fff;
  text-decoration: underline;
}
.contact-info {
  margin-bottom: 16px;
  color: #b2b9d6;
}
.contact-info a {
  color: #F2C84B;
}
.social_media {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 13px;
}
.social_media img {
  width: 37px;
  height: 37px;
  filter: drop-shadow(0 2px 12px #F2C84B22);
}

/* Address blocks */
.address-block, .contact-details {
  background: #232F47;
  padding: 15px 20px;
  border-radius: 10px;
  color: #F7F8FA;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

/***********************
 * VALUE/LEGAL PAGES    *
 ***********************/
.values ul, .about ul, .legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
 }
.values ul li, .about ul li, .legal ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #212e42;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 1.02rem;
  margin-bottom: 10px;
  color: #fff;
}
.values ul li img, .about ul li img, .legal ul li img {
  width: 28px;
  flex-shrink: 0;
}

.legal {
  background: #232F47;
  border-radius: 12px;
  padding: 36px 24px;
  color: #fff;
  margin-bottom: 60px;
}

/*******************
 * THANK YOU PAGE  *
 *******************/
.thankyou {
  text-align: center;
}
.thankyou ul {
  margin: 24px auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

/******************
 * BUTTONS        *
 ******************/
.cta-button {
  background: #F2C84B;
  color: #263A53;
  border-radius: 30px;
  padding: 15px 34px;
  font-size: 1.15rem;
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 24px #F2C84B25;
  border: none;
  margin-top: 10px;
  margin-bottom: 10px;
  outline: none;
  transition: background 0.17s, color 0.16s, transform 0.16s, box-shadow 0.18s;
  cursor: pointer;
  text-shadow: 0 1px 1px #fff8;
  position: relative;
}
.cta-button:hover, .cta-button:focus {
  background: #fffbe5;
  color: #18212F;
  box-shadow: 0 4px 30px #F2C84B33;
  transform: scale(1.045);
}

/***********************
 * COOKIE CONSENT BANNER
 ***********************/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #14203B;
  color: #fff;
  box-shadow: 0 -4px 28px #232b3d85;
  z-index: 2000;
  padding: 18px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1rem;
  flex-wrap: wrap;
  animation: bannerFadeIn 0.9s ease;
}
.cookie-banner p {
  flex: 2 1 300px;
  color: #F7F8FA;
}
.cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button {
  border-radius: 16px;
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.99rem;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  margin: 0;
  outline: none;
  box-shadow: 0 2px 12px #f2c84b28;
  transition: background 0.14s, color 0.14s, box-shadow 0.15s;
}
.accept-cookies {
  background: #F2C84B;
  color: #263A53;
}
.accept-cookies:hover {
  background: #fffbe5;
  color: #1e2338;
}
.reject-cookies {
  background: #fff;
  color: #8794A1;
  border: 1.5px solid #8794A1;
}
.reject-cookies:hover {
  background: #F2C84B;
  color: #222F43;
}
.cookie-settings {
  background: #232F47;
  color: #F2C84B;
  border: 1.5px solid #F2C84B;
}
.cookie-settings:hover {
  background: #263A53;
}

@keyframes bannerFadeIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,32,59,0.93);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.4s;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-inner {
  background: #232F47;
  border-radius: 22px;
  box-shadow: 0 2px 38px #263A532a;
  padding: 38px 34px;
  max-width: 420px;
  width: 96vw;
  color: #F7F8FA;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-title {
  color: #F2C84B;
  font-family: 'Raleway', Arial, sans-serif;
  font-size: 1.34rem;
  font-weight: 800;
  margin-bottom: 7px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-cat-row {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}
.cookie-cat-toggle {
  display: flex;
  align-items: center;
}
.cookie-cat-toggle input[type=checkbox] {
  accent-color: #F2C84B;
  width: 18px;
  height: 18px;
}
.cookie-modal .accept-cookies, .cookie-modal .reject-cookies, .cookie-modal .cookie-settings {
  min-width: 110px;
  margin-top: 6px;
  padding: 9px 14px;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #F2C84B;
  cursor: pointer;
  z-index: 10;
  transition: color 0.17s;
}
.cookie-modal-close:hover {
  color: #f4e16e;
}

/***********************
 * RESPONSIVE DESIGN   *
 ***********************/
@media (max-width: 1200px) {
  .container {
    max-width: 1020px;
  }
}
@media (max-width: 990px) {
  .container {
    max-width: 97vw;
    padding: 0 11px;
  }
  .content-wrapper {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .content-grid, .card-container, .feature-grid, .benefit-grid, .article-teasers {
    gap: 17px;
  }
  .feature-grid > div, .benefit-grid > div {
    padding: 18px 11px;
    font-size: 0.98rem;
    min-width: 150px;
  }
}
@media (max-width: 776px) {
  body {
    font-size: 15px;
  }
  h1 {
    font-size: 1.53rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  .main-nav img {
    height: 31px;
  }
  .card, .testimonial-card, .text-section {
    padding: 13px 12px;
  }
  .hero {
    padding-top: 28px;
    padding-bottom: 25px;
    margin-bottom: 21px;
    border-radius: 0 0 20px 20px;
  }
  .section, section {
    padding: 26px 6px;
    margin-bottom: 32px;
  }
  .address-block, .contact-details {
    padding: 10px 8px;
  }
  .footer-nav,.legal-links {
    gap: 8px;
  }
}
@media (max-width: 650px) {
  .container {
    padding: 0 5px;
    max-width: 100vw;
  }
  .content-wrapper {
    gap: 8px;
  }
  .section, section {
    padding: 10px 1px;
    margin-bottom: 25px;
  }
  .footer-nav, .legal-links {
    gap: 6px;
  }
}
@media (max-width: 600px) {
  .feature-grid, .benefit-grid, .article-teasers, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .card, .testimonial-card, .text-section {
    min-width: 0;
  }
  .cookie-banner {
    font-size: 0.95rem;
    padding: 12px 8px;
    gap: 8px;
  }
  .cookie-modal-inner {
    padding: 20px 6px;
    max-width: 98vw;
  }
}
@media (max-width: 440px) {
  .mobile-menu {
    padding-top: 4px;
  }
  .mobile-nav {
    padding: 19px 6px 0 6px;
  }
}

/* High contrast for testimonials and reviews on white cards */
.testimonial-card, .newsletter-signup .testimonial-card {
  background: #fff !important;
  color: #263A53 !important;
}
.testimonial-card p, .newsletter-signup .testimonial-card p {
  color: #212e42;
}

/***********************
 * MICRO-INTERACTIONS  *
 ***********************/
.cta-button, .main-nav a.cta-button, .feature-grid > div, .benefit-grid > div, .testimonial-card, .card, .cookie-banner button {
  will-change: transform, box-shadow;
  transition: transform 0.16s, box-shadow 0.16s, background 0.12s, color 0.14s;
}
.cta-button:active, .main-nav a.cta-button:active {
  transform: scale(0.97);
}
.card:focus-within, .feature-grid > div:focus-within, .testimonials:focus-within, .card:focus, .feature-grid > div:focus, .testimonial-card:focus {
  outline: 2px solid #F2C84B;
  outline-offset: 2px;
}

/***********************
 * Misc Accessibility   *
 ***********************/
:focus {
  outline: 2px solid #F2C84B;
  outline-offset: 1px;
}

/* Hide visually on print */
@media print {
  .mobile-menu,.mobile-menu-toggle,.cookie-banner,.cookie-modal,nav,footer,img,script { display:none !important; }
  body, .section,.container { background:none !important; color:#000 !important; }
}
