/* 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  box-sizing: border-box;
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #181e24;
  color: #e3e4e8;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.5;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #F6BE3B;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #FFFFFF;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
strong {
  font-weight: 600;
  color: #FFDC5C;
}
em {
  font-style: italic;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Impact, 'Arial Narrow Bold', Arial, sans-serif;
  color: #f6be3b;
  letter-spacing: 0.02em;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  color: #F6BE3B;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
.section, section {
  padding: 40px 20px;
  margin-bottom: 60px;
  background: none;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* HEADER & NAVIGATION */
header {
  background: #14181e;
  border-bottom: 2px solid #252a30;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  position: sticky;
  z-index: 110;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 28px;
}
header img {
  height: 44px;
  width: auto;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  color: #e3e4e8;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 8px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
nav a:hover,
nav a:focus {
  background: #293744;
  color: #F6BE3B;
}
.cta.primary {
  background: linear-gradient(90deg,#224157 70%,#445f75 100%);
  color: #F6BE3B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 10px 21px;
  border-radius: 24px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(34,65,87,0.23);
  border: none;
  outline: none;
  margin-left: 16px;
  transition: background 0.25s, color 0.25s, transform 0.13s;
  border-bottom: 2px solid #F6BE3B;
}
.cta.primary:hover,
.cta.primary:focus {
  background: #F6BE3B;
  color: #224157;
  transform: translateY(-2px) scale(1.03);
}
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: #F6BE3B;
  cursor: pointer;
  margin-left: 20px;
  z-index: 120;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #F6BE3B;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,41,46,0.97);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 28px;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(0.6,0,0.19,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.4rem;
  color: #F6BE3B;
  margin: 12px 22px 24px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  align-items: center;
}
.mobile-nav a {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 15px 12px;
  border-radius: 8px;
  background: none;
  width: 80vw;
  text-align: center;
  transition: background 0.16s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #224157;
  color: #F6BE3B;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(121deg, #181e24 91%, #224157 100%);
  border-radius: 0 0 32px 32px;
  min-height: 320px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}
.hero .content-wrapper {
  gap: 16px;
  align-items: flex-start;
}
.hero h1 {
  color: #F6BE3B;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 6px;
  text-shadow: 0 3px 24px #10171d55;
  letter-spacing: 0.04em;
}
.hero p {
  color: #f4f6fa;
  font-size: 1.22rem;
  margin-bottom: 18px;
  font-weight: 400;
}


/* FLEXBOX PATTERNS (as required) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #242a30;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px;
}
.card:hover {
  box-shadow: 0 6px 24px #22415750, 0 1.5px 6px #F6BE3B30;
}
.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;
  padding: 20px;
  background: #f7f8fa;
  color: #18202b;
  border-radius: 16px;
  box-shadow: 0 4px 16px #1d263324;
  margin-bottom: 24px;
  min-width: 260px;
  max-width: 410px;
  border: 1.5px solid #e1e2e4;
  font-size: 1.08rem;
}
.testimonial-card span {
  font-size: 1rem;
  color: #224157;
  font-weight: 500;
}
.testimonial-card .rating {
  letter-spacing: 2px;
  font-size: 1.3rem;
  color: #F6BE3B;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURE GRIDS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.feature-grid > div {
  background: #232932;
  border-radius: 16px;
  padding: 32px 22px 24px 22px;
  min-width: 220px;
  flex: 1 1 220px;
  box-shadow: 0 3px 14px #10171d13, 0 1.5px 4px #F6BE3B09;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: background 0.2s, box-shadow 0.2s;
  border: 1px solid #1e242b;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  background: #263544;
  box-shadow: 0 6px 28px #22415738, 0 2px 8px #F6BE3B12;
}
.feature-grid span[aria-label] {
  font-size: 2.3rem;
  margin-bottom: 12px;
  color: #F6BE3B;
  text-shadow: 0 1.5px 8px #14181e30;
}
.feature-grid h3 {
  color: #F6BE3B;
  margin-bottom: 12px;
  font-size: 1.2rem;
}
.feature-grid p {
  color: #e3e4e8;
  font-size: 1rem;
  margin-bottom: 0;
}

/* SERVICES/LIST SECTIONS */
.services ul, .articles ul, .features ul, .about ul, .contact ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.services ul li, .articles ul li, .features ul li, .about ul li, .contact ul li {
  font-size: 1.07rem;
  color: #e3e4e8;
  padding-left: 0;
  margin-bottom: 0;
  line-height: 1.62;
}
.services ul li strong {
  color: #F6BE3B;
}
.services .cta, .section.services .cta {
  margin-top: 32px;
  align-self: flex-start;
}

/* CTA SECTIONS */
.cta {
  display: inline-block;
  background: #224157;
  color: #F6BE3B;
  padding: 12px 26px;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  transition: background 0.25s, color 0.2s, box-shadow 0.17s, transform 0.11s;
  box-shadow: 0 1.5px 7px #1e242b1a;
  outline: none;
}
.cta:hover,
.cta:focus {
  background: #F6BE3B;
  color: #224157;
  box-shadow: 0 6px 18px #22415740, 0 1.5px 7px #F6BE3B20;
  transform: translateY(-1px) scale(1.04);
}
.section.cta {
  background: linear-gradient(91deg,#1e242b 90%,#242a30 100%);
  border-radius: 26px;
  margin-bottom: 48px;
}
.section.cta h2 {
  color: #ffffff;
}

/* ARTICLES/LEGAL */
.articles ul li strong,
.legal ul li strong {
  color: #F6BE3B;
}
.legal {
  background: #1d232b;
  border-radius: 20px;
  box-shadow: 0 1.5px 6px #F6BE3B13;
  padding: 40px 24px;
}
.legal h1, .legal h2 {
  color: #F6BE3B;
}
.legal a {
  color: #224157;
  text-decoration: underline;
}

/* THANK YOU PAGE */
.thankyou {
  background: linear-gradient(121deg, #181e24 91%, #224157 100%);
  border-radius: 22px;
  padding: 54px 24px;
  margin: 48px 0 64px 0;
  text-align: center;
  color: #fff;
  box-shadow: 0 4px 32px #1e242b22;
}
.thankyou h1 {
  color: #F6BE3B;
  margin-bottom: 16px;
}
.thankyou .cta.primary {
  margin-top: 26px;
}

/* FOOTER */
footer {
  background: #10171d;
  color: #e3e4e8;
  border-top: 2px solid #232932;
  padding: 32px 0 0 0;
  font-size: 15px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px 48px;
  justify-content: space-between;
  padding-bottom: 18px;
  flex-direction: row;
}
.footer-brand img {
  width: 120px;
  margin-bottom: 15px;
}
.footer-info p, .footer-info img {
  color: #e3e4e8;
  font-size: 1rem;
  margin-bottom: 0;
}
.footer-info img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 9px;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav nav a {
  color: #bebdb7;
  transition: color 0.2s;
  font-size: 1rem;
}
.footer-nav nav a:hover,
.footer-nav nav a:focus {
  color: #F6BE3B;
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-social a img {
  height: 26px;
  width: 26px;
  filter: grayscale(60%) brightness(1.12);
  transition: filter 0.16s;
}
.footer-social a:hover img {
  filter: grayscale(0%) brightness(1.2) drop-shadow(0 2px 6px #F6BE3B33);
}
.footer-note {
  border-top: 1px solid #232932;
  margin-top: 20px;
  padding: 12px 0 10px 0;
  font-size: 0.95rem;
  color: #9fb2c4;
  text-align: center;
}

/* FAQ (on beratung-workshops) */
.faq {
  background: #252a30;
  padding: 24px 20px;
  border-radius: 16px;
  color: #e3e4e8;
  box-shadow: 0 3px 14px #10171d15;
  margin-top: 20px;
}
.faq strong {
  font-size: 1.18rem;
  color: #F6BE3B;
  margin-bottom: 8px;
  display: block;
}
.faq ul {
  gap: 14px;
  margin-bottom: 0;
}

/* COOKIES CONSENT BANNER/BUTTONS */
.cookies-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #232932;
  color: #e3e4e8;
  z-index: 960;
  box-shadow: 0 -3px 10px #181e2435;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 19px;
  font-size: 1rem;
  transition: transform 0.3s;
}
.cookies-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookies-banner p {
  margin-right: 18px;
  color: #FFEFB8;
  font-size: 1.09rem;
}
.cookies-banner .cookies-btns {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookies-btn, .cookies-btn.settings {
  background: #224157;
  color: #F6BE3B;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 21px;
  padding: 8px 18px;
  font-size: 1.03rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.13s;
  outline: none;
}
.cookies-btn.accept {
  background: #F6BE3B;
  color: #224157;
}
.cookies-btn.accept:hover,
.cookies-btn.accept:focus {
  background: #ffe17c;
  color: #224157;
  transform: scale(1.04);
}
.cookies-btn.reject {
  background: #2b323a;
  color: #bebdb7;
  border: 1.2px solid #F6BE3B;
}
.cookies-btn.reject:hover,
.cookies-btn.reject:focus {
  background: #181e24;
  color: #F6BE3B;
  transform: scale(1.03);
}
.cookies-btn.settings {
  background: transparent;
  color: #F6BE3B;
  border: 1.2px solid #224157;
}
.cookies-btn.settings:hover {
  background: #224157;
  color: #F6BE3B;
  transform: scale(1.03);
}

/* COOKIES MODAL */
.cookies-modal {
  position: fixed;
  inset: 0;
  background: rgba(24,30,36,0.93);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.34s cubic-bezier(0.64,0,0.19,1);
}
.cookies-modal.open {
  pointer-events: all;
  opacity: 1;
}
.cookies-modal-content {
  background: #232932;
  color: #e3e4e8;
  border-radius: 18px;
  padding: 34px 28px 28px 28px;
  min-width: 320px;
  box-shadow: 0 10px 32px #14181e66;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 94vw;
}
.cookies-modal-content h2 {
  font-size: 1.45rem;
  color: #F6BE3B;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 7px;
}
.cookie-category label {
  font-size: 1.07rem;
  color: #ffe17c;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #2b323a;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-toggle:checked {
  background: #F6BE3B;
}
.cookie-toggle:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s cubic-bezier(.8,0,.22,1);
  box-shadow: 0 0.5px 3px #181e2442;
}
.cookie-toggle:checked:before {
  transform: translateX(14px);
}
.cookie-toggle[disabled] {
  opacity: 0.62;
  cursor: not-allowed;
}
.cookies-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookies-modal-close {
  background: none;
  border: none;
  color: #F6BE3B;
  font-size: 1.8rem;
  position: absolute;
  top: 16px;
  right: 32px;
  cursor: pointer;
  z-index: 1121;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  header .container {
    gap: 8px;
    height: auto;
    flex-wrap: wrap;
    min-height: 60px;
  }
  .footer-brand img {
    width: 90px;
  }
  footer .content-wrapper {
    gap: 18px 16px;
  }
  .hero .container {
    min-height: 152px;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 16px;
    flex-wrap: wrap;
  }
  .feature-grid > div {
    min-width: 160px;
    flex: 1 1 160px;
    padding: 24px 12px;
  }
  .footer-info,
  .footer-nav,
  .footer-social {
    font-size: 0.98rem;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .feature-grid > div {
    flex: 1 1 96vw;
    min-width: 96vw;
    padding: 20px 13px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header nav {
    display: none;
  }
  .cta.primary {
    margin-left: 8px;
    padding: 10px 17px;
    font-size: 1rem;
  }
  .container {
    padding: 0 6vw;
  }
  .content-wrapper {
    gap: 17px;
  }
  .footer-brand img {
    width: 68px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
  .footer-note {
    font-size: 0.90rem;
  }
  .hero .container {
    min-height: 90px;
  }
  .hero h1 {
    font-size: 1.54rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .section, section {
    padding: 25px 6vw;
    margin-bottom: 36px;
  }
}
@media (max-width: 540px) {
  html { font-size: 14px; }
  header .container {
    height: auto;
    gap: 6px;
    flex-wrap: wrap;
    padding: 0 12px;
  }
  .hero, .thankyou {
    border-radius: 0 0 10px 10px;
    padding: 19px 3vw;
  }
  .feature-grid > div, .card {
    min-width: 92vw;
    padding: 18px 10px 14px 10px;
  }
  .testimonials .content-wrapper {
    gap: 13px;
  }
  .testimonial-card {
    min-width: unset;
    max-width: 98vw;
    padding: 15px 10px;
    font-size: 1rem;
    margin-bottom: 13px;
  }
  .faq {
    padding: 13px 4vw;
  }
  .section, section {
    padding: 13px 2vw;
    margin-bottom: 22px;
  }
}
/* FLEX PATTERNS: text-image-section responsive */
@media (max-width: 900px) {
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}

/* Always leave adequate space between cards */
.card, .feature-grid > div, .testimonial-card {
  margin-bottom: 20px;
}

/* Ensure no absolute for content blocks; only for clear decorative uses (none needed here) */

/* Typography scale */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.24rem; }
  h2 { font-size: 1.04rem; }
}

/* Custom scrollbars for modern industrial look */
::-webkit-scrollbar {
  width: 9px;
  background: #181e24;
}
::-webkit-scrollbar-thumb {
  background: #224157;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #F6BE3B;
}

/* Animations & transitions */
.feature-grid > div,
.card,
.cta,
.testimonial-card,
.cookies-btn,
.cookies-modal-content {
  transition: box-shadow 0.23s, background 0.22s, color 0.18s, transform 0.14s;
}

/* Focus outlines for accessibility */
:focus-visible {
  outline: 2px dashed #F6BE3B;
  outline-offset: 2px;
}

/* Hide cookie modal and mobile-menu by default */
.cookies-modal { display: none; }
.cookies-modal.open { display: flex; }
.mobile-menu { display: none; }
.mobile-menu.open { display: flex; }

/* Utility: visually hidden (for future a11y) */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}
