/* ==========================================================================
   Praxis Helgit Renner – Design System (warm & organisch)
   ========================================================================== */

:root {
  --bg: #f7f3ec;
  --bg-card: #fffcf7;
  --bg-soft: #e8efe6;
  --bg-deep: #1e3d32;
  --primary: #2f5d4a;
  --primary-dark: #1e3d32;
  --primary-hover: #264a3c;
  --accent: #c47b5b;
  --accent-soft: #e8c4b0;
  --text: #1a1f1c;
  --text-muted: #5c665f;
  --border: #d9d2c5;
  --success: #a8c4b0;
  --white: #ffffff;
  --shadow: 0 8px 30px rgba(30, 61, 50, 0.08);
  --shadow-lg: 0 20px 50px rgba(30, 61, 50, 0.12);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --radius-pill: 999px;
  --font-serif: "Fraunces", "Georgia", serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --container: 70rem;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset ------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--accent);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--primary-dark);
  margin: 0 0 0.75em;
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1em;
  max-width: 65ch;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1.25em;
  padding-left: 1.25em;
}

li {
  margin-bottom: 0.4em;
}

/* Utilities --------------------------------------------------------------- */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2rem, 46rem);
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--deep {
  background: var(--primary-dark);
  color: #e8efe6;
}

.section--deep h2,
.section--deep h3 {
  color: #fff;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 40rem;
}

.text-center {
  text-align: center;
}

.text-center .lead,
.text-center p {
  margin-inline: auto;
}

.muted {
  color: var(--text-muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--primary-hover);
  color: var(--white);
}

.btn--secondary {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary);
}

.btn--secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--primary-dark);
}

.btn--light:hover {
  background: var(--bg-soft);
  color: var(--primary-dark);
}

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(30, 61, 50, 0.05);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--primary-dark);
  flex-shrink: 0;
}

.logo:hover {
  color: var(--primary);
  text-decoration: none;
}

.logo__mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary) 0%, #4a7d66 55%, var(--accent-soft) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 550;
}

.logo__role {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
}

.nav__list a:hover,
.nav__list a[aria-current="page"] {
  color: var(--primary);
  background: var(--bg-soft);
}

.nav__cta {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
    box-shadow: var(--shadow-lg);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav__list a {
    padding: 0.85rem 1rem;
  }

  .nav__cta {
    margin: 0.75rem 0 0;
    width: 100%;
  }
}

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 8vw, 5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 196, 176, 0.45) 0%, transparent 70%);
  top: -12rem;
  right: -10rem;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 123, 91, 0.12) 0%, transparent 70%);
  bottom: -8rem;
  left: -6rem;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__visual {
  position: relative;
}

.hero__frame {
  aspect-ratio: 4 / 5;
  border-radius: 2rem;
  background:
    linear-gradient(160deg, rgba(47, 93, 74, 0.15), transparent 50%),
    linear-gradient(20deg, #3d6b58 0%, #2f5d4a 40%, #c47b5b 160%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.hero__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(30, 61, 50, 0.75) 0%, rgba(30, 61, 50, 0.2) 50%, transparent 100%),
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.15), transparent 40%);
  z-index: 1;
}

.hero__frame-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: #fff;
  z-index: 2;
}

.hero__frame-inner strong {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.hero__frame-inner span {
  opacity: 0.9;
  font-size: 0.95rem;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__badge {
  position: absolute;
  left: -0.75rem;
  bottom: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow);
  max-width: 12rem;
  font-size: 0.9rem;
  line-height: 1.35;
  z-index: 2;
}

.hero__badge strong {
  display: block;
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

@media (max-width: 800px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
    max-width: 22rem;
    margin-inline: auto;
  }

  .hero__badge {
    left: 0.5rem;
    bottom: 0.75rem;
  }
}

/* Trust strip ------------------------------------------------------------- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
}

.trust__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}

.trust__item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.trust__item span {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .trust {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .trust {
    grid-template-columns: 1fr;
  }
}

/* Cards ------------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: 100%;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.card p {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}

.card--link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.card--link .card__more {
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.card--link:hover .card__more {
  color: var(--accent);
}

.card--feature {
  padding: 0;
  overflow: hidden;
}

.card--feature .card__media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--primary) 0%, #5a8f78 50%, var(--accent-soft) 100%);
  position: relative;
}

.card--feature .card__media span {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.card--feature .card__body {
  padding: 1.25rem 1.4rem 1.5rem;
}

/* Split layout ------------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

@media (max-width: 800px) {
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }
}

.media-panel {
  border-radius: 1.75rem;
  aspect-ratio: 5 / 4;
  background:
    linear-gradient(145deg, rgba(247, 243, 236, 0.2), transparent),
    linear-gradient(200deg, #4b7a64, #2f5d4a 60%, #8b5e4a);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.media-panel--soft {
  background:
    linear-gradient(160deg, #e8efe6, #c5d9c8 40%, #d4b59a);
  aspect-ratio: 4 / 3;
}

.media-panel__caption {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  background: rgba(255, 252, 247, 0.94);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
  box-shadow: var(--shadow);
  z-index: 1;
}

.media-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Lists ------------------------------------------------------------------- */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2rem;
  border-bottom: 1px solid var(--border);
  margin: 0;
}

