/* WissensWelle – Geometric Structured Design Style.css */
/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.55;
  background: #F8F8F8;
  color: #1B3A5D;
  font-family: 'Roboto', Arial, sans-serif;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
* {
  box-sizing: inherit;
}

/* ROOT VARIABLES */
:root {
  --primary: #1B3A5D;
  --secondary: #2FB3C2;
  --accent: #F8F8F8;
  --danger: #e74c3c;
  --success: #27ae60;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-xs: 0 2px 4px rgba(27,58,93,0.05);
  --shadow-md: 0 4px 16px rgba(27,58,93,0.12);
  --shadow-lg: 0 8px 24px rgba(27,58,93,0.14);
  --overlay: rgba(27,58,93,0.95);
  --font-display: 'Orbitron', 'Roboto', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* TYPOGRAPHY */
h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 24px;
  text-transform: uppercase;
  text-shadow: 0 2px 0 var(--accent);
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
h4, h5, h6 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}
p, ul li, ol li, span, label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--primary);
  letter-spacing: 0.02em;
}
.subheadline {
  font-size: 1.15rem;
  color: var(--secondary);
  margin-bottom: 18px;
  font-weight: 400;
  font-family: var(--font-body);
}
strong {
  font-weight: 600;
}

/* CONTAINERS & LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  background: var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  margin-bottom: 32px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  align-items: flex-start;
  padding-bottom: 20px;
  gap: 10px;
}

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

/* FLEX PATTERNS */
.card-container, .feature-grid, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card-container, .card-grid {
  gap: 24px 24px;
}
.feature-grid {
  gap: 24px;
  justify-content: flex-start;
}
.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;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  min-width: 240px;
  border-left: 6px solid var(--secondary);
  position: relative;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CARD DESIGN */
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 240px;
  flex: 1 1 260px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  border: 2.5px solid var(--primary);
  padding: 28px 26px 28px 28px;
  transition: box-shadow 0.23s, transform 0.23s, border-color 0.23s;
  margin-bottom: 20px;
  position: relative;
}
.feature img {
  width: 52px;
  height: 52px;
  margin-bottom: 10px;
}
.feature:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px) scale(1.03) rotate(-2deg);
  border-color: var(--secondary);
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px 24px;
  border-left: 5px solid var(--secondary);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* DECORATIVE GEOMETRIC SHAPES */
.feature:before, .testimonial-card:before {
  content: '';
  display: block;
  position: absolute;
  left: -28px;
  top: 24px;
  width: 20px;
  height: 20px;
  background: var(--secondary);
  border-radius: 6px 18px 6px 2px;
  opacity: 0.13;
  transform: rotate(12deg);
  z-index: 0;
}
.testimonial-card:after {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--secondary);
  position: absolute;
  left: 18px;
  top: 0;
  opacity: 0.14;
  z-index: 1;
}

/* VISUAL ELEMENTS & BUTTONS */
.cta {
  display: inline-block;
  font-family: var(--font-display);
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 16px 36px;
  font-size: 1.05rem;
  font-weight: bold;
  letter-spacing: 1.5px;
  box-shadow: var(--shadow-xs);
  margin-top: 12px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.16s, box-shadow 0.2s;
  text-transform: uppercase;
  outline: none;
}
.cta.primary {
  background: var(--primary);
  color: #fff;
}
.cta:hover, .cta:focus {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-md);
}

/* HEADER / NAVIGATION */
header {
  width: 100%;
  background: #fff;
  border-bottom: 4px solid var(--primary);
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 67px;
  box-shadow: 0 2px 10px rgba(30,51,94,0.05);
}
header a img {
  height: 44px;
  width: auto;
  margin-left: 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 20px;
}
header nav a {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s;
  position: relative;
}
header nav a:hover, header nav a.active {
  background: var(--secondary);
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  position: relative;
  background: var(--secondary);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  padding: 9px 17px;
  margin-right: 20px;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  z-index: 205;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--primary);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--overlay);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  transition: transform 0.37s cubic-bezier(.33,1.03,.49,.98);
  transform: translateX(-100vw);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  margin: 20px 34px 0 0;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 3850;
}
.mobile-menu-close:hover {
  color: var(--secondary);
}
.mobile-nav {
  margin: 62px 44px 0 34px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 20px 0 10px 0;
  border-bottom: 2px solid rgba(47,179,194,0.12);
  transition: color 0.17s, border-color 0.23s;
}
.mobile-nav a:hover {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}

/* HIDE SCROLL ON MOBILE MENU OPEN */
body.mobile-menu-open {
  overflow: hidden;
}

/* FOOTER */
footer {
  width: 100%;
  background: var(--primary);
  color: #fff;
  margin-top: 70px;
  font-family: var(--font-body);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -4px 30px rgba(27,58,93,0.09);
  padding-top: 40px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 6px 24px;
  border-bottom: 1.4px solid var(--secondary);
  margin-bottom: 8px;
}
.footer-top img {
  height: 44px;
}
.footer-top nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-top nav a {
  color: var(--secondary);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
  text-transform: uppercase;
}
.footer-top nav a:hover {
  color: #fff;
}
.footer-bottom {
  text-align: center;
  font-size: 1rem;
  color: var(--accent);
  padding: 20px 0;
  background: none;
  letter-spacing: 1px;
}

/* LISTS, UL, OL */
ul, ol {
  margin: 0 0 8px 34px;
  padding: 0;
}
li {
  padding-left: 0;
  margin-bottom: 12px;
  list-style: disc inside;
  font-size: 1rem;
}
.text-section ul {
  margin-left: 12px;
}
li span {
  color: var(--secondary);
  font-weight: bold;
}

