/* --------------------------------------------------------------------
  CSS RESET & BASELINE NORMALIZATION
-------------------------------------------------------------------- */
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;
}
html {
  height: 100%;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background: #fff;
  color: #181818;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  letter-spacing: 0.02em;
}
img, video {
  max-width: 100%;
  display: block;
}

ol, ul {
  list-style: disc inside;
  margin: 0 0 1em 1em;
  padding: 0;
}
li {
  margin-bottom: 6px;
}
a {
  color: #2E4053;
  text-decoration: none;
  transition: color .2s;
}
a:hover,
a:focus {
  color: #181818;
  text-decoration: underline;
}
strong {
  font-weight: 700;
}

/* HEADINGS & TYPOGRAPHY SCALE */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.2;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1rem;
  font-style: normal;
  margin-bottom: 12px;
  font-weight: 600;
}
p {
  font-size: 1.0625rem;
  margin-bottom: 18px;
  color: #222;
}

/* --------------------------------------------------------------------
  LAYOUT STRUCTURE & CONTAINER
-------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

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

/*
  HERO SECTION
---------------------------------*/
.hero-section {
  background: #111;
  color: #fff;
  padding: 64px 0 56px 0;
}
.hero-section h1, .hero-section h2, .hero-section h3 {
  color: #fff;
}
.hero-section p {
  color: #e6e6e6;
}
.hero-section .btn-primary {
  margin-top: 24px;
}

.cta-section {
  background: #f5f5f5;
  border-radius: 14px;
  padding: 48px 20px;
  box-shadow: 0 6px 36px rgba(30,30,30,0.07);
  margin-bottom: 60px;
}
.cta-section h2 {
  color: #181818;
}
.cta-section p {
  color: #222;
}

/* --------------------------------------------------------------------
FEATURE GRID, CONTENT GRIDS
-------------------------------------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 0 0;
}
.feature-item {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow .2s, transform .2s;
  margin-bottom: 20px;
}
.feature-item:hover,
.feature-item:focus {
  box-shadow: 0 8px 32px rgba(30,30,30,0.11);
  transform: translateY(-4px);
}
.feature-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
  opacity: .90;
}
.feature-item h3 {
  font-size: 1.13rem;
  margin-bottom: 0;
  color: #2E4053;
}
.feature-item p {
  font-size: 1rem;
  color: #292929;
  margin-bottom: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(22,22,22,0.09);
  margin-bottom: 20px;
  padding: 28px 20px;
  position: relative;
  min-width: 200px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover,
.card:focus {
  box-shadow: 0 8px 34px rgba(30,30,30,0.15);
  transform: translateY(-3px);
}

.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;
}

/* FAQ LISTS */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 14px;
}
.faq-item {
  background: #fafafa;
  border-left: 4px solid #2E4053;
  border-radius: 10px;
  padding: 18px 22px 14px 18px;
  box-shadow: 0 2px 10px rgba(44,44,44,0.06);
  margin-bottom: 16px;
}
.faq-item h3 {
  margin-bottom: 10px;
  color: #111;
  font-size: 1.1rem;
}
.faq-item p {
  color: #292929;
  font-size: 1.04rem;
}

