/* -----------------------
   CSS RESET & BASE RULES
-------------------------*/
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, 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5; background: #fff; color: #111; font-family: 'Open Sans', Arial, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit; text-decoration: none; transition: color 0.2s;
}
img, svg {
  max-width: 100%; display: block;
}

/* -----------------------
   MONOCHROME SOPHISTICATED BRAND COLORS
-------------------------*/
:root {
  --mono-black: #111111;
  --mono-darkgray: #222324;
  --mono-gray: #646569;
  --mono-lightgray: #E9E9EB;
  --mono-white: #ffffff;
  --brand-primary: #111111; /* For monochrome, primary is black */
  --brand-accent: #ececec; /* Very pale gray instead of strong accent */
  --brand-border: #D6D6D6;
  --cta-bg: #ffffff;
  --cta-text: #111111;
}

body {
  background: var(--mono-white);
  color: var(--mono-black);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--mono-black);
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 24px;
  line-height: 1.14;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.21;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  line-height: 1.25;
}
h4, h5 {
  font-size: 1rem;
  margin-bottom: 6px;
}
p, ul, ol, .subheadline {
  font-size: 1rem;
  color: var(--mono-gray);
  line-height: 1.75;
  margin-bottom: 10px;
}
.subheadline {
  font-size: 1.15rem;
  color: var(--mono-darkgray);
}
strong, b {
  color: var(--mono-black);
}


/* --------------
   BASE SPACING
----------------*/
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --------------
   FLEXBOX LAYOUTS
----------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 34px;
}
.card {
  background: var(--mono-white);
  border-radius: 16px;
  box-shadow: 0 2px 13px rgba(34,36,38,0.06);
  border: 1px solid var(--brand-border);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  transition: box-shadow 0.19s, transform 0.18s;
  min-width: 260px;
  flex: 1 1 260px;
}
.card:hover {
  box-shadow: 0 4px 18px rgba(17,17,17,0.12);
  transform: translateY(-2px) scale(1.025);
}
.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: 12px;
  padding: 24px 30px;
  margin-bottom: 20px;
  background: var(--mono-lightgray);
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(17,17,17,0.09);
  border-left: 5px solid var(--mono-black);
  max-width: 540px;
  color: var(--mono-black) !important;
}
.testimonial-card p {
  color: var(--mono-black);
  font-size: 1.1rem;
}
.testimonial-card span {
  font-size: 0.94rem;
  color: var(--mono-gray);
  font-style: italic;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 24px;
}
.feature-grid > div {
  background: var(--mono-white);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(17,17,17,0.07);
  padding: 28px 16px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 200px;
  transition: box-shadow 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 26px rgba(17,17,17,0.17);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* About Section with icons (about.html) */
.about-section ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--mono-gray);
  font-size: 1rem;
}
.features-section ul li, .services-section ul li, .expert-profiles ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--mono-gray);
}
.expert-profiles ul {
  margin-bottom: 18px;
}
.cta-section {
  background: var(--mono-darkgray);
  color: var(--mono-white);
  border-radius: 18px;
  box-shadow: 0 2px 13px rgba(34,36,38,0.08);
  margin-bottom: 60px;
}
.cta-section h2, .cta-section p {
  color: var(--mono-white);
}

/* -----------------------
   NAVIGATION BAR
-------------------------*/
header {
  background: var(--mono-white);
  border-bottom: 1px solid var(--brand-border);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
}
.main-nav > a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  color: var(--mono-black);
  padding: 6px 10px;
  font-size: 1rem;
  border-radius: 8px;
  transition: background 0.17s, color 0.18s;
}
.main-nav > a.cta {
  background: var(--mono-black);
  color: var(--mono-white);
  padding: 10px 22px;
  font-size: 1.06rem;
  font-weight: 600;
  margin-left: 22px;
  border-radius: 18px;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 6px rgba(17,17,17,0.08);
}
.main-nav > a.cta:hover, .main-nav > a.cta:focus {
  background: var(--mono-lightgray);
  color: var(--mono-black);
}
.main-nav > a:not(.cta):hover, .main-nav > a:not(.cta):focus {
  background: var(--mono-lightgray);
  color: var(--mono-black);
}

