/* ---------------------------------------------------
   CSS RESET & BASE STYLES
--------------------------------------------------- */
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,
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 {
  background: #101010;
  color: #ECECEC;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* better font rendering */
}
a {
  color: #ECECEC;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover, a:focus {
  color: #FFF;
  outline: none;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
img {
  max-width: 100%;
  display: block;
}
/* ---------------------------------------------------
   TYPOGRAPHY
--------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #FFF;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #FFF;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #ECECEC;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #ECECEC;
}
h4 {
  font-size: 1.1rem;
  color: #ECECEC;
}
h5, h6 {
  font-size: 1rem;
  color: #ECECEC;
}
p, li, address {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  color: #C1C1C1;
  font-size: 1rem;
  margin-bottom: 12px;
}
strong {
  color: #E6E6E6;
  font-weight: 700;
}
small {
  font-size: 0.92em;
}
blockquote {
  font-style: italic;
  border-left: 4px solid #444;
  margin: 20px 0;
  padding-left: 20px;
  color: #AAA;
}

/* Typography scale responsive */
@media (max-width:480px) {
  h1 {font-size:2rem;}
  h2 {font-size:1.35rem;}
  h3 {font-size:1.1rem;}
}

/* ---------------------------------------------------
   LAYOUT UTILITIES & CONTAINERS
--------------------------------------------------- */
.container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* Cards & Grids */
.card-container, .card-grid, .features-grid, .testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .feature-card, .testimonial-card, .faq-item {
  margin-bottom: 20px;
  background: #191919;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(0,0,0, 0.13);
  border: 1px solid #252525;
  transition: box-shadow 0.22s, border-color 0.22s, background 0.22s;
  position: relative;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #ECECEC;
  color: #191919;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  border: 1px solid #EDEDED;
  min-width: 220px;
  max-width: 400px;
  flex: 1 1 320px;
  transition: box-shadow 0.18s, border-color 0.22s;
}
.testimonial-card p {
  color: #2A2A2A;
  margin-bottom: 4px;
  font-size: 1.08rem;
  line-height: 1.7;
}
.testimonial-card span, .testimonial-card strong {
  color: #101010;
  font-size: 1rem;
}

.faqs-accordion {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex-direction: column;
}
.faq-item {
  padding: 18px 24px;
  background: #161616;
  color: #ECECEC;
  transition: background 0.19s, border 0.17s;
}
.faq-item h3 {
  font-size: 1.13rem;
  color: #EDEDED;
  margin-bottom: 6px;
}
.faq-item p {
  color: #B6B6B6;
  font-size: 0.99rem;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.feature-card {
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 250px;
  padding: 26px 18px 18px 18px;
  background: #181818;
  border-radius: 15px;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.13);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: background 0.19s, box-shadow 0.18s, scale 0.18s;
}
.feature-card img {
  height: 36px;
  width: 36px;
  margin-bottom: 5px;
  filter: grayscale(100%) contrast(1.15);
}
.feature-card h3 {
  font-size: 1.19rem;
  margin-bottom: 6px;
  color: #ECECEC;
}
.feature-card p {
  font-size: 0.99rem;
  color: #A8A8A8;
  margin-bottom: 0;
}
.feature-card:hover {
  box-shadow: 0 8px 34px 0 rgba(20,20,20, 0.16);
  background: #232323;
  scale: 1.032;
}

.card, .feature-card, .testimonial-card, .faq-item {
  min-width: 0;
}
/* ---------------------------------------------------
   HEADER & NAVIGATION
--------------------------------------------------- */
header {
  width: 100%;
  background: #121212;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.11);
  position: sticky;
  top: 0;
  z-index: 98;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0 18px 0;
  justify-content: flex-start;
  font-family: 'Montserrat', Arial, sans-serif;
}
.main-nav > a {
  color: #ECECEC;
  font-size: 1.09rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 7px;
  line-height: 1.5;
  transition: background 0.18s, color 0.18s;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 40px;
}
.main-nav > a.primary-cta {
  background: #FFF;
  color: #101010;
  font-weight: 700;
  border-radius: 24px;
  padding: 9px 26px;
  box-shadow: 0 2px 8px 0 rgba(25,25,25,0.09);
  transition: background 0.19s, color 0.19s, box-shadow 0.18s;
  margin-left: 12px;
  border: none;
}
.main-nav > a.primary-cta:hover, .main-nav > a.primary-cta:focus {
  background: #232323;
  color: #FFF;
  box-shadow: 0 3px 6px 0 rgba(0,0,0,0.17);
}
.main-nav > a:hover, .main-nav > a:focus {
  background: #232323;
  color: #FFF;
}
.main-nav img {
  height: 38px;
  margin-right: 2px;
  filter: brightness(1.15) saturate(1.0) grayscale(100%);
}
/* --------------------------------------------------
   MOBILE NAVIGATION
--------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 2.0rem;
  background: none;
  color: #ECECEC;
  border: none;
  cursor: pointer;
  z-index: 100;
  padding: 7px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #202020;
  color: #FFF;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(18,18,18,0.98);
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.34);
  z-index: 199;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(0.43,0.07,0.19,0.97);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #ECECEC;
  background: none;
  border: none;
  position: absolute;
  top: 24px;
  right: 28px;
  cursor: pointer;
  z-index: 200;
  padding: 5px 13px;
  border-radius: 8px;
  transition: background 0.18s, color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #232323;
  color: #FFF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 75px 35px 24px 38px;
}
.mobile-nav a {
  color: #ECECEC;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 500;
  padding: 14px 3px;
  border-radius: 10px;
  transition: background 0.16s, color 0.18s;
  width: 100%;
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #222;
  color: #FFF;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 12px; 
  }
}
@media (max-width: 900px) {
  .container {padding: 0 7px;}
  .main-nav {gap: 7px;}
}
@media (max-width: 860px) {
  .main-nav {
    gap: 4px;
    padding-left:3px;
  }
  .main-nav > a.primary-cta {margin-left: 4px;}
}
@media (max-width: 830px) {
  .main-nav > a {
    font-size: 0.95rem;
    min-height: 38px;
  }
  .main-nav img {height:32px;}
}
@media (max-width:770px) {
  .main-nav {gap:3px;}
  .main-nav > a {font-size:0.92rem;}
}
@media (max-width: 650px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* ---------------------------------------------------
   HERO SECTIONS & THEME ELEMENTS
--------------------------------------------------- */
section {
  width: 100%;
  box-sizing: border-box;
}
section:first-child {
  margin-top: 0;
}
.hero {
  background: #181818;
  border-radius: 24px;
  box-shadow: 0 4px 22px 0 rgba(0,0,0, 0.12);
}
.hero h1 {
  font-size: 2.75rem;
  color: #FFF;
}

/* ---------------------------------------------------
   BUTTONS & CTAs
--------------------------------------------------- */
.primary-cta,
.button, .cookie-btn {
  display: inline-block;
  border-radius: 22px;
  background: #FFF;
  color: #232323;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  padding: 10px 29px;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.10);
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.17s, box-shadow 0.16s, scale 0.1s;
  outline: none;
  letter-spacing: 0.03em;
}
.primary-cta:hover, .primary-cta:focus,
.button:hover, .button:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: #171717;
  color: #FFF;
  box-shadow: 0 3px 17px 0 rgba(0,0,0,0.19);
  scale:1.02;
}
.secondary-btn, .cookie-btn.secondary {
  background: #ECECEC;
  color: #232323;
  font-weight: 600;
  border-radius: 22px;
  padding: 10px 24px;
  border: none;
  margin-left: 9px;
  margin-right: 9px;
  transition: background 0.22s, color 0.15s, scale 0.1s;
}
.secondary-btn:hover, .cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #101010;
  color: #FFF;
  scale: 1.01;
}