/* Testimonial Cards */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 3px 20px rgba(60,60,60,0.09);
  border-left: 5px solid #BFAA81;
  transition: box-shadow .19s, transform .18s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 10px 32px rgba(44,44,44,0.13);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.testimonial-content p {
  color: #191919;
  font-size: 1.09rem;
  line-height: 1.55;
}
.testimonial-author {
  font-size: 1rem;
  color: #67615A;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}

/* Contact details */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.contact-details > div {
  flex: 1 1 200px;
  min-width: 180px;
  background: #f5f5f5;
  padding: 18px 14px 14px 18px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  color: #181818;
  font-size: 1.01rem;
}
.contact-details img {
  width: 28px;
  height: 28px;
  margin-right: 9px;
  filter: grayscale(1) brightness(0.6);
}

/* FAQ OL and LI for Ablauf */
ol {
  margin-left: 1.2em;
  padding-left: 0.5em;
}
ol li {
  position: relative;
  margin-bottom: 16px;
  font-size: 1.06rem;
  display: flex;
  align-items: center;
  gap: 16px;
}
ol li img {
  width: 32px;
  height: 32px;
  margin-right: 6px;
  opacity: 0.77;
}

/* --------------------------------------------------------------------
  BUTTONS, LINKS, MICROINTERACTIONS
-------------------------------------------------------------------- */
.btn,
button,
.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  padding: 13px 34px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  background: #2E4053;
  color: #fff;
  box-shadow: 0 2px 18px rgba(0,0,0,0.04);
  transition: background .2s, box-shadow .2s, color .18s, transform .175s;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus, .btn:hover, .btn:focus {
  background: #BFAA81;
  color: #1a1a1a;
  box-shadow: 0 6px 26px rgba(70,70,70,0.15);
  transform: translateY(-1px) scale(1.02);
}
.btn-secondary {
  background: #fff;
  color: #2E4053;
  border: 2px solid #2E4053;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #2E4053;
  color: #fff;
}

button {
  background: none;
  border: none;
  color: #181818;
  font-size: 1rem;
}
button:focus {
  outline: 2px solid #2E4053;
}

/* --------------------------------------------------------------------
  HEADER & NAVIGATION
-------------------------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(14,14,14,0.05);
  position: relative;
  z-index: 900;
}
.header-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 12px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #181818;
  padding: 7px 12px;
  border-radius: 6px;
  transition: color .17s, background .17s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #BFAA81;
  background: #10111209;
  text-decoration: none;
}
header a img {
  height: 38px;
  width: auto;
  vertical-align: middle;
}

/* HEADER CTA Button */
.header-container .btn-primary {
  margin-left: 16px;
  padding: 10px 30px;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #181818;
  border: none;
  font-size: 2rem;
  padding: 8px 10px;
  border-radius: 7px;
  transition: background .19s, color .19s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #2E4053;
  color: #fff;
}

/* ----- MOBILE NAV ----- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #111;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.82,.03,.21,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  opacity: 0.999;
  box-shadow: 0 0 0 9999px rgba(10,10,10,0.24);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.3rem;
  color: #fff;
  background: none;
  border: none;
  margin: 22px 0 10px 24px;
  cursor: pointer;
  align-self: flex-start;
  transition: color .21s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #BFAA81;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 32px;
  padding-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.22rem;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 5px;
  transition: color .19s, background .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #BFAA81;
  background: #222426;
  text-decoration: underline;
}

/* Hide main nav on mobile, show burger */
@media (max-width: 900px) {
  .main-nav {
    display: none !important;
  }
  .header-container .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* Hide mobile menu desktop */
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}


/* --------------------------------------------------------------------
  FOOTER DESIGN
-------------------------------------------------------------------- */
footer {
  background: #181818;
  color: #f5f5f5;
  padding: 34px 0 18px 0;
  font-size: 1.04rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #BFAA81;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  text-decoration: none;
  transition: color .17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.brand-signature {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.brand-signature img {
  height: 28px;
}
.brand-signature span {
  font-size: 1.08rem;
  color: #bbb;
}


/* --------------------------------------------------------------------
  SECTION & SPACING (MANDATORY)
-------------------------------------------------------------------- */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Ensure minimum margin and gap between sections */
section + section { margin-top: 32px; }
.content-wrapper + .content-wrapper { margin-top: 24px; }

/* --------------------------------------------------------------------
  COOKIE BANNER & COOKIE MODAL
-------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #111;
  box-shadow: 0 -2px 22px rgba(18,18,18,0.11);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  padding: 20px 34px 20px 24px;
  z-index: 3000;
  font-size: 1rem;
  transition: transform .3s cubic-bezier(.62, 0, .16, 1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner-message {
  flex: 1 1 280px;
  color: #191919;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  padding: 9px 22px;
  margin: 0 2px;
  cursor: pointer;
  box-shadow: 0 1px 5px rgba(40,40,40,0.04);
  transition: background .18s, color .17s;
}
.cookie-btn.accept {
  background: #2E4053;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #BFAA81;
  color: #181818;
}
.cookie-btn.reject {
  background: #818181;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #2E4053;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: #2E4053;
  border: 1.2px solid #aaa;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #2E4053;
  color: #fff;
  border-color: #2E4053;
}

/* COOKIE MODAL (SETTINGS) */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,24,24,0.19);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity .18s;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  padding: 40px 32px 32px 32px;
  min-width: 350px;
  max-width: 96vw;
  box-shadow: 0 9px 88px rgba(36,36,36,0.17);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeInScale .24s cubic-bezier(.2, .8, .4, 1);
}
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  color: #222;
  font-size: 1.75rem;
  border: none;
  cursor: pointer;
  transition: color .16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #BFAA81;
}
.cookie-modal h2 {
  font-size: 1.38rem;
  color: #2E4053;
  margin-bottom: 14px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  background: #f5f5f5;
  border-radius: 6px;
  padding: 13px 11px 13px 16px;
}
.cookie-category label {
  font-size: 1rem;
  color: #181818;
  font-weight: 500;
  margin-right: 10px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #BFAA81;
  width: 18px;
  height: 18px;
  margin: 0 10px 0 0;
}
.cookie-category.essential label {
  color: #767676;
}
.cookie-modal-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: flex-end;
}