.checklist li:last-child {
  border-bottom: 0;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--primary);
  box-shadow: inset 0 0 0 2px var(--bg);
}

/* Timeline ---------------------------------------------------------------- */
.timeline {
  border-left: 2px solid var(--border);
  margin: 1.5rem 0 0;
  padding: 0 0 0 1.5rem;
  list-style: none;
}

.timeline li {
  position: relative;
  margin-bottom: 1.5rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1.5rem - 5px);
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 0.2rem;
}

.timeline span {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Price / info box -------------------------------------------------------- */
.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
}

.info-box--accent {
  border-color: transparent;
  background: linear-gradient(135deg, var(--bg-soft), var(--bg-card));
  border: 1px solid #c5d6c8;
}

.info-box__price {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--primary-dark);
  line-height: 1;
  margin: 0.25rem 0 0.35rem;
}

.info-box__price small {
  font-size: 1rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

/* CTA band ---------------------------------------------------------------- */
.cta-band {
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 1.5rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(168, 196, 176, 0.35), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(196, 123, 91, 0.18), transparent 40%),
    var(--primary-dark);
  color: #e8efe6;
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.cta-band p {
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.85);
}

.cta-band .btn-row {
  justify-content: center;
}

.cta-band a.phone-link {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.cta-band a.phone-link:hover {
  color: var(--accent-soft);
}

/* Page hero (inner pages) ------------------------------------------------- */
.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
}

.page-hero .breadcrumb {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.page-hero .breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.page-hero .breadcrumb a:hover {
  color: var(--primary);
}

/* Forms ------------------------------------------------------------------- */
.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid--2 {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 600px) {
  .form-grid--2 {
    grid-template-columns: 1fr;
  }
}

label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--primary-dark);
}

input,
textarea,
select {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47, 93, 74, 0.15);
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.95rem;
}

.form-check input {
  width: auto;
  margin-top: 0.3rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.alert {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.alert--success {
  background: #e5f2e8;
  color: #1e3d32;
  border: 1px solid #a8c4b0;
}

.alert--error {
  background: #fce8e4;
  color: #6b2e1f;
  border: 1px solid #e2b0a0;
}

/* Contact layout ---------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-aside {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-aside h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.contact-aside dl {
  margin: 0;
}

.contact-aside dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-top: 1rem;
}

.contact-aside dt:first-child {
  margin-top: 0;
}

.contact-aside dd {
  margin: 0.2rem 0 0;
}

.contact-aside a {
  text-decoration: none;
  font-weight: 600;
}

/* Footer ------------------------------------------------------------------ */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 2rem;
  margin-top: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer__brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer__nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav li {
  margin-bottom: 0.4rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.9rem;
}

@media (max-width: 700px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* Legal ------------------------------------------------------------------- */
.legal h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
}

.legal p,
.legal li {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Prose ------------------------------------------------------------------- */
.prose p,
.prose li {
  color: var(--text);
}

.prose .muted {
  color: var(--text-muted);
}

/* Chip list --------------------------------------------------------------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.chips li {
  margin: 0;
  background: var(--bg-soft);
  border: 1px solid #c5d6c8;
  color: var(--primary-dark);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
}

/* Related ----------------------------------------------------------------- */
.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 700px) {
  .related {
    grid-template-columns: 1fr;
  }
}

/* Two-column helpers ------------------------------------------------------ */
.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.grid-2--equal {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

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

/* Quote ------------------------------------------------------------------- */
.quote {
  border-left: 3px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.25rem;
  margin: 1.5rem 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--primary-dark);
  max-width: 36rem;
}

/* Skip link --------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 200;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}
