/* ======= CSS RESET & BASE STYLES ======= */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #fff;
  color: #111;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
  transition: background 0.3s, color 0.3s;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #073763;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1a1a1a;
}
ul, ol {
  margin: 0 0 1.5em 1.2em;
  padding-left: 1.4em;
}
li {
  margin-bottom: 0.5em;
  font-size: 1em;
}
strong {
  font-weight: 600;
}
blockquote {
  font-style: italic;
  color: #222;
  border-left: 4px solid #444;
  margin: 1.5em 0;
  padding: 0 1em;
}

/* ======= TYPOGRAPHY ======= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.01em;
  line-height: 1.11;
  margin-bottom: 0.66em;
}
h1 {
  font-size: 2.75rem;
  margin-top: 0;
  margin-bottom: 0.7em;
  color: #000;
  text-shadow: 0 2px 14px rgba(40,40,40,0.06);
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.7em;
  color: #151515;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4em;
  font-weight: 600;
}
p {
  margin-bottom: 1.1em;
  color: #232323;
  font-size: 1.08em;
  letter-spacing: 0.005em;
}

.text-section {
  align-items: flex-start;
  max-width: 680px;
}

/* ======= CONTAINER ======= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

/* ======= HEADER & NAV ======= */
header {
  background: #fff;
  box-shadow: 0 2px 24px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 14px 16px 14px 16px;
}
header a img {
  height: 48px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05em;
  color: #222;
  padding: 6px 8px;
  border-radius: 4px;
  transition: color 0.18s, background 0.18s;
  position: relative;
}
nav a:hover, nav a:focus {
  background: #eee;
  color: #073763;
}
nav .btn-primary {
  font-weight: 600;
  background: #000;
  color: #fff !important;
  border-radius: 22px;
  padding: 8px 28px;
  margin-left: 16px;
  transition: background 0.24s, box-shadow 0.24s;
  box-shadow: 0 2px 12px rgba(40,40,40,0.04);
  border: none;
}
nav .btn-primary:hover, nav .btn-primary:focus {
  background: #073763;
  color: #FFD966 !important;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #111;
  margin-left: 24px;
  transition: color 0.2s;
  z-index: 120;
}
.mobile-menu-toggle:focus {
  outline: none;
  color: #073763;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  min-height: 100vh;
  width: 100vw;
  background: rgba(22,22,22,0.98);
  z-index: 200;
  transform: translateX(-104vw);
  transition: transform 0.5s cubic-bezier(.35,1.31,.49,.7);
  box-shadow: 8px 0 48px 0 rgba(0,0,0,0.26);
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  animation: slideInMenu 0.4s cubic-bezier(.4,2,.6,1) 1;
}
@keyframes slideInMenu {
  from {transform: translateX(-104vw) }
  to {  transform: translateX(0) }
}
.mobile-menu-close {
  background: none;
  color: #FFD966;
  font-size: 2.2rem;
  border: none;
  align-self: flex-end;
  margin: 32px 30px 8px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  margin: 32px auto 0 auto;
  width: 88vw;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3em;
  font-weight: 500;
  padding: 16px 8px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #222;
  color: #FFD966;
}

@media (max-width: 1024px) {
  nav {
    gap: 18px;
  }
  header .container {
    gap: 18px;
  }
}

@media (max-width: 900px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  header .container {
    padding: 8px 8px 8px 8px;
  }
}

