/*=========== CSS RESET & BASE ===========*/
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;
}

html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #263238;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}

img,svg { max-width:100%; height:auto; display: block; }
a { color: #263238; text-decoration: none; transition: color 0.2s; }
a:focus { outline: 2px solid #E3B354; outline-offset: 2px; }

body, button, input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #111;
  line-height:1.15;
  margin-bottom: .5em;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4, h5, h6 { font-size:1rem; }

ul, ol {
  padding-left: 1.2em;
  margin-bottom: 24px;
}
li { margin-bottom:8px; }
p { margin-bottom: 20px; }

/* Typography highlighting */
strong, b { font-weight: 700; color: #111; }

/*=========== LAYOUT & CONTAINER SYSTEM ===========*/
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.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: 16px;
  box-shadow: 0 2px 16px 0 rgba(38,50,56,.08), 0 1.5px 6px 0 rgba(0,0,0,.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  flex: 1 1 300px;
  border: 1px solid #eee;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 24px 20px 20px 20px;
}

/* Monochrome Card Image/Icon spacing */
.card img { margin-bottom: 10px; }

.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;
  background: #f8f8f9;
  border-radius: 14px;
  box-shadow: 0 1.5px 8px 0 rgba(0,0,0,0.06);
  border: 1px solid #e2e2e5;
  margin-bottom: 20px;
  transition: box-shadow .25s, border .25s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(38,50,56,.13);
  border: 1px solid #d8d8db;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 20px;
  margin-bottom: 0;
}
.features-grid > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1.5px 8px 0 rgba(38,50,56,.08);
  border: 1px solid #ebebeb;
  padding: 28px 22px;
  min-width: 240px;
  flex: 1 1 220px;
  transition: box-shadow .22s, border .22s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.features-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 15px;
  filter: grayscale(1) contrast(1.2);
}
.features-grid > div:hover {
  box-shadow: 0 8px 32px 0 rgba(38,50,56,.17);
  border: 1px solid #cacaca;
}

.team-list,
.usecase-list,
.faq-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.team-list > div, 
.usecase-list > div, 
.faq-list > div {
  background: #f6f6f7;
  border-radius: 12px;
  border: 1px solid #f1f1f1;
  box-shadow: 0 1px 5px 0 rgba(0,0,0,0.05);
  padding: 24px 18px;
  flex: 1 1 212px;
  min-width: 180px;
  transition: box-shadow .17s, border .17s;
}
.team-list > div:hover,
.usecase-list > div:hover,
.faq-list > div:hover {
  box-shadow: 0 4px 16px 0 rgba(38,50,56,.10);
  border: 1px solid #ccc;
}

/*=========== HEADER, NAV, & FOOTER ===========*/
header {
  width:100%;
  background: #fff;
  box-shadow: 0 4px 24px 0 rgba(38,50,56,.06);
  position: sticky;
  top: 0;
  z-index: 20;
}

header nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #263238;
  border-radius: 8px;
  padding: 7px 15px;
  transition: background .18s, color .18s;
}
header nav a:hover, header nav a:focus {
  background: #263238;
  color: #fff;
}
header nav img {
  height: 34px;
  width: auto;
  padding-right: 8px;
  margin-right: 7px;
}

.primary-cta {
  background: #263238;
  color: #fff !important;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 21px;
  box-shadow: 0 2px 12px 0 rgba(38,50,56,.10);
  border: 1.5px solid #263238;
  margin-left: 10px;
  transition: background .20s, color .20s, box-shadow .20s, border .18s;
  letter-spacing:0.03em;
}
.primary-cta:hover, .primary-cta:focus {
  background: #fff;
  color: #263238 !important;
  border: 1.5px solid #E3B354;
  box-shadow: 0 4px 19px 0 rgba(227,179,84,.08);
}
.secondary-cta {
  background: transparent;
  color: #263238;
  font-family: 'Montserrat', Arial, sans-serif;
  border: 1.5px solid #263238;
  border-radius: 8px;
  font-weight: 700;
  padding: 10px 21px;
  transition: background .18s, color .18s, border .18s;
  margin-top: 10px;
  display:inline-block;
}
.secondary-cta:hover, .secondary-cta:focus {
  background: #263238;
  color: #fff;
  border: 1.5px solid #263238;
}