/* --------------------------------------------------------------------
  RESPONSIVE DESIGN
-------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .container { max-width: 960px; }
}
@media (max-width: 900px) {
  .container { max-width: 700px; }
  .feature-grid { flex-wrap: wrap; }
  .feature-item { flex: 1 1 230px; }
  .contact-details { flex-wrap: wrap; }
}
@media (max-width: 768px) {
  .container { max-width: 98vw; padding-left: 10px; padding-right: 10px; }
  .header-container { flex-direction: row; gap: 6px; }
  .main-nav { gap: 14px; }
  .feature-grid { flex-direction: column; gap: 18px; }
  .feature-item { width: 100%; min-width: unset; }
  .content-grid, .card-container { flex-direction: column; gap: 18px; }
  .card { width: 100%; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 22px; }
  .cta-section { padding: 34px 10px; }
  .contact-details { flex-direction: column; gap: 14px; }
  .faq-list { gap: 14px; }
  .faq-item { padding: 15px 12px 11px 12px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 13px; padding: 16px 10px; font-size: .99rem; }
  .cookie-banner-actions { flex-direction: row; gap: 9px; margin-top: 2px; }
  .cookie-modal { padding: 25px 6vw 24px 6vw; min-width: unset; }
}

@media (max-width: 500px) {
  .container { padding: 0 4px; }
  .header-container { padding-left: 5px; padding-right: 5px; }
  .header-container a img { max-width: 120px; height: 28px; }
  .feature-item { padding: 13px 10px; }
  .card { padding: 14px 5px; }
  .cta-section { padding: 19px 2px; }
  .cookie-modal { padding: 12px 3vw 12px 3vw; }
}

/* --------------------------------------------------------------------
  MISC. & AESTHETIC EFFECTS
-------------------------------------------------------------------- */
::-webkit-input-placeholder { color: #888; }
::-moz-placeholder { color: #888; }
:-ms-input-placeholder { color: #888; }
::placeholder { color: #888; }

hr {
  margin: 32px 0 32px 0;
  border: none;
  border-top: 1.5px solid #e6e6e6;
}

/* Custom scrollbar for monochrome effect */
body::-webkit-scrollbar {
  width: 8px;
  background: #f5f5f5;
}
body::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 4px;
}
body::-webkit-scrollbar-thumb:hover {
  background: #2E4053;
}

/* Selection color monochrome accent */
::selection {
  background: #BFAA81;
  color: #fff;
}

/* --------------------------------------------------------------------
  FOCUS STYLES FOR ACCESSIBILITY
-------------------------------------------------------------------- */
a:focus, button:focus, .btn:focus {
  outline: 2.5px solid #2E4053;
  outline-offset: 2px;
  z-index: 2;
  position: relative;
}

/* --------------------------------------------------------------------
  SOPHISTICATED SHADOWS & RADIUSES
-------------------------------------------------------------------- */
section, .card, .feature-item, .testimonial-card, .faq-item {
  border-radius: 12px;
}
.card, .feature-item, .faq-item, .testimonial-card {
  box-shadow: 0 2px 18px rgba(36,36,36,0.06);
}

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