/* Navigation Logo Size */
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 28px;
}

/* ------ Mobile Menu Hamburger ------ */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--mono-black);
  margin-left: auto;
  cursor: pointer;
  transition: color 0.2s, transform 0.18s;
  z-index: 201;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: var(--mono-gray);
  transform: scale(1.10);
}

/* ------ Mobile Slide-In Menu ------ */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 0;
  background: rgba(17,17,17,0.91);
  color: var(--mono-white);
  transform: translateX(100%);
  transition: transform 0.39s cubic-bezier(.77,.2,.15,.9);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding-top: 30px;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.25rem;
  color: var(--mono-white);
  margin: 0 20px 30px 0;
  cursor: pointer;
  z-index: 2101;
  padding: 5px 16px;
  border-radius: 6px;
  transition: background 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--mono-gray); color: var(--mono-black);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 380px;
  margin-right: 32px;
  gap: 12px;
}
.mobile-nav a {
  color: var(--mono-white);
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 1.2rem;
  padding: 16px 0;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.11);
  transition: background 0.2s, color 0.2s;
  border-radius: 0 10px 10px 0;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  min-height: 52px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--mono-white);
  color: var(--mono-black);
}

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

/* ------ PAGE SECTIONS & CONSISTENT SPACING ------ */
section, .section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
@media (max-width: 768px) {
  section, .section {
    padding: 30px 0;
    margin-bottom: 38px;
  }
  .container {
    padding-left: 10px; padding-right: 10px;
  }
  .content-grid, .feature-grid, .card-container, .testimonial-card, .text-image-section {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch !important;
  }
  .feature-grid > div, .card {
    min-width: 0;
    width: 100%;
  }
  h1 { font-size: 2rem; } h2 { font-size: 1.35rem; } .subheadline { font-size: 1.02rem; }
  .main-nav > a.cta { margin-left: 0; }
}


/* ------ CARDS ------ */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}

/* ------ FOOTER ------ */
footer {
  background: var(--mono-white);
  border-top: 1px solid var(--brand-border);
  padding: 36px 0 18px 0;
  margin-top: 58px;
}
footer .content-wrapper {
  flex-direction: column;
  gap: 19px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 10px;
}
.footer-nav a {
  font-size: 1rem;
  color: var(--mono-black);
  padding: 7px 10px;
  border-radius: 8px;
  transition: background 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--mono-lightgray); color: var(--mono-black);
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  color: var(--mono-gray);
  font-size: 0.9rem;
  align-items: flex-start;
}
.contact-info div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.social-media {
  display: flex;
  gap: 14px;
}
.social-media a img {
  width: 24px; height: 24px; opacity: 0.88; transition: opacity 0.15s;
}
.social-media a:hover img, .social-media a:focus img {
  opacity: 1;
}
@media (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  .contact-info {
    flex-direction: column;
    gap: 9px;
  }
}

/* ------ BUTTONS & CTAS ------ */
.cta, .cta-section .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  background: var(--mono-black);
  color: var(--mono-white);
  font-weight: 600;
  font-size: 1.08rem;
  border-radius: 25px;
  padding: 13px 35px;
  box-shadow: 0 2px 16px rgba(17,17,17,0.09);
  margin-top: 16px;
  margin-bottom: 12px;
  border: none;
  transition: background 0.19s, color 0.19s, box-shadow 0.19s, transform 0.16s;
  cursor: pointer;
  letter-spacing: 0.05em;
}
.cta:hover, .cta:focus, .cta-section .cta:focus, .cta-section .cta:hover {
  background: var(--mono-white);
  color: var(--mono-black);
  box-shadow: 0 4px 26px rgba(17,17,17,0.13);
  transform: translateY(-1px) scale(1.01);
}

