/* =============================================================
   FEIYUE ANLEITUNG — Stylesheet
   CI: Orange #CD5125, Sand #F7F1EB, Brown #6B4E3D
   Übernommen aus dem Garantie-System, angepasst für Video + PDF.
   ============================================================= */

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #2B2B2B;
  background: #FDFBF9;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: #CD5125; }
a:hover { color: #B8441E; }

/* ===== TOP-BAR ===== */
.top-bar {
  background: #CD5125;
  color: #fff;
  padding: 10px 24px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 1px;
}
.top-bar strong { font-weight: 700; }

/* ===== HEADER ===== */
.header {
  border-bottom: 1px solid #E6D5C3;
  padding: 18px 24px;
  text-align: center;
  background: #fff;
}
.header-logo-link {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}
.header-logo-img {
  display: block;
  width: auto;
  height: 56px;
  max-width: 100%;
  margin: 0 auto;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 48px;
  background: #F7F1EB;
  border-radius: 0;
}
main.container {
  padding-top: 40px;
  padding-bottom: 48px;
}

/* ===== INTRO ===== */
.intro {
  text-align: center;
  margin-bottom: 24px;
}
.intro-eyebrow {
  font-size: 11px;
  color: #CD5125;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.intro-title {
  font-size: 28px;
  color: #6B4E3D;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.2;
}
.intro-text {
  font-size: 14px;
  color: #6B4E3D;
  margin: 0 auto;
  max-width: 520px;
  opacity: 0.85;
}

/* ===== MACHINE PILL ===== */
.machine-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #E6D5C3;
  border-radius: 999px;
  padding: 8px 18px 8px 14px;
  margin: 0 auto 32px;
  font-size: 13px;
  color: #6B4E3D;
  font-weight: 600;
  width: max-content;
  max-width: 100%;
}
.machine-pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--machine-accent, #CD5125);
  flex-shrink: 0;
}

/* ===== CARDS ===== */
.card {
  background: #fff;
  border: 1px solid #E6D5C3;
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 20px;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
  flex-wrap: wrap;
}
.card-title {
  font-size: 17px;
  color: #6B4E3D;
  font-weight: 700;
  margin: 0;
}
.card-meta {
  font-size: 11px;
  color: #8a7a6a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-meta-dot {
  width: 6px;
  height: 6px;
  background: #CD5125;
  border-radius: 50%;
}

/* ===== VIDEO FACADE ===== */
.yt-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #2B2B2B;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  outline: none;
}
.yt-facade:focus-visible {
  box-shadow: 0 0 0 3px rgba(205, 81, 37, 0.5);
}
.yt-facade-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}
.yt-facade-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(205, 81, 37, 0.15) 0%, rgba(43, 43, 43, 0.55) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background 0.18s ease;
}
.yt-facade:hover .yt-facade-overlay {
  background: linear-gradient(135deg, rgba(205, 81, 37, 0.25) 0%, rgba(43, 43, 43, 0.5) 100%);
}
.yt-facade-play {
  width: 80px;
  height: 80px;
  background: #CD5125;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: transform 0.18s ease, background 0.18s ease;
}
.yt-facade-play svg { margin-left: 4px; }
.yt-facade:hover .yt-facade-play {
  background: #B8441E;
  transform: scale(1.05);
}
.yt-facade-label {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.yt-facade-sublabel {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  margin-top: 2px;
}
.yt-facade-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.yt-facade-loaded { cursor: default; }
.yt-facade-loaded:focus-visible { box-shadow: none; }
.yt-facade-nojs {
  position: absolute;
  inset: auto auto 12px 14px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  text-decoration: none;
}
.video-hint {
  margin: 14px 0 0;
  font-size: 12px;
  color: #8a7a6a;
  display: flex;
  align-items: center;
  gap: 6px;
}
.video-hint svg { flex-shrink: 0; }

/* ===== PDF CARD ===== */
.pdf-card {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 28px;
}
.pdf-icon {
  width: 56px;
  height: 56px;
  background: #F7F1EB;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pdf-text {
  flex: 1;
  min-width: 180px;
}
.pdf-title {
  font-size: 16px;
  color: #6B4E3D;
  font-weight: 700;
  margin: 0 0 2px;
}
.pdf-meta {
  font-size: 12px;
  color: #8a7a6a;
}

/* ===== WARRANTY CARD ===== */
.warranty-card {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 28px;
  background: linear-gradient(135deg, #FDF6F0 0%, #FFFFFF 100%);
  border-color: #F0D7C5;
}
.warranty-icon {
  width: 56px;
  height: 56px;
  background: #FFEEE3;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.warranty-text {
  flex: 1;
  min-width: 180px;
}
.warranty-eyebrow {
  font-size: 10px;
  color: #CD5125;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.warranty-title {
  font-size: 16px;
  color: #6B4E3D;
  font-weight: 700;
  margin: 0 0 4px;
}
.warranty-meta {
  font-size: 12px;
  color: #8a7a6a;
  line-height: 1.4;
}
.warranty-btn { flex-shrink: 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.05s ease;
}
.btn-primary {
  background: #CD5125;
  color: #fff;
}
.btn-primary:hover {
  background: #B8441E;
  color: #fff;
}
.btn-primary:active {
  transform: translateY(1px);
}
.pdf-btn { flex-shrink: 0; }

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid #E6D5C3;
  background: #FDFBF9;
  padding: 24px 0 32px;
  margin-top: 0;
}
.site-footer .container {
  background: transparent;
  padding-top: 0;
  padding-bottom: 0;
}
.support-hint {
  text-align: center;
  font-size: 13px;
  color: #6B4E3D;
  margin-bottom: 14px;
}
.support-hint a {
  color: #CD5125;
  text-decoration: none;
  font-weight: 600;
}
.support-hint a:hover { text-decoration: underline; }
.support-sep {
  margin: 0 8px;
  color: #b3a18d;
}
.footer-meta {
  text-align: center;
  font-size: 11px;
  color: #8a7a6a;
}
.footer-meta a {
  color: #8a7a6a;
  text-decoration: none;
}
.footer-meta a:hover {
  color: #CD5125;
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .container { padding: 28px 16px 36px; }
  .intro-title { font-size: 22px; }
  .intro-text { font-size: 13px; }
  .card { padding: 20px; }
  .pdf-card,
  .warranty-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .pdf-btn,
  .warranty-btn {
    width: 100%;
    justify-content: center;
  }
  .yt-facade-play {
    width: 64px;
    height: 64px;
  }
  .yt-facade-play svg {
    width: 26px;
    height: 26px;
  }
}
