/* ==========================================================================
   Lucky Kiosk – Haupt-Stylesheet
   Lokale Schriften (Archivo, Material Symbols Rounded), Layout-Helfer,
   Responsive-Breakpoints und Hover-Zustände.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Schriften – lokal eingebunden (ersetzt Google Fonts CDN)
   Archivo ist ein Variable Font; eine Datei deckt alle Gewichte (400–800) ab.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Material Symbols Rounded';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/material-symbols-rounded.woff2') format('woff2');
}

/* Icon-Helfer – ersetzt die Inline-Font-Family-Angaben der Material Symbols */
.msr {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  /* FILL=1/wght=400/GRAD=0 sind in der subgesetzten Schrift fest eingebacken;
     nur opsz bleibt variabel. */
  font-variation-settings: 'opsz' 24;
}

/* --------------------------------------------------------------------------
   Basis
   -------------------------------------------------------------------------- */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #FAFAF8;
  font-family: 'Archivo', Helvetica, Arial, sans-serif;
  color: #1D1D1B;
  line-height: 1.55;
}
::selection { background: #C4DFD0; }

/* Bilder mit width/height-Attributen: Höhe aus dem Seitenverhältnis ableiten,
   damit der Höhen-Presentational-Hint die aspect-ratio nicht überschreibt. */
img { height: auto; }

/* Scroll-Reveal (wird per JS aktiviert) */
.rv { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv.rv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}

button[disabled] { opacity: 0.6; cursor: progress !important; }

/* --------------------------------------------------------------------------
   Reviews-Laufband
   -------------------------------------------------------------------------- */
@keyframes reviews-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@keyframes reviews-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.lk-reviews-track { display: block; will-change: transform; }
.lk-col-1 .lk-reviews-track { animation: reviews-down 110s linear infinite; }
.lk-col-2 .lk-reviews-track { animation: reviews-up 120s linear infinite; }
.lk-col-3 .lk-reviews-track { animation: reviews-down 100s linear infinite; }

/* --------------------------------------------------------------------------
   Mobiles Navigations-Overlay (Burger-Menü)
   -------------------------------------------------------------------------- */
.lk-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(250, 250, 248, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  overflow-y: auto;
}
.lk-nav-overlay.open { opacity: 1; visibility: visible; }

.lk-nav-link {
  color: #1D1D1B;
  text-decoration: none;
  font-weight: 400;
  font-size: clamp(34px, 6vw, 46px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.lk-nav-overlay.open .lk-nav-link { opacity: 1; transform: none; }
.lk-nav-overlay.open .lk-nav-link:nth-child(1) { transition-delay: 0.12s; }
.lk-nav-overlay.open .lk-nav-link:nth-child(2) { transition-delay: 0.19s; }
.lk-nav-overlay.open .lk-nav-link:nth-child(3) { transition-delay: 0.26s; }
.lk-nav-overlay.open .lk-nav-link:nth-child(4) { transition-delay: 0.33s; }
.lk-nav-overlay.open .lk-nav-link:nth-child(5) { transition-delay: 0.40s; }
.lk-nav-link:hover { color: #006633; }

/* Burger-Icon */
.lk-burger { width: 44px; height: 44px; border: none; background: transparent; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.lk-burger span { display: block; width: 24px; height: 2px; background: #1D1D1B; border-radius: 2px; transition: transform 0.3s ease, opacity 0.25s ease; }
.lk-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lk-burger.open span:nth-child(2) { opacity: 0; }
.lk-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero-Slider
   -------------------------------------------------------------------------- */
.lk-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 1.2s ease; }
.lk-slide.active { opacity: 1; }
.lk-dot { width: 9px; height: 9px; border-radius: 999px; border: none; padding: 0; cursor: pointer; transition: background 0.3s ease; background: rgba(255, 255, 255, 0.45); }
.lk-dot.active { background: #FFFFFF; }

/* --------------------------------------------------------------------------
   Hover-Zustände (ersetzen die frühere style-hover-Funktion der Runtime)
   -------------------------------------------------------------------------- */
/* !important, da die Elemente ihre Basisfarben als Inline-Style tragen und
   Inline-Styles sonst die :hover-Regeln überschreiben würden. */
.lk-call:hover { background: #004D26 !important; }
.lk-btn-primary:hover { background: #004D26 !important; }
.lk-btn-outline:hover { background: #1D1D1B !important; color: #FFFFFF !important; }
.lk-service:hover { border-color: #006633 !important; }
.lk-ds-link:hover { color: #004D26 !important; }
.lk-reviews-cta:hover { background: #006633 !important; border-color: #006633 !important; }
.lk-footer-link:hover { color: #008740 !important; }

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   Mobil < 640, Tablet 640–1023, Desktop >= 1024 (Desktop = Inline-Styles)
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .lk-hero { grid-template-columns: 1fr !important; gap: 36px !important; }
  .lk-h1 { font-size: 42px !important; }
  .lk-grid3 { grid-template-columns: repeat(2, 1fr) !important; }
  .lk-reviews { grid-template-columns: repeat(2, 1fr) !important; }
  .lk-col-3 { display: none !important; }
  .lk-feat { gap: 28px !important; }
}
@media (max-width: 639px) {
  .lk-section { padding: 48px 20px !important; }
  .lk-hero { padding: 40px 20px !important; gap: 28px !important; }
  .lk-h1 { font-size: 33px !important; }
  .lk-h2 { font-size: 27px !important; }
  .lk-h3 { font-size: 21px !important; }
  .lk-grid3 { grid-template-columns: 1fr !important; }
  .lk-feat { grid-template-columns: 1fr !important; }
  .lk-feat > img { order: -1; }
  .lk-steps { grid-template-columns: 1fr !important; }
  .lk-steps-arrow { transform: rotate(90deg); justify-self: center; }
  .lk-form-card { padding: 24px 20px !important; }
  .lk-form-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .lk-form-foot { justify-content: center !important; }
  .lk-form-foot button { width: 100%; }
  .lk-reviews { grid-template-columns: 1fr !important; height: 500px !important; }
  .lk-col-2 { display: none !important; }
  .lk-contact { grid-template-columns: 1fr !important; gap: 36px !important; }
  .lk-logo { height: 42px !important; }
  .lk-call { padding: 8px 14px !important; font-size: 13px !important; }
  .lk-trust { flex-direction: column !important; align-items: flex-start !important; justify-content: flex-start !important; gap: 12px !important; font-size: 14px !important; }
}