button, .button {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  background: var(--mono-black);
  color: var(--mono-white);
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.18s, color 0.18s, box-shadow 0.17s;
  cursor: pointer;
}
.button:hover, button:hover, .button:focus, button:focus {
  background: var(--mono-white);
  color: var(--mono-black);
  box-shadow: 0 2px 13px rgba(17,17,17,0.14);
}

/* ------ MISC ELEMENTS ------ */
ul, ol {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 17px;
  color: var(--mono-gray);
}
li {
  margin-bottom: 8px;
  line-height: 1.62;
}
strong {
  color: var(--mono-black);
  font-weight: 600;
}
a {
  text-decoration: underline;
  color: var(--mono-black);
  transition: color 0.18s;
}
a:hover, a:focus {
  color: var(--mono-gray);
}

/* Contact Details on Kontaktseite */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
  font-size: 1.05rem;
  color: var(--mono-gray);
}
.contact-details div {
  display: flex; align-items: center; gap: 8px;
}
.location-map {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  background: var(--mono-lightgray);
  padding: 18px;
  border-radius: 10px;
}
@media (max-width: 768px) {
  .location-map { flex-direction: column; gap: 10px; }
}

/* Thank You Section Style */
.thankyou-section .content-wrapper {
  align-items: flex-start;
  gap: 16px;
  background: var(--mono-white);
  border-radius: 14px;
  box-shadow: 0 3px 18px rgba(34,36,38,0.08);
  padding: 42px 32px;
  margin: 20px 0;
}

/* ---------------
   COOKIE BANNER & MODAL
-----------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100%;
  background: var(--mono-darkgray);
  color: var(--mono-white);
  box-shadow: 0 -2px 18px rgba(34,36,38,0.19);
  z-index: 3000;
  padding: 18px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.41s;
  transform: translateY(100%);
  font-size: 1rem;
  border-radius: 16px 16px 0 0;
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}
.cookie-banner button, .cookie-banner .button {
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--mono-white);
  color: var(--mono-black);
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 5px rgba(17,17,17,0.09);
  margin-bottom: 0;
  transition: background 0.15s, color 0.15s, box-shadow 0.14s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--mono-gray);
  color: var(--mono-white);
}

/* COOKIES MODAL */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(34, 36, 38, 0.82);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBackdrop .33s;
}
@keyframes fadeInBackdrop {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: var(--mono-white);
  color: var(--mono-black);
  min-width: 95vw;
  max-width: 400px;
  padding: 32px 22px 24px 22px;
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(17,17,17,0.18);
  z-index: 4100;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: popModal .33s;
}
@keyframes popModal {
  from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 7px;
}
.cookie-modal input[type='checkbox'] {
  accent-color: var(--mono-black);
  width: 18px; height: 18px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 10px; right: 16px;
  background: none;
  border: none;
  color: var(--mono-gray);
  font-size: 1.7rem;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.16s;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus {
  color: var(--mono-black);
}

@media (max-width: 480px) {
  .cookie-modal {
    max-width: 95vw;
    padding: 10px 7px 18px 7px;
  }
}

/* ---------------
   ANIMATIONS
-----------------*/
.cta, .cta-section .cta, button, .button {
  transition: background 0.18s, color 0.17s, box-shadow 0.18s, transform 0.16s;
}
.testimonial-card, .card, .feature-grid > div, .cookie-modal {
  transition: box-shadow 0.19s, transform 0.17s, background 0.18s;
}
.mobile-menu, .cookie-banner {
  will-change: transform;
}

/* Accessibility focus */
a:focus, button:focus, .cta:focus, .mobile-menu-toggle:focus {
  outline: 2px solid var(--mono-black);
  outline-offset: 3px;
}

/* Misc Utility */
.hide { display: none !important; }

/* Ensure no content overflow or overlap. */
* {
  min-width: 0;
  min-height: 0;
}

/* ---------------
   END OF STYLE.CSS
-----------------*/
