/* ==========================================================================
   LUK Seeth – Willkommen
   Einbindung: <link rel="stylesheet" href="/see/seite/hauptseite/luk-willkommen.css">
   Dark Mode:  Klasse "seeth-dark" auf <html>
   ========================================================================== */

/* ---------- Farben (Light) ---------- */
#lsw {
  --lsw-card:        #ffffff;
  --lsw-img-bg:      #eef5f1;
  --lsw-border:      rgba(16, 41, 31, .08);
  --lsw-shadow:      0 1px 2px rgba(16, 41, 31, .04), 0 14px 36px rgba(16, 41, 31, .14);
  --lsw-title:       #0c2219;
  --lsw-text:        #2c4339;
  --lsw-accent:      #1f8a5b;
  --lsw-badge-bg:    rgba(255, 255, 255, .95);
  --lsw-badge-text:  #10291f;
  --lsw-dot:         #1f8a5b;
  --lsw-kicker-bg:   #e8faf0;
  --lsw-kicker-bd:   rgba(31, 138, 91, .25);
  --lsw-kicker-text: #0b5a42;
  --lsw-addr-bg:     #f4fbf7;
  --lsw-addr-bd:     rgba(16, 41, 31, .08);
  --lsw-addr-text:   #10291f;
  --lsw-pin:         #cf7415;
  --lsw-btn-bg:      #1f8a5b;
  --lsw-btn-shadow:  0 6px 16px rgba(31, 138, 91, .28);
}

/* ---------- Farben (Dark) ---------- */
html.seeth-dark #lsw {
  --lsw-card:        #10231c;
  --lsw-img-bg:      #173027;
  --lsw-border:      rgba(255, 255, 255, .08);
  --lsw-shadow:      0 14px 36px rgba(0, 0, 0, .4);
  --lsw-title:       #f7fcf9;
  --lsw-text:        #cfe0d7;
  --lsw-accent:      #6fe0a8;
  --lsw-badge-bg:    rgba(16, 39, 31, .92);
  --lsw-badge-text:  #f7fcf9;
  --lsw-dot:         #6fe0a8;
  --lsw-kicker-bg:   #173027;
  --lsw-kicker-bd:   rgba(111, 224, 168, .2);
  --lsw-kicker-text: #6fe0a8;
  --lsw-addr-bg:     #15372a;
  --lsw-addr-bd:     rgba(169, 240, 202, .12);
  --lsw-addr-text:   #f7fcf9;
  --lsw-pin:         #ffc77d;
  --lsw-btn-bg:      #23a068;
  --lsw-btn-shadow:  0 6px 16px rgba(0, 0, 0, .3);
}

/* ---------- Grundlayout ---------- */
#lsw,
#lsw *,
#lsw *::before,
#lsw *::after {
  box-sizing: border-box;
}

#lsw {
  margin: 6px 0 18px;
  font-family: Inter, "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Karte ---------- */
#lsw .lsw-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: var(--lsw-card);
  border: 1px solid var(--lsw-border);
  box-shadow: var(--lsw-shadow);
  animation: lswIn .8s cubic-bezier(.16, 1, .3, 1) both;
}

/* Farbleiste oben */
#lsw .lsw-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: 4px;
  background: linear-gradient(90deg, #6fe0a8, #1f8a5b 55%, #e8871e);
}

/* ---------- Bild ---------- */
#lsw .lsw-img {
  position: relative;
  overflow: hidden;
  background: var(--lsw-img-bg);
}

#lsw .lsw-img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
  animation: lswZoom 9s ease-out both;
}

/* Badge "24/7 geöffnet" */
#lsw .lsw-open {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--lsw-badge-bg);
  color: var(--lsw-badge-text);
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 6px 16px rgba(16, 41, 31, .2);
}

html[dir="rtl"] #lsw .lsw-open {
  left: auto;
  right: 12px;
}

#lsw .lsw-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lsw-dot);
  animation: lswLive 1.8s ease-out infinite;
}

/* ---------- Inhalt ---------- */
#lsw .lsw-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 20px 24px;
  background: var(--lsw-card);
}

#lsw .lsw-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--lsw-kicker-bg);
  border: 1px solid var(--lsw-kicker-bd);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--lsw-kicker-text);
}

#lsw .lsw-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lsw-dot);
  box-shadow: 0 0 0 3px rgba(31, 138, 91, .18);
}

#lsw .lsw-title {
  margin: 12px 0 0;
  font-size: 36px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.025em;
  color: var(--lsw-title);
  text-align: center;
}

#lsw .lsw-sub {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--lsw-accent);
  text-align: center;
}

#lsw .lsw-text {
  max-width: 440px;
  margin: 14px auto 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--lsw-text);
  text-align: center;
}

/* ---------- Adresse ---------- */
#lsw .lsw-addr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 440px;
  margin: 16px auto 0;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--lsw-addr-bg);
  border: 1px solid var(--lsw-addr-bd);
  color: var(--lsw-addr-text);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  transition: background .2s;
}

#lsw .lsw-addr:hover,
#lsw .lsw-addr:focus {
  color: var(--lsw-addr-text);
  text-decoration: none;
}

#lsw .lsw-addr:active {
  background: var(--lsw-kicker-bg);
}

#lsw .lsw-addr svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--lsw-pin);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#lsw .lsw-addr strong,
#lsw .lsw-addr-place {
  display: block;
}

#lsw .lsw-addr strong {
  font-size: 15px;
  font-weight: 850;
}

#lsw .lsw-addr small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 800;
  color: var(--lsw-accent);
}

/* ---------- Vorlesen-Button ---------- */
#lsw .lsw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  margin-top: 16px;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--lsw-btn-bg);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: var(--lsw-btn-shadow);
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s;
}

#lsw .lsw-btn:active {
  transform: scale(.96);
}

#lsw .lsw-btn:focus-visible,
#lsw .lsw-addr:focus-visible {
  outline: 2px solid var(--lsw-accent);
  outline-offset: 3px;
}

#lsw .lsw-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Animierte Balken während des Vorlesens */
#lsw .lsw-bars {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
}

#lsw .lsw-bars i {
  display: block;
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: currentColor;
  animation: lswBar .8s ease-in-out infinite;
}

#lsw .lsw-bars i:nth-child(2) { animation-delay: .15s; }
#lsw .lsw-bars i:nth-child(3) { animation-delay: .3s; }

#lsw .lsw-btn.is-speaking svg   { display: none; }
#lsw .lsw-btn.is-speaking .lsw-bars { display: inline-flex; }

/* ---------- Animationen ---------- */
@keyframes lswIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@keyframes lswZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

@keyframes lswLive {
  0%   { box-shadow: 0 0 0 0 rgba(31, 138, 91, .55); }
  100% { box-shadow: 0 0 0 10px rgba(31, 138, 91, 0); }
}

@keyframes lswBar {
  0%, 100% { height: 5px; }
  50%      { height: 16px; }
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  #lsw .lsw-card,
  #lsw .lsw-img img,
  #lsw .lsw-dot,
  #lsw .lsw-bars i {
    animation: none;
  }

  #lsw .lsw-btn,
  #lsw .lsw-addr {
    transition: none;
  }
}
