/* 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.6;
  background: #fff;
  color: #191B1D;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #043554;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #191B1D;
  text-decoration: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  color: #191B1D;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.75rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
h5,h6 { font-size: 1rem; }
p, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #222;
  margin-bottom: 12px;
}
strong, b {
  font-weight: bold;
  color: #191B1D;
}
small {
  font-size: 0.98rem;
  color: #56585A;
}
.footer-motto {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.12rem;
  color: #475366;
  opacity: 0.8;
}

/* LAYOUT CONTAINER CLASSES */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 32px rgba(25,27,29,0.07);
  padding: 28px 26px;
  transition: box-shadow 0.18s, transform 0.19s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 38px rgba(4,53,84,0.14);
  transform: translateY(-4px) scale(1.012);
  z-index: 1;
}
.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;
  background: #fafbfc;
  border-left: 4px solid #191B1D;
  padding: 20px 28px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(25,27,29,0.07);
  max-width: 620px;
  color: #222;
}
.testimonial-card p {
  font-size: 1.18rem;
  font-style: italic;
  margin-bottom: 4px;
  color: #222;
}
.testimonial-card span {
  font-size: 1rem;
  color: #56585A;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(4,53,84,0.03);
  padding: 26px 20px 22px 20px;
  min-width: 220px;
  max-width: 310px;
  flex: 1 1 240px;
  transition: box-shadow 0.17s, border-color 0.15s;
  margin-bottom: 20px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 4px 28px rgba(4,53,84,0.13);
  border-left: 4px solid #A8C4E5;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
  filter: grayscale(100%) contrast(1.2);
}
/* For /, fakten-forschung.html feature grid naming compatibility */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
/* blog-list-section and post preview */
.post-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.post-preview {
  background: #fff;
  border: 1px solid #E4E5E7;
  border-radius: 12px;
  box-shadow: 0 1px 9px rgba(25,27,29,0.06);
  padding: 28px 24px 20px 24px;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: space-between;
}
.post-preview h3 {
  margin-bottom: 7px;
  color: #191B1D;
  font-size: 1.24rem;
}
.post-preview small {
  color: #56585A;
  margin-bottom: 8px;
}

.info-msg {
  margin-top: 28px;
  background: #f5f6f7;
  padding: 18px 24px;
  border-left: 3px solid #A8C4E5;
  border-radius: 6px;
  color: #191B1D;
}

/* ===== HEADER ===== */
header {
  background: #fff;
  box-shadow: 0 2px 32px rgba(25,27,29,0.08);
  position: relative;
  z-index: 100;
}
header .container {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 20px;
}
header img {
  height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: 10px;
}
.main-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.02rem;
  color: #222;
  padding: 8px 0px;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #043554;
  border-bottom: 2px solid #A8C4E5;
}
.btn-primary {
  display: inline-block;
  background: #043554;
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.1rem;
  border: none;
  border-radius: 34px;
  padding: 11px 34px;
  margin-left: 32px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.19s, color 0.18s, box-shadow 0.16s;
  box-shadow: 0 2px 8px rgba(4,53,84,0.10);
  text-decoration: none !important;
}
.btn-primary:hover, .btn-primary:focus {
  background: #191B1D;
  color: #FFD600;
  box-shadow: 0 6px 20px rgba(4,53,84,0.19);
}
.btn-secondary {
  display: inline-block;
  background: #fff;
  color: #043554;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.98rem;
  border: 1.5px solid #043554;
  border-radius: 30px;
  padding: 8px 23px;
  margin-top: 8px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.18s, color 0.14s, border-color 0.15s;
  text-decoration: none !important;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #043554;
  color: #fff;
  border-color: #A8C4E5;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  background: #E2B340;
  color: #191B1D;
  border: none;
  border-radius: 7px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s;
  margin-left: 14px;
  z-index: 1002;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #A8C4E5;
  color: #191B1D;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25,27,29,0.92);
  color: #fff;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  display: flex;
  flex-direction: column;
  transition: opacity 0.34s cubic-bezier(.77,0,.18,1);
  transform: translateX(100vw);
}
.mobile-menu.active {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.1rem;
  padding: 20px 30px;
  position: absolute;
  top: 5px;
  right: 6px;
  z-index: 10001;
  cursor: pointer;
  transition: color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E2B340;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  margin-top: 85px;
}
.mobile-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.56rem;
  color: #fff;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1.5px solid transparent;
  width: 100%;
  text-align: center;
  transition: color 0.16s, border-bottom 0.19s, background 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #222;
  color: #E2B340;
  border-bottom: 1.5px solid #E2B340;
}

