/* --------------------------------------------------
   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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #191919;
}
ol, ul {
  list-style: disc inside;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------
   Monochrome Sophisticated Variables
-------------------------------------------------- */
:root {
  --color-bg: #fff;
  --color-bg-alt: #f8f8f8;
  --color-card: #f5f5f5;
  --color-primary: #191919;
  --color-secondary: #3a3a3a;
  --color-tertiary: #888;
  --color-border: #e0e0e0;
  --color-accent: #224168; /* Brand primary for subtle accents */
  --color-hover: #f1f1f1;
  --color-shadow: rgba(20, 20, 20, 0.09);
  --btn-bg-primary: #191919;
  --btn-bg-secondary: #fff;
  --btn-text-primary: #fff;
  --btn-text-secondary: #191919;
  --color-link: #222;
  --color-link-hover: #224168;
  --font-title: 'Montserrat', 'Arial', sans-serif;
  --font-body: 'Roboto', 'Arial', sans-serif;
  --radius: 10px;
  --shadow: 0 3px 34px -14px var(--color-shadow);
  --transition: 0.25s cubic-bezier(.52,.12,.37,1.12);
  --section-gap: 60px;
  --container-max: 1100px;
  --card-gap: 24px;
}

/* Brand color support for accents only - otherwise stay monochrome! */

/* --------------------------------------------------
   Layout Containers
-------------------------------------------------- */
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-primary);
  font-size: 16px;
}
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* --------------------------------------------------
   Header & Navigation
-------------------------------------------------- */
header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 10px -8px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img {
  max-width: 170px;
  height: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 7px 0;
  color: var(--color-link);
  border-radius: 5px;
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.2px;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-link-hover);
  background: var(--color-hover);
}
.btn-primary {
  background: var(--btn-bg-primary);
  color: var(--btn-text-primary);
  font-family: var(--font-title);
  font-weight: 600;
  border-radius: var(--radius);
  padding: 11px 32px;
  font-size: 18px;
  box-shadow: 0 2px 12px -8px var(--color-shadow);
  border: none;
  margin-left: 12px;
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 2;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 2px 14px -4px var(--color-shadow);
}
.btn-secondary {
  background: var(--btn-bg-secondary);
  color: var(--btn-text-secondary);
  border: 1.5px solid var(--color-primary);
  font-family: var(--font-title);
  font-weight: 600;
  border-radius: var(--radius);
  padding: 11px 30px;
  font-size: 18px;
  margin-left: 0;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  box-shadow: 0 1px 8px -6px var(--color-shadow);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--color-hover);
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Mobile Nav Burger */
.mobile-menu-toggle {
  display: none;
  font-size: 32px;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  z-index: 110;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--color-accent);
}
/* Mobile Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(20, 20, 20, 0.93);
  color: #fff;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(.68,-0.55,0.27,1.55);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 18px 0 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 40px 26px 0 36px;
}
.mobile-nav a {
  font-family: var(--font-title);
  font-size: 22px;
  color: #fff;
  padding: 10px 0;
  border-radius: 5px;
  transition: background 0.22s, color 0.18s;
  font-weight: 500;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-accent);
}

/* Hide main nav on mobile */
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* --------------------------------------------------
   Hero Section