/* ======= LAYOUT FLEX COMPONENTS ======= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 24px rgba(60,60,60,0.07);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 40px rgba(0,0,0,0.15);
  transform: translateY(-2px) scale(1.015);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding: 20px 30px;
  background: #fafbfb;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(60,60,60,0.04);
  max-width: 630px;
  color: #232323;
}
.testimonial-card blockquote {
  color: #000;
  font-size: 1.11em;
  border: none;
  margin: 0;
  padding: 0;
}
.testimonial-card div {
  font-size: 0.93em;
  color: #252525;
  margin-bottom: 0;
  font-weight: 500;
  font-style: normal;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.section ul, .section ol {
  margin: 0 0 0.7em 1.3em;
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.team-member-profile {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 10px rgba(35,35,35,0.09);
  padding: 18px 22px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-cards, .blog-listings, .product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin: 0 0 24px 0;
}
.product-card, .product-spec, .blog-post {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(80,80,80,0.07);
  padding: 22px 20px 24px 22px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.16s, transform 0.14s;
}
.product-card:hover, .product-spec:hover, .blog-post:hover {
  box-shadow: 0 4px 22px rgba(30,30,30,0.13);
  transform: translateY(-2px) scale(1.012);
}
.product-spec ul, .blog-post ul {
  margin-bottom: 10px;
}
.blog-listings {
  margin-bottom: 24px;
}

.faq {
  background: #f4f5f7;
  border-radius: 9px;
  padding: 16px 22px;
  margin-top: 14px;
  color: #191919;
  box-shadow: 0 1px 7px rgba(70,70,70,0.06);
}
.privacy-note {
  background: #ededed;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.97em;
  margin-top: 24px;
  color: #202020;
}

/* Universal List Image Alignment */
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 13px;
}
ul li img, ol li img {
  width: 27px;
  height: 27px;
  flex-shrink: 0;
}

/* ======= BUTTONS ======= */
.btn-primary, a.btn-primary, button.btn-primary {
  background: #111;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.12em;
  border: none;
  border-radius: 22px;
  padding: 10px 38px;
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(30,30,30,0.14);
  margin-top: 12px;
  margin-bottom: 2px;
  display: inline-block;
  outline: none !important;
  transition: background 0.21s, color 0.2s, box-shadow 0.19s, transform 0.18s;
  letter-spacing: 0.03em;
}
.btn-primary:hover, .btn-primary:focus {
  background: #073763;
  color: #FFD966 !important;
  transform: scale(1.03) translateY(-2px);
  box-shadow: 0 4px 22px rgba(30,30,30,0.26);
}

/* Small secondary ghost button */
.btn-secondary, .cookie-banner .btn-secondary {
  background: transparent;
  color: #073763;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  border: 1px solid #444;
  border-radius: 22px;
  padding: 8px 26px;
  cursor: pointer;
  margin-left: 14px;
  transition: border 0.22s, background 0.2s, color 0.2s;
  outline: none !important;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #111;
  color: #FFD966;
  border: 1px solid #111;
}

.btn-neutral, .cookie-banner .btn-neutral {
  background: #fff;
  color: #111;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 22px;
  padding: 8px 21px;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.19s, color 0.17s;
}
.btn-neutral:hover, .btn-neutral:focus {
  background: #eee;
  color: #073763;
}