footer {
  background: #111;
  color: #f5f5f5;
  padding: 32px 0;
  letter-spacing:0.01em;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer nav a {
  color: #e6e6e6;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color .2s;
  padding: 5px 7px;
  border-radius: 6px;
}
footer nav a:hover, footer nav a:focus { color: #E3B354; background: #232323;}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #A6A6A6;
  font-size: .95rem;
  letter-spacing: .01em;
}

/*=========== HERO & SECTION HEADINGS ===========*/
section h1, section h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  color: #111;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}
section h2 {
  font-size: 2rem;
  color: #263238;
  margin-bottom: 12px;
}
section h3 {
  font-size: 1.12rem;
  color: #263238;
  margin-bottom: 6px;
}

.text-section h3 {
  font-size:1.08rem;
  color:#232323;
}

.text-section ul,
.text-section ol {
  margin-bottom: 16px;
}

.text-section ul li {
  padding-left:0;
}

/* SECTION GENERAL */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

section:last-child {
  margin-bottom:0;
}

/*=========== BUTTONS ===========*/
button, .primary-cta, .secondary-cta, .cookie-btn {
  border: none; cursor: pointer; font-family: 'Montserrat', Arial, sans-serif; font-weight: 600; outline: none;
}
button:focus,
.primary-cta:focus,
.secondary-cta:focus { outline: 2px solid #E3B354; outline-offset:2px; }



/*=========== TESTIMONIAL SLIDER ===========*/
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 20px;
}
.testimonial-slider .testimonial-card {
  min-width: 260px;
  flex: 1 1 270px;
}
.testimonial-card p {
  color: #1b1b1b;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 8px;
  font-style: italic;
}
.testimonial-card span {
  color: #555;
  font-size: .98rem;
  font-style: normal;
  font-family: 'Roboto', sans-serif;
  letter-spacing: .01em;
}

/* FAQs and Usecases Cards */
.faq-list, .usecase-list {
  margin-bottom: 10px;
}
.faq-list > div, .usecase-list > div {
  display:flex; flex-direction:column;
}
.faq-list h3, .usecase-list h3 {
  font-family:'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
}


/*=========== CONTACT PREVIEW ===========*/
.contact-preview {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-preview ul {
  margin-bottom: 12px; margin-top: 7px;
}
.contact-preview li {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom:7px;
}
.contact-preview img {
  width: 22px;
  height: 22px;
  filter: grayscale(1) opacity(.88);
}

/*=========== RESPONSIVE DESIGN ===========*/
@media (max-width: 1200px) {
  .container    { max-width: 980px; }
  .features-grid > div,
  .testimonial-slider .testimonial-card,
  .team-list > div, .usecase-list > div, .faq-list > div { min-width: 160px; }
}
@media (max-width: 980px) {
  .container    { max-width: 760px; }
  .features-grid, .testimonial-slider, .team-list, .usecase-list, .faq-list, .card-container { gap: 16px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .container { padding-left: 10px; padding-right: 10px; }
  section, .section { padding: 28px 0; margin-bottom: 42px; }
  .content-grid, .features-grid, .testimonial-slider, .team-list, .faq-list, .usecase-list, .card-container { flex-direction: column; gap: 14px; }
  footer .container { flex-direction: column; gap: 13px; align-items: flex-start; }
  .text-image-section { flex-direction: column !important; gap: 20px; }
  header nav { flex-wrap: wrap; gap: 10px; padding: 13px 7px 13px 7px; }
}
@media (max-width: 512px) {
  .container { max-width:98vw; padding-left:6px; padding-right:6px; }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.11rem; }
  .features-grid > div, .testimonial-card, .team-list > div, .usecase-list > div, .faq-list > div {
    min-width: 120px;
    padding: 13px 10px;
  }
  .primary-cta, .secondary-cta, .cookie-btn  { font-size: 0.97rem; padding: 7px 13px; }
  header nav a { padding: 5px 6px; font-size:.99rem; }
}

/*=========== MOBILE NAV / BURGER MENU ===========*/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #263238;
  font-size: 2rem;
  padding: 6px 13px;
  cursor: pointer;
  z-index: 101;
  transition: color 0.15s;
}
.mobile-menu-toggle:focus { color: #E3B354; }

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17,17,17,.97);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 0 0;
  z-index: 100;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.57,.21,.69,1.25);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  position: absolute;
  top: 17px;
  right: 22px;
  cursor: pointer;
  z-index: 102;
  padding: 7px 15px;
  transition: color 0.18s;
}
.mobile-menu-close:focus { color: #E3B354; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 75px 0 0 27px;
  width: 100vw;
}
.mobile-nav a {
  color: #fff;
  font-weight: 500;
  font-size: 1.18rem;
  padding: 7px 13px;
  border-radius: 7px;
  width: max-content;
  background: none;
  transition: background .16s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #363636;
  color: #E3B354;
}