/* CONTACT PAGE BLOCKS */
.contact-information-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px 22px;
  box-shadow: var(--shadow-xs);
  margin-top: 20px;
  border-left: 5px solid var(--secondary);
}
.contact-information-block a {
  color: var(--secondary);
  text-decoration: underline;
}

/* TABLES (IF NEEDED) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
th, td {
  border: 1.5px solid #E6EAEE;
  padding: 16px 12px;
  text-align: left;
  font-size: 1rem;
}
th {
  background: var(--secondary);
  color: #fff;
  font-family: var(--font-display);
}

/* FORM ELEMENTS */
input, textarea, select {
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  padding: 12px 14px;
  background: #fff;
  margin-bottom: 16px;
  font-size: 1rem;
  transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  outline: none;
}
label {
  margin-bottom: 4px;
  font-weight: 600;
}
button {
  cursor: pointer;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -2px 24px rgba(27,58,93,0.12);
  border-top: 4px solid var(--secondary);
  z-index: 4900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  font-family: var(--font-body);
  transition: transform 0.4s;
  gap: 20px;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner p {
  font-size: 1rem;
  flex: 1 1 60%;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 24px;
  font-weight: 500;
  transition: background 0.19s, color 0.17s, transform 0.18s;
  margin-right: 3px;
  margin-bottom: 3px;
}
.cookie-banner button.settings {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner button.accept {
  background: var(--success);
}
.cookie-banner button.reject {
  background: var(--danger);
}
.cookie-banner button:hover {
  transform: scale(1.04);
  background: var(--secondary);
  color: #fff;
}

/* COOKIE MODAL (PREFERENCES) */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(27,58,93,0.82);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 0.23s, opacity 0.23s;
}
.cookie-modal-overlay.active {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.23s;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 360px;
  max-width: 90vw;
  padding: 36px 32px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.4rem;
  font-family: var(--font-display);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
  flex: 1 1 70%;
}
.cookie-switch {
  display: inline-flex;
  align-items: center;
  position: relative;
}
.cookie-switch input[type="checkbox"] {
  appearance: none;
  width: 50px;
  height: 26px;
  background: #E6EAEE;
  border-radius: 15px;
  outline: none;
  margin: 0 8px 0 0;
  transition: background 0.2s;
  position: relative;
}
.cookie-switch input[type="checkbox"]:checked {
  background: var(--secondary);
}
.cookie-switch input[type="checkbox"]:disabled {
  background: #d0d4d8;
  cursor: not-allowed;
}
.cookie-switch input[type="checkbox"]::-webkit-slider-thumb {
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(27,58,93,0.07);
}
.cookie-switch span {
  font-size: 0.93rem;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: var(--font-display);
  font-size: 1rem;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 22px;
  font-weight: 600;
  transition: background 0.16s, color 0.16s;
  cursor: pointer;
}
.cookie-modal button.close {
  background: var(--danger);
  margin-left: 8px;
}
.cookie-modal button.save {
  background: var(--success);
}
.cookie-modal button:disabled {
  background: #d0d4d8;
  color: #838383;
  cursor: not-allowed;
}

/* ACCESSIBILITY */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

/* RESPONSIVE DESIGN (MOBILE FIRST) */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
  }
  .content-wrapper {
    padding-left: 16px;
    padding-right: 16px;
  }
}
@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding-left: 12px;
    padding-right: 12px;
  }
  .footer-top nav {
    gap: 10px;
    font-size: 0.94rem;
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .content-wrapper {
    padding: 22px 8px;
    border-radius: var(--radius-md);
  }
  .section {
    padding: 38px 8px;
  }
  .footer-top {
    padding: 14px 10px 6px 10px;
  }
  h1 {
    font-size: 1.68rem;
    margin-bottom: 18px;
  }
  h2 {
    font-size: 1.3rem;
    margin-bottom: 14px;
  }
  h3 {
    font-size: 1.13rem;
  }
  .feature, .card, .testimonial-card {
    min-width: unset !important;
    width: 100%;
    flex: 1 1 100%;
    padding: 18px 12px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cta {
    padding: 13px 20px;
    font-size: 1rem;
  }
  .cookie-modal {
    max-width: 100vw;
    min-width: 180px;
    padding: 18px 6vw 11px 6vw;
  }
  .mobile-nav {
    margin: 52px 20px 0 18px;
    gap: 20px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 10px;
  }
  .cookie-banner p {
    font-size: 0.95rem;
  }
}

/* MICRO-INTERACTIONS */
.card, .feature, .testimonial-card, .cta, .cookie-banner button, .cookie-modal button {
  transition: box-shadow 0.2s, transform 0.16s, border-color 0.22s, background 0.2s, color 0.17s;
}
.card:active, .feature:active, .cta:active {
  transform: scale(0.98);
}
@media (hover: hover) {
  .card:hover, .feature:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
    transform: translateY(-4px) scale(1.01);
  }
}

/* UTILITY CLASSES */
.text-center { text-align: center; }
.align-center { align-items: center; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }

/* Z-INDEX LAYERS */
header { z-index: 200; }
.mobile-menu { z-index: 3000; }
.cookie-banner { z-index: 4900; }
.cookie-modal-overlay { z-index: 5000; }

/* ENSURE NO ABSOLUTE OVERLAP FOR CONTENT */
.card, .feature, .testimonial-card, .content-wrapper {
  position: relative;
  z-index: 0;
}

/* END OF CSS */