/* ---------------------------------------------------
   FOOTER
--------------------------------------------------- */
footer {
  background: #151515;
  color: #A6A6A6;
  padding: 42px 0 18px 0;
  font-size: 1rem;
  box-shadow: 0 -4px 14px 0 rgba(0,0,0,0.10);
  z-index: 3;
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 0 8px 0;
}
.footer-info > a img {
  height: 44px;
  margin-bottom: 17px;
  filter: grayscale(100%) contrast(1.1);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: #C9C9C9;
  font-weight: 500;
  font-size: 1rem;
  padding: 2px 6px;
  border-radius: 6px;
  transition: background 0.17s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #222;
  color: #FFF;
}
address {
  font-style: normal;
  color: #A9A9A9;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
  font-size: 1rem;
}
address img {
  height: 16px;
  width: 16px;
  vertical-align: middle;
  margin-right: 5px;
  filter: grayscale(1) invert(0.6) contrast(1.15) brightness(1.2);
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-social a img {
  width: 26px;
  height: 26px;
  filter: grayscale(100%) contrast(1.3);
  transition: filter 0.19s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: grayscale(0%) contrast(1.7);
}

/* ---------------------------------------------------
   SPACING
--------------------------------------------------- */
@media (max-width: 1300px) {
  .container {max-width: 95vw;}
}
@media (max-width: 1150px) {
  .container {max-width: 98vw;}
}
@media (max-width:850px) {
 .footer-info {gap: 15px;}
}
@media (max-width:600px) {
  .footer-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ---------------------------------------------------
   RESPONSIVE FLEXBOX
--------------------------------------------------- */
@media (max-width: 900px) {
  .features-grid, .card-grid, .testimonials-grid, .content-grid, .card-container {
    gap: 17px;
  }
}
@media (max-width: 760px) {
  .features-grid, .card-grid, .testimonials-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .testimonial-card, .feature-card {max-width: 98vw;}
}
@media (max-width: 990px) {
  .container {max-width: 99vw;}
  .footer-info {gap:20px;}
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
}

/* Main responsive quickfixes (mobile-first) */
@media (max-width: 480px) {
  .section {
    padding: 20px 5px;
    margin-bottom: 32px;
  }
  .feature-card, .testimonial-card, .faq-item {
    padding: 11px 7px 10px 10px;
    min-width: 0;
    max-width: 100vw;
  }
}

/* ---------------------------------------------------
   INTERACTIONS & MICRO-ANIMATIONS
--------------------------------------------------- */
.feature-card, .testimonial-card, .faq-item, .primary-cta, .button {
  transition: box-shadow 0.22s, border-color 0.2s, background 0.20s, scale 0.19s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 24px 0 rgba(100,100,100, 0.09);
  background: #F6F6F6;
  border-color: #232323;
  scale:1.011;
}
.faq-item:hover, .faq-item:focus {
  background: #232323;
  border-color: #292929;
  scale:1.011;
}

/* ---------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
--------------------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: #1C1B1B;
  color: #ECECEC;
  box-shadow: 0 -4px 18px 0 rgba(0,0,0,.18);
  z-index: 1998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 8px 18px 8px;
  font-size: 1rem;
  animation: cookieIn 0.38s cubic-bezier(0.32,0.71,0.38,0.97);
}
@keyframes cookieIn {
  from {transform: translateY(110%);} to {transform: translateY(0);}
}
.cookie-consent-banner .cookie-btn {
  margin-left: 8px;
  margin-right: 6px;
  min-width: 115px;
  margin-top: 0;
  margin-bottom: 0;
}
.cookie-consent-banner .cookie-btn.settings {
  background: #ECECEC;
  color: #181818;
}
.cookie-consent-banner .cookie-btn.settings:hover, .cookie-consent-banner .cookie-btn.settings:focus {
  background: #111;
  color: #FFF;
}

@media (max-width:650px) {
  .cookie-consent-banner {flex-direction: column; align-items: flex-start;gap: 8px;width: 99vw;}
  .cookie-consent-banner .cookie-btn {margin-right:0; margin-left:0;}
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(0,0,0,0.44);
  z-index: 2999;
  display: none;
  align-items: center;
  justify-content: center;
  animation: cookieIn 0.32s cubic-bezier(0.47,0.2,0.41,0.98);
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #222;
  color: #ECECEC;
  border-radius: 20px;
  box-shadow: 0 8px 37px 0 rgba(0,0,0,0.22);
  padding: 30px 28px 21px 28px;
  max-width: 98vw;
  width: 345px;
  animation: cookieIn 0.29s cubic-bezier(0.47,0.2,0.41,0.98);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal h3 {
  color: #FFF;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom:6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
}
.cookie-category input[type='checkbox'], .cookie-category input[type='radio'] {
  accent-color: #FFF;
  background: #101010;
  border-radius: 5px;
}

.cookie-modal label {
  font-weight: 500;
  color: #ECECEC;
}
.cookie-modal .description {
  font-size: 0.99rem;
  color: #CFCFCF;
  margin-bottom: 13px;
  margin-top:2px;
}
.cookie-modal .cookie-btn {
  margin-top: 13px;
  margin-bottom: 3px;
  font-size: 1.06rem;
}
.cookie-modal .cookie-btn.close {
  background: #ECECEC;
  color: #161616;
  font-weight: 600;
}
.cookie-modal .cookie-btn.close:hover, .cookie-modal .cookie-btn.close:focus {
  background: #101010;
  color: #FFF;
}
.cookie-modal .category-fixed {
  color: #8fc18e;
  font-weight: 700;
  font-size:0.95em;
  margin-left:3px;
}

/* ---------------------------------------------------
   MONOCHROME SOPHISTICATION & BRAND ACCENTS
--------------------------------------------------- */
html, body {
  background: #101010;
}
::-webkit-scrollbar {
  width: 10px;
  background: #202020;
}
::-webkit-scrollbar-thumb {
  background: #181818;
  border-radius: 12px;
}

/* Accent color usage for elements when needed */
hr, .accent {
  border: none;
  height: 2px;
  background: #ECECEC;
  margin: 32px 0;
  border-radius: 2px;
}

/* Tabs & Misc (in case used) */
.tab, .pill {
  display: inline-block;
  background: #171717;
  color: #CACACA;
  border-radius: 15px;
  padding: 7px 16px;
  margin-right: 7px;
  font-size: 1rem;
}
.tab.active, .pill.active {
  background: #FFF;
  color: #191919;
}

/* ---------------------------------------------------
   FORMS (Kontakt page, generic styling)
--------------------------------------------------- */
input, textarea, select {
  background: #1A1A1A;
  color: #ECECEC;
  border: 1px solid #363636;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 15px;
  width: 100%;
  transition: border-color 0.18s, background 0.18s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #ECECEC;
  background: #222;
}
button, input[type=submit] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
}

/* ---------------------------------------------------
   PRINT & ACCESSIBILITY
--------------------------------------------------- */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay {display:none !important;}
  body {background:#fff !important; color: #111 !important;}
  section, .container {background: #fff !important; color: #111 !important;}
}

/* ---------------------------------------------------
   Z-INDEX LAYERING
--------------------------------------------------- */
header {z-index:98;}
.mobile-menu {z-index:199;}
footer {z-index:5;}
.main-nav, .mobile-menu-toggle, .mobile-menu-close {z-index: 200;}
.cookie-consent-banner, .cookie-modal-overlay, .cookie-modal {z-index:2998;}

/* ---------------------------------------------------
   END OF STYLE
--------------------------------------------------- */