@media (max-width: 900px) {
  header nav { display: none !important; }
  .mobile-menu-toggle { display: inline-block; }
}
@media (min-width: 901px) {
  .mobile-menu,.mobile-menu-toggle { display: none !important; }
  header nav { display: flex; }
}

/* Ensure mobile menu covers full screen and overlays everything */
.mobile-menu { box-shadow: 0 4px 32px 0 rgba(0,0,0,.7); }

/*=========== COOKIE CONSENT BANNER ===========*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(38,50,56,0.98);
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 24px;
  box-shadow: 0 -6px 24px rgba(17,17,17,.14);
  z-index: 2000;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookie-fade-in .58s cubic-bezier(.48,.76,.42,1.01);
  min-height: 60px;
}
@keyframes cookie-fade-in {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1;
  color: #fff;
  margin-bottom: 0;
  font-size: 1rem;
  padding-right: 18px;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 7px;
  border: none;
  padding: 9px 20px;
  background: #f9f9f9;
  color: #263238;
  transition: background 0.16s, color 0.16s, border 0.12s;
  cursor: pointer;
  font-size: 1rem;
  margin-left: 1px;
  outline: none;
  box-shadow: 0 1px 7px 0 rgba(0,0,0,.03);
}
.cookie-btn:active {
  background: #E3B354;
  color: #1d1d1d;
}
.cookie-btn.accept {
  background:#263238;
  color: #fff;
  border: 1.5px solid #263238;
}
.cookie-btn.accept:hover { background: #E3B354; color: #111; border:1.5px solid #E3B354; }
.cookie-btn.reject {
  background: #fff;
  color: #263238;
  border: 1.5px solid #263238;
}
.cookie-btn.reject:hover { background: #E3B354; color: #111; border:1.5px solid #E3B354; }
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}
.cookie-btn.settings:hover { background: #E3B354; color: #111; border:1.5px solid #E3B354; }

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 10px;
    gap: 11px;
    font-size: .98rem;
  }
  .cookie-banner .cookie-btn-group {gap:8px; justify-content:flex-end;}
}


/* Cookie Consent Modal */
.cookie-modal-backdrop {
  position:fixed; inset:0; background:rgba(38,50,56,0.81); z-index:2100;
  opacity:0; pointer-events:none;
  transition: opacity 0.22s;
}
.cookie-modal-backdrop.active { opacity:1; pointer-events:auto; }
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(0.98);
  background: #fff;
  color: #263238;
  border-radius: 12px;
  box-shadow: 0 11px 44px 0 rgba(38,50,56,.19);
  z-index: 2200;
  min-width:320px; max-width:95vw;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 35px 22px 24px 22px;
  gap:18px;
  animation: cookie-modal-in .4s cubic-bezier(.44,.79,.41,1.01);
  opacity:1;
}
@keyframes cookie-modal-in {
  from { transform: translate(-50%,-35%) scale(.96); opacity:0; }
  to   { transform: translate(-50%,-50%) scale(1); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.32rem;
  color: #263238;
  margin-bottom: 5px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-category {
  display: flex; flex-direction: row; align-items: center; gap: 13px;
  margin-bottom: 13px;
}
.cookie-category input[type=checkbox], .cookie-category input[type=radio] {
  accent-color: #E3B354;
}
.cookie-modal .cookie-category label {
  font-size: 1.06rem; color: #263238;
}
.cookie-modal .cookie-category .always-on {
  color: #A6A6A6; font-size: 0.93rem;
  font-style: italic;
  margin-left: 3px;
}
.cookie-modal .cookie-btn-group {
  margin-top: 11px;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px; right: 14px;
  background: none; border: none; color: #A6A6A6; font-size: 1.7rem; cursor:pointer;
  transition: color 0.14s;
}
.cookie-modal .close-modal:hover { color: #263238; }

@media (max-width: 420px) {
  .cookie-modal { min-width: 90vw; padding: 15px 3vw 10px 3vw; }
  .cookie-modal h2 {font-size:1.05rem;}
  .cookie-modal .cookie-category label {font-size:1rem;}
}

/* Animations for Banner/Modal out (for JS) */
.cookie-banner.hide { animation: cookie-fade-out .5s forwards; }
@keyframes cookie-fade-out { to { opacity:0; transform: translateY(54px);} }
.cookie-modal.hide { animation: cookie-modal-out .38s forwards; }
@keyframes cookie-modal-out { to { opacity: 0; transform: translate(-50%,-42%) scale(.98); } }

/*=========== MICRO-INTERACTIONS & HOVER EFFECTS ===========*/
a, button, .primary-cta, .secondary-cta, .cookie-btn {
  transition: color 0.16s, background 0.16s, border 0.16s, box-shadow 0.17s;
}

.section, .content-wrapper, .features-grid, .testimonial-slider, .card-container, .team-list, .faq-list, .usecase-list {
  gap: 20px;
}

/* CRITICAL: Prevent all overlap via spacing */
section, .section, .card, .testimonial-card, .features-grid > div, .team-list > div,
.usecase-list > div, .faq-list > div, .card-container > .card {
  margin-bottom: 20px;
}
section:last-child, .section:last-child { margin-bottom:0; }

/* CRITICAL: Button & touch diversity */
button, .primary-cta, .secondary-cta, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close  {
  -webkit-tap-highlight-color:rgba(38,50,56,.11);
}

/* Hide scrollbars in modal and mobile menu for visual polish */
.mobile-menu, .cookie-modal { scrollbar-width: thin; }
.mobile-menu::-webkit-scrollbar, .cookie-modal::-webkit-scrollbar { height: .7em; background:transparent; width:.7em; }
.mobile-menu::-webkit-scrollbar-thumb, .cookie-modal::-webkit-scrollbar-thumb { background: #aaa; border-radius:8px; }

/*============ MONOCHROME SOPHISTICATED STYLE OVERRIDES ============*/
/* Ensure no radiance/gradient or colored backgrounds, all is monochrome plus golden accent */
.btn-accent, .accent-text { color: #E3B354 !important; }
.btn-accent-bg { background: #E3B354 !important; color: #111 !important; }

.features-grid img, .team-list img, .usecase-list img, .contact-preview img {
  filter: grayscale(1) contrast(1.05) brightness(1.02);
}

/* Discrete accent for underlines/blocks */
h2:not(:first-child):after, h3:not(:first-child):after {
  content:''; display:block; width:34px; height:3px; background: #E3B354; margin-top:8px; border-radius:2px;
}

@media (max-width: 768px) {
  h2:not(:first-child):after { width:21px; height:2.5px; margin-top:6px;}
  h3:not(:first-child):after { width:15px; height:2px; margin-top:5px;}
}

/* =========== FORMS (for kontakt.html and future proofing) ========== */
input, textarea, select {
  background: #fff;
  border: 1.5px solid #dbdbdb;
  border-radius: 7px;
  padding: 12px;
  font-size: 1rem;
  color: #263238;
  width: 100%;
  margin-bottom: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  transition: border .16s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #E3B354;
  outline: none;
}
label { font-family: 'Montserrat', Arial, sans-serif; display:block; margin-bottom:7px;}

/* ========== ACCESSIBILITY ENHANCEMENT ========== */
::selection {
  background: #E3B354;
  color: #fff;
}

[tabindex]:focus {
  outline: 2px solid #E3B354 !important;
  outline-offset: 2px;
}

/* Hide visually but keep accessible (for a11y elements/toggle) */
.sr-only {
  border: 0 !important; clip: rect(0 0 0 0) !important;
  height: 1px !important; margin: -1px !important;
  overflow: hidden !important; padding: 0 !important;
  position: absolute !important; width: 1px !important;
}

/* ========== RE-ENFORCED NO GRID COLUMN ALLOWED ========== */
/* THEME NEVER uses display:grid or column-* properties. All containers use flexbox only. */