/* HERO SECTION */
.hero-section {
  background: linear-gradient(90deg, #fff 65%, #D3D7DB 100%);
  padding: 54px 0 56px 0;
  margin-bottom: 30px;
  border-bottom: 1.5px solid #f2f3f5;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 14px;
}
.hero-section h1 {
  color: #191B1D;
  font-size: 2.7rem;
  margin-bottom: 10px;
  letter-spacing: -1.4px;
}
.hero-section p {
  color: #222;
  font-size: 1.14rem;
  margin-bottom: 16px;
  max-width: 560px;
}

/* CTA Section */
.cta-section {
  background: #043554;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 46px rgba(4,53,84,0.06);
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.cta-section h2 {
  color: #fff;
}
.cta-section .btn-primary {
  background: #E2B340;
  color: #191B1D;
}
.cta-section .btn-primary:hover, .cta-section .btn-primary:focus {
  background: #A8C4E5;
  color: #141B24;
}

/* ABOUT SECTION & TEXT SECTION */
.about-section, .legal-section, .contact-section {
  margin-bottom: 60px;
  padding: 44px 20px;
  background: #f7f9fa;
  border-radius: 12px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section ul {
  margin-top: 10px;
  margin-bottom: 12px;
}
.text-section li {
  margin-bottom: 6px;
  color: #222;
  list-style: disc inside;
}
.timeline h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: #222;
}
.timeline ul {
  margin-left: 22px;
}

/* SERVICES & FACT SECTIONS */
.services-overview, .themes-overview, .workshop-overview, .facts-section {
  margin-bottom: 60px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 9px rgba(4,53,84,0.05);
  padding: 26px 20px 18px 20px;
  min-width: 230px;
  max-width: 370px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, border-color 0.15s;
}
.service-item:hover, .service-item:focus-within {
  box-shadow: 0 4px 22px rgba(4,53,84,0.12);
  border-left: 4px solid #A8C4E5;
}
.service-price {
  font-family: 'Oswald', Arial, sans-serif;
  color: #E2B340;
  margin-left: 9px;
}

/* DETAILS - ACCORDION */
details {
  margin-top: 8px;
  margin-bottom: 12px;
  padding-left: 6px;
}
details summary {
  font-family: 'Oswald', Arial, sans-serif;
  cursor: pointer;
  color: #043554;
  font-weight: 700;
  border-bottom: 1px dashed #E2B340;
  outline: none;
  padding: 2px;
  transition: color 0.14s, border-color 0.13s;
}
details[open] summary {
  color: #191B1D;
  border-bottom: 1.5px solid #A8C4E5;
}
details > p, details > ul {
  margin-left: 12px;
  margin-top: 8px;
}

/* FACTS List */
.fact-list {
  list-style-type: disc;
  margin-left: 2.5em;
  margin-bottom: 0;
}
.fact-list li {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 7px rgba(25,27,29,0.04);
  margin-bottom: 20px;
  padding: 16px 18px;
  color: #191B1D;
}

/* BLOG FILTERS */
.blog-filters form {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.blog-filters input,
.blog-filters select {
  padding: 10px 16px;
  border-radius: 7px;
  border: 1.5px solid #CED6DB;
  background: #f3f5f6;
  font-size: 1rem;
  color: #222;
  min-width: 127px;
  outline: none;
}
.blog-filters input:disabled,
.blog-filters select:disabled {
  color: #b0b1b5;
  background: #f7f7f7;
}

/* FOOTER */
footer {
  background: #FAFBFC;
  border-top: 1.5px solid #DED9D2;
  padding: 40px 0 14px 0;
  margin-top: 70px;
  box-shadow: 0 -2px 24px rgba(4,53,84,0.05);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
footer .content-wrapper {
  align-items: center;
  gap: 24px;
  display: flex;
  flex-direction: column;
}
footer nav {
  display: flex;
  gap: 22px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
footer nav a {
  color: #043554;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.72;
  transition: opacity 0.18s, color 0.18s;
  text-decoration: none;
}
footer nav a:hover, footer nav a:focus {
  opacity: 1;
  color: #191B1D;
}
footer img {
  width: 40px;
  height: 40px;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 10001;
  background: #191B1D;
  color: #fff;
  box-shadow: 0 -2px 24px rgba(25,27,29,0.13);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 18px 16px 18px 20px;
  gap: 18px;
  font-size: 1rem;
  min-height: 54px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.34s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner__msg {
  flex: 1 1 220px;
  color: #fff;
  margin-right: 12px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.98rem;
  border: none;
  border-radius: 28px;
  padding: 7px 22px;
  margin: 0 0 0 0;
  cursor: pointer;
  background: #A8C4E5;
  color: #191B1D;
  transition: background 0.16s, color 0.14s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #E2B340;
  color: #191B1D;
}
.cookie-banner .cookie-settings-btn {
  background: #E2B340;
  color: #191B1D;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #A8C4E5;
  color: #191B1D;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25,27,29,0.92);
  z-index: 10010;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #191B1D;
  border-radius: 10px;
  box-shadow: 0 8px 64px rgba(4,53,84,0.13);
  max-width: 420px;
  min-width: 290px;
  padding: 32px 30px 24px 30px;
  margin: 15px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalFadeIn 0.4s cubic-bezier(.32,.92,.29,.98);
}
@keyframes modalFadeIn {
  from { transform: translateY(70px) scale(0.98); opacity: 0.6; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.9rem;
  color: #043554;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #E2B340;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
  padding-bottom: 8px;
  border-bottom: 1.2px solid #E2B340;
}
.cookie-category:last-child {
  border: none;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #191B1D;
  flex: 1 1 120px;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #A8C4E5;
}
/* Essential cookies always enabled style */
.cookie-category input[disabled] {
  opacity: 0.5;
}

/* === RESPONSIVE DESIGN: MOBILE-FIRST === */
@media (max-width: 1090px) {
  .container { padding: 0 14px; }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 14px;
  }
  .feature-grid, .service-list, .post-preview-list {
    gap: 16px;
  }
}
@media (max-width: 850px) {
  .main-nav a {
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.08rem; }
  h2 { font-size: 1.45rem; }
  .hero-section {
    padding: 28px 0 36px 0;
  }
  .cta-section {
    padding: 24px 0;
    border-radius: 8px;
  }
  .about-section, .legal-section, .contact-section {
    padding: 22px 7px;
    border-radius: 8px;
  }
  .content-wrapper, .footer .content-wrapper {
    gap: 17px;
  }
  .card, .feature-item, .service-item, .post-preview {
    max-width: 100%;
    min-width: 0;
    border-radius: 7px;
    padding: 20px 12px;
  }
  .card-container, .feature-grid, .service-list, .post-preview-list {
    gap: 13px;
  }
  .testimonial-card {
    padding: 14px 12px;
    border-radius: 5px;
    font-size: 0.98rem;
  }
  .main-nav {
    display: none;
  }
  .btn-primary {
    margin-left: 8px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 580px) {
  .footer nav {
    flex-direction: column;
    gap: 7px;
    align-items: center;
  }
  footer .footer-motto {
    font-size: 0.98rem;
  }
  header .container {
    flex-direction: row;
    gap: 12px;
  }
}
@media (max-width: 560px) {
  .container {
    padding: 0 5px;
  }
  .hero-section {
    border-radius: 0;
    padding-top: 13px;
    padding-bottom: 22px;
    background: #f5f6f8;
  }
}
@media (max-width: 520px) {
  .card, .feature-item, .service-item, .post-preview {
    padding: 12px 4px;
  }
  .card-container, .feature-grid, .service-list, .post-preview-list {
    gap: 7px;
  }
}
@media (max-width: 450px) {
  .btn-primary, .btn-secondary, .cookie-banner button {
    padding: 8px 15px;
    font-size: 0.92rem;
  }
  .mobile-nav a {
    font-size: 1.18rem;
    padding: 10px 0;
  }
}

/* FLEXBOX STRICT RULE: All containers above use only flex layouts, never grid. */

/* FORM ELEMENTS */
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #191B1D;
  border-radius: 7px;
  border: 1.2px solid #CED6DB;
  margin-bottom: 10px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.12s;
}
input:focus, select:focus, textarea:focus {
  border-color: #A8C4E5;
}

/* MICRO-INTERACTIONS */
section, .cta-section, .about-section, .feature-item, .service-item, .card, .testimonial-card, .post-preview {
  transition: box-shadow 0.20s, background 0.19s, border-color 0.14s, transform 0.19s;
}

/* SELECTION STYLES */
::selection {
  background: #A8C4E5;
  color: #222;
}

/* UTILITY */
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }

/* Hide elements helper class for JS usage */
.is-hidden { display: none !important; }

/* VISUAL HIERARCHY for monochrome_sophisticated */
/* Subtle use of brand secondary/accent, mostly monochrome backgrounds. */

/* END CSS */