-------------------------------------------------- */
.hero {
  background: linear-gradient(90deg, #fff 70%, #f1f1f1 100%);
  min-height: 350px;
  display: flex;
  align-items: center;
  margin-bottom: var(--section-gap);
  box-shadow: 0 5px 36px -13px var(--color-shadow);
}
.hero .container {
  justify-content: center;
  align-items: flex-start;
  min-height: 350px;
}
.hero .content-wrapper {
  gap: 20px;
}
.hero h1 {
  font-family: var(--font-title);
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 3px;
  letter-spacing: -1.5px;
  text-shadow: 0 1px 0 #fff, 0 2px 8px var(--color-shadow);
}
.hero p {
  font-size: 18px;
  color: var(--color-secondary);
  font-family: var(--font-body);
  margin-bottom: 10px;
}
.hero .btn-primary {
  align-self: flex-start;
}
@media (max-width: 768px) {
  .hero {
    min-height: 200px;
    margin-bottom: 40px;
  }
  .hero h1 {
    font-size: 30px;
    text-align: left;
  }
}

/* --------------------------------------------------
   Sections & Spacing
-------------------------------------------------- */
section {
  background: none;
  margin-bottom: var(--section-gap);
  padding: 40px 0 0 0;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
h2, h3, h4, h5 {
  font-family: var(--font-title);
  color: var(--color-primary);
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.18;
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 24px;
}
h4,h5 {
  font-size: 18px;
  font-weight: 600;
}
p, ul, ol {
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-size: 16px;
  margin-bottom: 12px;
}
ul, ol {
  padding-left: 20px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 10px;
  line-height: 1.5;
}
strong {
  color: var(--color-primary);
  font-weight: bold;
}

/* --------------------------------------------------
   Feature/Content Grids & Cards (Flexbox only!)
-------------------------------------------------- */
.feature-grid, .article-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 24px;
}
.card-container {
  gap: 24px !important;
}
.card {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.17s, background 0.21s;
}
.card:hover, .card:focus {
  background: #fff;
  box-shadow: 0 6px 22px -10px var(--color-shadow);
}
.feature-grid > div, .article-grid > article {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px 24px 22px;
  min-width: 200px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: background 0.2s, box-shadow 0.2s;
  margin-bottom: 0;
  gap: 11px;
}
.feature-grid > div:hover, .article-grid > article:hover {
  background: #fff;
  box-shadow: 0 7px 27px -10px var(--color-shadow);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.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: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 22px -10px var(--color-shadow);
  margin-bottom: 20px;
  border-left: 5px solid var(--color-accent);
  min-width: 200px;
  transition: box-shadow 0.17s;
}
.testimonial-card p {
  font-style: italic;
  font-size: 17px;
  color: var(--color-primary);
  margin-bottom: 0;
}
.testimonial-card div {
  font-family: var(--font-title);
  font-size: 16px;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.contact-short {
  display: flex;
  align-items: center;
  gap: 15px;
  background: transparent;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--color-accent);
  margin-top: 21px;
}
.newsletter-signup {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 23px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 15px;
}
.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  margin-bottom: 10px;
}
.filter-options button {
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 6px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  padding: 5px 18px;
  cursor: pointer;
  transition: background 0.18s, color 0.15s;
}
.filter-options button:hover,
.filter-options button:focus {
  background: var(--color-accent);
  color: #fff;
}
.featured-post {
  background: var(--color-hover);
  border-radius: 6px;
  padding: 13px 16px;
  font-size: 17px;
  margin-top: 12px;
}
.featured-post a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
}
.featured-post a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

@media (max-width: 900px) {
  .feature-grid, .article-grid, .card-container, .content-grid {
    gap: 16px;
  }
  .feature-grid > div, .article-grid > article {
    min-width: 140px;
    flex: 1 1 130px;
    padding: 18px 10px 16px 10px;
  }
  .newsletter-signup, .testimonial-card, .card {
    padding: 15px 10px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .article-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid > div, .article-grid > article {
    min-width: unset;
    width: 100%;
    flex: 1 1 90vw;
  }
}

/* --------------------------------------------------
   Contact Info & Socials
-------------------------------------------------- */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: var(--color-tertiary);
  margin: 20px 0 0 0;
}
.contact-info div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-info {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  color: var(--color-tertiary);
  margin-bottom: 10px;
}

/* --------------------------------------------------
   Footer Styles
-------------------------------------------------- */
footer {
  background: #1a1a1a;
  color: #fff;
  padding: 42px 0 0 0;
  margin-top: 40px;
}
footer .container {
  gap: 0;
  align-items: flex-start;
}
footer .content-wrapper {
  gap: 17px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 15px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.82;
  font-family: var(--font-body);
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--color-accent);
}

/* --------------------------------------------------
   Download/Infographic
-------------------------------------------------- */
.infographics {
  margin: 30px 0 0 0;
  display: flex;
  align-items: center;
  gap: 20px;
}
.download-guide {
  margin-top: 19px;
  font-size: 15px;
}
.download-guide a {
  color: var(--color-accent);
  text-decoration: underline;
  font-family: var(--font-title);
  font-weight: 500;
  transition: color 0.16s;
}
.download-guide a:hover {
  color: #191919;
}

/* --------------------------------------------------
   FAQ Teaser (Kontakt)
-------------------------------------------------- */
.faq-teaser {
  margin: 30px 0 0 0;
}
.faq-teaser a {
  color: var(--color-accent);
  text-decoration: underline;
  font-size: 17px;
  font-weight: 500;
}
.faq-teaser a:hover {
  color: #191919;
}

/* --------------------------------------------------
   Utility Classes & Micro-interactions
-------------------------------------------------- */
a, .btn-primary, .btn-secondary, button {
  outline: none !important;
}
a:focus-visible, button:focus-visible {
  box-shadow: 0 0 0 2px var(--color-accent);
}
.button:active {
  transform: scale(0.97);
}

