/* Only loaded by templates/index_draft.html (route /entwurf-7k3q/). New class names only. */

.sw-example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sw-example-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 16px 38px rgba(31, 35, 39, 0.08);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.sw-example-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(31, 35, 39, 0.12);
}

.sw-example-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.sw-example-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 22px;
}

.sw-example-tag {
  color: var(--red-dark);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sw-example-body h3 {
  margin: 10px 0 6px;
  font-size: 1.2rem;
}

.section .sw-example-body p {
  flex: 1;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.sw-example-link {
  margin-top: 16px;
  color: var(--ink);
  font-weight: 800;
}

.sw-example-card:hover .sw-example-link {
  color: var(--red-dark);
}

.section .sw-example-note {
  margin: 14px 0 34px;
  font-size: 0.86rem;
}

.sw-style-heading {
  margin: clamp(40px, 6vw, 64px) 0 24px;
}

.sw-style-heading h3 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.15;
}

.sw-about-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.sw-about-card .check-list {
  margin-top: 0;
  margin-bottom: 22px;
}

.sw-faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.sw-faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
}

.sw-faq summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.sw-faq summary::-webkit-details-marker {
  display: none;
}

.sw-faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  color: var(--red-dark);
  font-size: 1.4rem;
  line-height: 1;
  transform: translateY(-50%);
}

.sw-faq details[open] summary::after {
  content: "\2212";
}

.section .sw-faq p {
  margin: 0;
  padding: 0 20px 20px;
}

.final-cta .sw-form-privacy {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.sw-impressum {
  padding: clamp(48px, 7vw, 76px) clamp(20px, 4vw, 42px);
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.sw-impressum-inner {
  max-width: 1096px; /* same text edge as .section (1180px minus its side padding) */
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px clamp(28px, 6vw, 70px);
}

.sw-impressum h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.sw-impressum p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.sw-impressum a {
  color: var(--red-dark);
  font-weight: 700;
}

@media (max-width: 980px) {
  .sw-example-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

.sw-nav a {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .sw-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
  }

  .sw-impressum-inner {
    grid-template-columns: 1fr;
  }
}
