/* =========================================
   SMARTPET LIFE – eigener Bereich unter /smartpet
   Baut auf base.css auf (Blöcke, Container)
========================================= */

.sp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 8px 0 4px;
}

.sp-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.sp-brand img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

.sp-brand span {
  font-size: 1.5rem;
  font-weight: 600;
}

.sp-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.sp-links a {
  color: var(--nav-bg, #1f2937);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.sp-links a:hover,
.sp-links a[aria-current="page"] {
  border-bottom-color: var(--nav-accent, #3b82f6);
}

.sp-lang {
  display: inline-flex;
  border: 1px solid #ddd;
}

.sp-lang a,
.sp-lang span {
  padding: 4px 10px;
  border-bottom: 0;
}

.sp-lang span {
  background: var(--nav-bg, #1f2937);
  color: #fff;
}

/* Intro mit großem Icon */
.sp-intro {
  display: flex;
  gap: 24px;
  align-items: center;
}

.sp-intro img {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  flex-shrink: 0;
}

.sp-intro h1 {
  margin: 0;
  font-size: 1.6rem;
}

.sp-intro p {
  margin: 8px 0 0;
  line-height: 1.55;
}

/* Screenshots */
.sp-shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 12px;
}

.sp-shot {
  aspect-ratio: 9 / 19.5;
  border: 1px dashed #bbb;
  background: #f6f7f9;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  color: #777;
  font-size: 0.85rem;
  box-sizing: border-box;
}

.sp-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-status {
  border-left: 4px solid var(--nav-accent, #3b82f6);
}

.sp-cta {
  display: inline-block;
  padding: 10px 18px;
  background: var(--nav-bg, #1f2937);
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid var(--nav-accent, #3b82f6);
}

.sp-cta:hover {
  background: #2b3a4f;
}

/* FAQ */
.sp-faq details {
  border-top: 1px solid #eee;
  padding: 10px 0;
}

.sp-faq details:first-of-type {
  border-top: 0;
}

.sp-faq summary {
  cursor: pointer;
  font-weight: 500;
}

.sp-faq details p,
.sp-faq details ol {
  line-height: 1.55;
}

/* Datenschutztext */
.sp-legal .block p,
.sp-legal .block li {
  line-height: 1.55;
}

.sp-legal .block ul {
  padding-left: 20px;
}

@media (max-width: 800px) {
  .sp-shots {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .sp-intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .sp-intro img {
    width: 96px;
    height: 96px;
    border-radius: 22px;
  }
}
