/* ===================================================
   Rimpoineri Juwelenkunst - Tech Futuristic CSS Theme
   Brand: Modern, edel, warmer Goldakzent, zeitlos
   =================================================== */

/* --- CSS RESET & NORMALIZE --- */
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 {
  font-size: 16px;
  height: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #181A20;
  color: #F5ECD7;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  line-height: 1.66;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(135deg, #23252b 0%, #353535 60%, #222319 100%);
}
img {
  max-width: 100%;
  vertical-align: middle;
  display: block;
  border-radius: 4px;
}
a {
  color: #B3A369;
  text-decoration: none;
  transition: color 0.2s;
  outline: none;
}
a:hover, a:focus {
  color: #ffe483;
}
ul, ol {
  list-style: inside disc;
  margin: 16px 0 16px 24px;
}
li {
  margin-bottom: 8px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: #F5ECD7;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  line-height: 1.15;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 28px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}
h4 { font-size: 1.1rem; }

p {
  font-size: 1.08rem;
  margin-bottom: 20px;
  color: #f7efda;
  line-height: 1.8;
}
strong, b {
  color: #ffe483;
  font-weight: 700;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(34,35,41,0.77);
  border-radius: 22px;
  box-shadow: 0 2px 50px 0 rgba(179,163,105,0.05), 0 1.5px 8px rgba(80,60,10,0.05);
  position: relative;
}

/* --- FLEXBOX PATTERNS (MANDATORY) --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #23252b;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(179,163,105,.13);
  padding: 32px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px 0 #B3A36944, 0 1.5px 8px 0 #B3A36911;
  transform: translateY(-3px) scale(1.022);
  z-index: 1;
}
.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: center;
  gap: 20px;
  margin-bottom: 20px;
  padding: 20px 24px;
  background: #F5ECD7;
  color: #23252b;
  border-radius: 14px;
  box-shadow: 0 2px 12px #22231917;
  font-size: 1.07rem;
}
.testimonial-card p {
  color: #23252b;
  font-style: italic;
  margin-bottom: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- BRANDING & HEADER --- */
.branding img {
  height: 52px;
  width: auto;
  margin-right: 18px;
  margin-top: 2px;
}
header {
  background: rgba(34,35,41,0.97);
  border-bottom: 1px solid #423b22;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 16px 0 #22231907;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 80px;
  padding: 10px 20px;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  color: #F5ECD7;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 1.08rem;
  border-bottom: 2px solid transparent;
  padding: 5px 1px 3px 1px;
  transition: color 0.18s, border-bottom .17s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #ffe483;
  border-bottom: 2px solid #ffe483;
}

/* --- CTA BUTTONS --- */
.cta-button {
  background: linear-gradient(90deg, #B3A369 0%, #F5ECD7 100%);
  color: #23252b;
  border: none;
  border-radius: 28px;
  padding: 13px 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 18px 0 #ffe48327;
  cursor: pointer;
  margin-left: 10px;
  transition: background 0.16s, color 0.17s, box-shadow 0.17s, transform 0.15s;
  position: relative;
  z-index: 11;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #ffe483 0%, #B3A369 90%);
  color: #222319;
  box-shadow: 0 8px 24px 0 #ffe48345, 0 2px 14px #24241527;
  transform: translateY(-2px) scale(1.035);
}

/* --- FEATURE GRID (Index feature area) --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.feature-grid > div {
  background: #23252b;
  border-radius: 15px;
  padding: 28px 19px 20px 19px;
  box-shadow: 0 2.5px 12px 0 #B3A36913, 0 0.5px 2px #B3A36909;
  min-width: 240px;
  flex: 1 1 240px;
  max-width: 350px;
  transition: box-shadow 0.17s, transform 0.17s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.feature-grid > div:hover {
  box-shadow: 0 7px 28px 0 #ffe48342;
  transform: translateY(-5px) scale(1.035);
  z-index: 2;
}
.feature-grid img {
  max-height: 46px;
  margin-bottom: 14px;
}
.feature-grid h3 {
  margin-bottom: 7px;
  color: #ffe483;
  font-family: 'Playfair Display', serif;
  font-size: 1.23rem;
  font-weight: 700;
}
.feature-grid p {
  color: #f7efda;
  font-size: 1.06rem;
}

/* --- FOOTER --- */
footer {
  margin-top: 90px;
  padding: 42px 0 20px 0;
  background: #181A20;
  border-top: 1px solid #23252b;
  color: #F5ECD7;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #ffe483;
  font-size: 1.07rem;
  opacity: 0.92;
  transition: color .16s, text-shadow .17s;
  text-shadow: 0 1px 4px #B3A36918;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F5ECD7;
  text-shadow: 0 1px 9px #ffe48333,0 1px 1px #B3A36927;
}
.footer-brand img {
  height: 42px;
  margin-bottom: 2px;
  filter: drop-shadow(0 0 4px #ffe48336);
}
.footer-contact {
  color: #ffe483;
  font-size: 1.01rem;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.footer-contact a {
  color: #F5ECD7;
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  right: 22px;
  top: 20px;
  background: #222319;
  color: #ffe483;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2.1rem;
  z-index: 51;
  box-shadow: 0 2px 10px #B3A36933;
  transition: background 0.18s, color 0.2s, transform 0.16s;
  cursor: pointer;
  outline: none;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #ffe483;
  color: #23252b;
  transform: scale(1.08);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,26,32,0.98);
  z-index: 100;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.8,.04,.3,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 16px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #ffe483;
  font-size: 2.35rem;
  padding: 14px 18px;
  align-self: flex-end;
  margin-bottom: 10px;
  cursor: pointer;
  z-index: 101;
  transition: color 0.14s, background .14s, transform 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F5ECD7;
  background: #B3A36915;
  border-radius: 50%;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 36px 42px 16px 32px;
  gap: 19px;
}
.mobile-nav a {
  font-size: 1.35rem;
  color: #ffe483;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 14px 0;
  border-radius: 8px;
  background: none;
  transition: background 0.16s, color 0.17s;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #B3A36922;
  color: #F5ECD7;
}

/* --- RESPONSIVE QUERIES --- */
@media (max-width: 1050px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 850px) {
  .container {
    padding: 0 8px;
  }
  .main-nav {
    gap: 13px;
    font-size: 1.01rem;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-button {
    font-size: 1.06rem;
    padding: 10px 18px;
    margin-left: 0;
  }
  .section {
    padding: 26px 7px;
    margin-bottom: 38px;
    border-radius: 13px;
  }
  .card-container, .feature-grid, .content-grid,
  .footer-nav, .footer-contact {
    flex-direction: column;
    gap: 17px;
    align-items: stretch;
  }
  .feature-grid > div {
    min-width: unset;
    max-width: 100%;
    width: 100%;
    padding: 15px 11px 15px 12px;
  }
  .testimonial-card {
    font-size: 1.01rem;
    padding: 14px 9px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  footer {
    padding-top: 23px;
    margin-top: 36px;
  }
  .footer-brand img {
    height: 27px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.36rem; }
  h3 { font-size: 1.11rem; }
  .cta-button { font-size: 0.98rem; padding: 9px 14px; }
  .section { padding: 12px 3px; }
  .feature-grid > div { padding: 12px 6px 9px 7px; }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #23252b;
  padding: 32px 14px 25px 14px;
  box-shadow: 0 -4px 30px #231e1530;
  color: #ffe483;
  font-size: 1.08rem;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.47s cubic-bezier(.7,0,.3,1),opacity 0.2s;
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner[hidden], .cookie-banner.closed {
  pointer-events: none;
  opacity: 0;
  transform: translateY(120%);
}
.cookie-banner p {
  color: #ffe483;
  margin-bottom: 7px;
  text-align: center;
}
.cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 4px;
  justify-content: center;
}
.cookie-actions button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  border-radius: 32px;
  border: none;
  padding: 10px 22px;
  font-weight: 600;
  cursor: pointer;
  margin: 0 2px;
  box-shadow: 0 2px 9px #B3A36922;
  transition: background .14s, color .14s, box-shadow .14s;
}
.cookie-btn-accept {
  background: #B3A369;
  color: #222319;
}
.cookie-btn-reject {
  background: #353535;
  color: #ffe483;
  border: 1.5px solid #B3A369;
}
.cookie-btn-settings {
  background: #181A20;
  color: #ffe483;
  border: 1.5px solid #B3A36970;
}
.cookie-actions button:focus,
.cookie-actions button:hover {
  background: #ffe483;
  color: #1a1813;
  box-shadow: 0 6px 18px #ffe48338;
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  min-width: 90vw;
  max-width: 450px;
  background: #23252b;
  color: #ffe483;
  border-radius: 26px;
  transform: translate(-50%,-50%) scale(1);
  z-index: 180;
  box-shadow: 0 18px 42px #231e1530, 0 2px 12px #ffe48333;
  display: flex;
  flex-direction: column;
  padding: 44px 24px 30px 24px;
  opacity: 1;
  transition: opacity 0.37s, transform 0.4s cubic-bezier(.7,0,.3,1);
}
.cookie-modal.closed { opacity: 0; pointer-events: none; transform: translate(-50%,-50%) scale(0.85); }
.cookie-modal h2 {
  font-size: 1.44rem;
  color: #ffe483;
  margin-bottom: 20px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 22px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: flex-start;
  font-size: 1.02rem;
}
.cookie-category-label {
  flex: 1 1 70%;
}
.cookie-toggle {
  width: 46px;
  height: 22px;
  border-radius: 12px;
  background: #353535;
  position: relative;
  cursor: pointer;
  transition: background .18s;
  border: 1px solid #B3A36970;
  margin-left: 8px;
}
.cookie-toggle[data-on="true"] {
  background: #B3A369;
}
.cookie-toggle::after {
  content: '';
  display: block;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #ffe483;
  position: absolute;
  top: 1px;
  left: 1px;
  transition: left .17s, background .17s;
}
.cookie-toggle[data-on="true"]::after {
  left: 24px;
  background: #fff9e3;
}
.cookie-save-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal .cta-button {
  margin-left: 0;
}
.cookie-close-modal {
  background: none;
  border: none;
  color: #ffe483;
  font-size: 2rem;
  position: absolute;
  right: 24px;
  top: 19px;
  cursor: pointer;
  line-height: 1;
  z-index: 182;
  transition: color 0.14s, background 0.14s;
}
.cookie-close-modal:hover, .cookie-close-modal:focus {
  color: #F5ECD7;
  background: #B3A36915;
  border-radius: 50%;
}
@media (max-width: 550px) {
  .cookie-modal {
    min-width: 99vw; max-width: 99vw; padding: 20px 5px 17px 7px;
  }
}

/* --- INTERACTIONS, MICRO-ANIMATIONS --- */
button, [role=button] {
  cursor: pointer;
  outline: none;
}
button:focus, a:focus, .cta-button:focus {
  outline: 2px solid #ffe483;
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #cbba8b; }
::-moz-placeholder { color: #cbba8b; }
:-ms-input-placeholder { color: #cbba8b; }
::placeholder { color: #cbba8b; }

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 12px; background: #23252b; }
::-webkit-scrollbar-thumb { background: #B3A36990; border-radius: 7px; }
::-webkit-scrollbar-thumb:hover { background: #B3A369; }

/* --- NEON/TECH INSPIRED EFFECTS (subtle!) --- */
.cta-button, .feature-grid > div, .card, .testimonial-card {
  box-shadow: 0 2px 10px #B3A36926, 0 0px 14px #ffe48318;
}
.card:hover, .feature-grid > div:hover {
  box-shadow: 0 0 0 3px #ffe48333, 0 10px 32px #ffe48342;
}

/* --- MISC --- */
hr {
  border: none;
  border-top: 1.5px solid #B3A36933;
  margin: 28px 0;
}

/* --- PRINT --- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  .container, .section, body { background: white !important; color: #353535 !important; }
}