/* --------------------------------------------------
   Cookie Consent Banner
-------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #191919;
  color: #fff;
  width: 100%;
  padding: 22px 20px 22px 16px;
  box-shadow: 0 -3px 24px -8px #0007;
  z-index: 2000;
  display: flex;
  flex-direction: row;
  gap: 29px;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 15px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s, transform 0.34s cubic-bezier(.66,-0.21,.3,1.02);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 240px;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-banner .btn-accept-all,
.cookie-banner .btn-reject-all {
  background: #fff;
  color: #191919;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-title);
  font-weight: 600;
  padding: 9px 24px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.19s, color 0.15s;
  box-shadow: 0 1px 8px -6px var(--color-shadow);
}
.cookie-banner .btn-accept-all:hover {
  background: var(--color-accent);
  color: #fff;
}
.cookie-banner .btn-reject-all:hover {
  background: #eee;
  color: #224168;
}
.cookie-banner .btn-cookie-settings {
  background: none;
  border: 1.5px solid #fff;
  color: #fff;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 500;
  padding: 9px 19px;
  font-size: 15px;
  cursor: pointer;
  transition: border 0.15s, background 0.15s, color 0.15s;
}
.cookie-banner .btn-cookie-settings:hover {
  background: #fff;
  color: #191919;
  border-color: #fff;
}

/* Cookie Modal */
.cookie-modal {
  background: #fff;
  color: #191919;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.23s;
  animation: cookieModalFadeIn 0.4s;
  visibility: visible;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 11px 48px -18px #1118;
  min-width: 330px;
  min-height: 220px;
  max-width: 94vw;
  padding: 40px 23px 28px 31px;
  display: flex;
  flex-direction: column;
  gap: 21px;
  position: relative;
  align-items: flex-start;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: #888;
  font-size: 32px;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 2;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #224168;
}
.cookie-modal h3 {
  font-size: 22px;
  font-family: var(--font-title);
  font-weight: 700;
  margin-bottom: 12px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 18px;
  height: 18px;
}
.cookie-category .cookie-checkbox-disabled {
  opacity: 0.5;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 12px;
}
.cookie-modal .btn-accept-all,
.cookie-modal .btn-reject-all {
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-title);
  font-weight: 600;
  padding: 10px 22px;
  font-size: 16px;
  cursor: pointer;
}
.cookie-modal .btn-reject-all {
  background: #eee;
  color: #191919;
}
.cookie-modal .btn-accept-all:hover {
  background: #191919;
}
.cookie-modal .btn-reject-all:hover {
  background: #dbdbdb;
  color: #191919;
}

@media (max-width: 650px) {
  .cookie-modal-dialog {
    padding: 38px 14px 28px 14px;
    min-width: 0;
    max-width: 96vw;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    font-size: 14px;
    padding: 17px 6vw 17px 4vw;
  }
  .cookie-banner-buttons {
    flex-wrap: wrap;
    gap: 7px;
  }
}

/* --------------------------------------------------
   Thank You Section
-------------------------------------------------- */
.thank-you {
  min-height: 340px;
  background: linear-gradient(90deg, #f5f5f5 65%, #fff 100%);
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--section-gap);
  box-shadow: 0 4px 22px -12px var(--color-shadow);
}
.thank-you .container {
  justify-content: center;
  align-items: flex-start;
  min-height: 340px;
}
.thank-you .content-wrapper {
  gap: 23px;
}
.thank-you h1 {
  font-family: var(--font-title);
  font-size: 33px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 3px;
}
.thank-you h2 {
  font-size: 22px;
  color: var(--color-primary);
}
.thank-you ul {
  margin-bottom: 16px;
}
@media (max-width: 660px) {
  .thank-you {
    min-height: 120px;
    padding-top: 20px;
  }
  .thank-you .container {
    min-height: 120px;
  }
  .thank-you h1 {
    font-size: 22px;
  }
}

/* --------------------------------------------------
   Responsive Typography & Spacing
-------------------------------------------------- */
@media (max-width: 700px) {
  h1 {
    font-size: 26px !important;
  }
  h2 {
    font-size: 21px !important;
  }
  h3 {
    font-size: 18px !important;
  }
  .section {
    padding: 20px 6px;
    margin-bottom: 36px;
  }
}

/* --------------------------------------------------
   Miscellaneous / Accessibility
-------------------------------------------------- */
::-webkit-input-placeholder { color: #bbb; }
::-moz-placeholder { color: #bbb; }
:-ms-input-placeholder { color: #bbb; }
::placeholder { color: #bbb; }

@media (max-width: 600px) {
  .container {
    padding: 0 5vw;
  }
  .newsletter-signup {
    padding: 12px 4vw;
  }
  footer {
    padding: 29px 0 0 0;
  }
}

/* --------------------------------------------------
   Form Fields (future-proof)
-------------------------------------------------- */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 16px;
  border-radius: 6px;
  border: 1.3px solid var(--color-border);
  padding: 8px 13px;
  margin-bottom: 20px;
  outline: none;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent);
}

/* ----------- END OF CSS ----------- */