/* ======= FOOTER ======= */
footer {
  background: #1d1d1d;
  color: #fff;
  padding: 40px 0 14px 0;
  font-size: 0.97em;
  box-shadow: 0 -2px 22px rgba(14,14,14,0.07);
  margin-top: 34px;
}
footer .container {
  padding-top: 0;
  padding-bottom: 0;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
footer img {
  max-width: 112px;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
footer nav a {
  color: #fff;
  opacity: 0.86;
  font-weight: 400;
  padding: 0;
  border-radius: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  transition: color 0.18s, opacity 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: #FFD966;
  opacity: 1;
  background: none;
}
footer p {
  margin-bottom: 8px;
  color: #edeef0;
  font-size: 1em;
}
footer div {
  line-height: 1.6;
}
footer br {
  line-height: 1em;
}
footer .content-wrapper > div {
  min-width: 200px;
  flex: 1 1 200px;
}
footer img[alt^="Spark Sage"] {
  margin-bottom: 7px;
}
footer img[alt^="Telefon"],
footer img[alt^="E-mail"],
footer img[alt^="Adres"] {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 6px;
}

@media (max-width: 930px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    padding: 0 0 0 0;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  footer .content-wrapper > div {
    min-width: 120px;
  }
}

/* ======= COOKIE CONSENT BANNER ======= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 3000;
  background: #161616;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 18px;
  box-shadow: 0 -2px 30px rgba(18,18,18,0.21);
  font-size: 1.13em;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(.4,2,.6,1), opacity 0.3s;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
}
.cookie-banner__text {
  max-width: 670px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-banner .btn-primary {
  background: #FFD966;
  color: #111 !important;
  box-shadow: none;
  font-weight: 600;
  border-radius: 22px;
}
.cookie-banner .btn-primary:hover {
  background: #fff5c1;
  color: #222 !important;
}
.cookie-banner .btn-secondary {
  background: none;
  color: #FFD966;
  border: 1px solid #FFD966;
}
.cookie-banner .btn-secondary:hover {
  background: #FFD966;
  color: #222;
}
.cookie-banner .btn-neutral {
  color: #fff;
  background: #2c2c2c;
  border: 1px solid #454545;
}
.cookie-banner .btn-neutral:hover {
  background: #575757;
  color: #FFD966;
}

@media (max-width: 800px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 23px 14px;
    gap: 17px;
  }
}

/* ======= COOKIE MODAL ======= */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  min-height: 100vh;
  width: 100vw;
  background: rgba(0,0,0,0.63);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.27s;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal__content {
  background: #fff;
  color: #161616;
  border-radius: 22px;
  max-width: 390px;
  width: 93vw;
  padding: 36px 30px 24px 30px;
  box-shadow: 0 4px 44px rgba(22,22,22,0.19);
  animation: fadeInModal 0.32s cubic-bezier(.6,2,.8,1);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(64px) scale(0.97)}
  to   { opacity: 1; transform: translateY(0) scale(1)}
}
.cookie-modal__content h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.42em;
  margin-bottom: 17px;
}
.cookie-modal__setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 1.04em;
}
.cookie-modal__setting label {
  font-weight: 500;
  color: #181818;
}
.cookie-modal__setting input[type='checkbox'] {
  accent-color: #073763;
  width: 22px;
  height: 22px;
  margin-right: 0;
  cursor: pointer;
}
.cookie-modal__setting input[disabled] {
  accent-color: #ccc;
  pointer-events: none;
}
.cookie-modal__actions {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.cookie-modal__close {
  position: absolute;
  right: 19px;
  top: 19px;
  background: none;
  border: none;
  font-size: 2em;
  color: #444;
  cursor: pointer;
  padding: 0;
}
.cookie-modal__close:hover {
  color: #073763;
}

/* ======= RESPONSIVE ADJUSTMENTS ======= */
@media (max-width: 768px) {
  .content-wrapper {
    gap: 20px;
  }
  .section {
    padding: 30px 8px;
    margin-bottom: 32px;
  }
  .text-image-section, .content-grid, .team-members, .product-cards, .product-grid, .card-container, .blog-listings {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: stretch !important;
  }
  .testimonial-card {
    padding: 14px 11px;
    font-size: 0.99em;
  }
  .team-member-profile, .product-card, .product-spec, .blog-post {
    min-width: 0;
    padding: 16px 11px;
  }
}

/* ======= MONOCHROME SOPHISTICATED FLAVOR ======= */
body, .section {
  background: #fff;
}
.card, .card *, .team-member-profile, .product-card, .product-spec, .blog-post {
  background: #fff;
  color: #15181a;
}
.card, .product-card, .product-spec, .blog-post, .testimonial-card, .team-member-profile {
  border-radius: 12px;
  box-shadow: 0 2px 18px rgba(22,22,22,0.09);
}
.section, .content-wrapper {
  background: none;
}
.section h2 {
  color: #090b0d;
  border-left: 4px solid #222;
  padding-left: 12px;
}
hr {
  border: none;
  height: 1px;
  background: #e3e3e3;
  margin: 44px 0;
}

/* Subtle shadows for hierarchy */
.text-section, .faq, .privacy-note, .card, .testimonial-card, .team-member-profile {
  box-shadow: 0 1.5px 14px rgba(40,40,40,0.045);
}

/* ======= FOCUS STATE ======= */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus, input:focus {
  outline: 2px solid #073763;
  outline-offset: 2px;
}

/* ======= UTILITY CLASSES ======= */
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 32px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }

/****** END CSS ******/
