/* =========================================================================
   Praxis Gunzelmann — Warm Modern design system
   Colour scheme derived from the live site:
     teal accent #68ccd1 (deepened for contrast), warm sand/gold,
     deep clinical red, warm stone neutrals.
   ========================================================================= */

:root {
  /* Warm neutral family (temperature: warm) */
  --bg:            #faf5ee;   /* warm cream page */
  --surface:       #ffffff;   /* raised surface */
  --surface-2:     #f3e7d4;   /* sand panel (matches hero band) */
  --surface-3:     #ecdcc2;   /* deeper sand band */
  --text:          #2c2521;   /* tuned warm off-black */
  --text-muted:    #6b5f54;   /* warm muted */
  --border:        #e7dac8;   /* warm hairline */
  --border-strong: #d8c4a8;

  /* Accent: the site's brick red (logo, active nav, links) */
  --accent:        #9c2b1e;   /* brick red */
  --accent-dark:   #7a2017;   /* hover */
  --accent-soft:   #f6e4df;   /* red wash */
  --on-accent:     #ffffff;

  /* Terracotta / rust from the hero "Strudel" painting */
  --terracotta:    #c0492a;   /* deep rust */
  --terracotta-2:  #d8782f;   /* warm orange */
  --terracotta-3:  #d8a04a;   /* amber */

  /* Warm gold / sand band */
  --gold:          #e3c9a0;   /* tan band colour from the hero */
  --gold-deep:     #c79b63;

  /* Semantic */
  --success:       #2f7d4f;
  --warning:       #9a6b16;
  --error:         #9c2a2a;
  --focus:         #9c2b1e;

  /* Type */
  --font-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;

  /* Shape & depth */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(70,57,57,.06), 0 2px 8px rgba(70,57,57,.05);
  --shadow:    0 6px 22px rgba(70,57,57,.10);
  --shadow-lg: 0 18px 50px rgba(70,57,57,.16);

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(1.1rem, 4vw, 3rem);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- Typography roles ---------- */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.12; font-weight: 560; letter-spacing: -0.01em; color: var(--text); margin: 0 0 .5em; }
.display { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4rem); font-weight: 600; line-height: 1.05; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.55rem); }
h4 { font-size: 1.12rem; font-family: var(--font-sans); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1.1rem; max-width: 68ch; }
.eyebrow {
  font-family: var(--font-sans); font-weight: 700; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: var(--gold-deep); display: inline-block; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.lede { font-size: clamp(1.1rem, 1.02rem + 0.45vw, 1.32rem); color: var(--text-muted); max-width: 60ch; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--accent); color: var(--on-accent);
  padding: .8rem 1.2rem; border-radius: 0 0 var(--radius-sm) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; word-wrap: normal !important;
}

/* ---------- Buttons ---------- */
.btn {
  --b: var(--accent);
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: .92rem 1.5rem; border-radius: 999px; border: 2px solid var(--b);
  text-decoration: none; cursor: pointer; background: var(--b); color: var(--on-accent);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { background: var(--accent-soft); }
.btn--gold { --b: var(--gold-deep); color: #3a2c18; background: var(--gold); border-color: var(--gold-deep); }
.btn .icon { width: 1.05em; height: 1.05em; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 88px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--accent); }
.brand__mark {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  display: grid; place-items: center; color: var(--on-accent);
  background: linear-gradient(150deg, var(--terracotta), var(--terracotta-2));
  font-family: var(--font-serif); font-weight: 600; font-size: 1.35rem; box-shadow: var(--shadow-sm);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.02rem; color: var(--accent); }
.brand__sub { font-size: .9rem; color: var(--accent); font-weight: 500; }

.primary-nav-wrap { display: contents; }
.primary-nav { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.primary-nav li { list-style: none; margin: 0; padding: 0; }
.primary-nav li::marker { content: ""; }
.primary-nav a {
  text-decoration: none; color: var(--text); font-weight: 600; font-size: .92rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .6rem .7rem; border-radius: 0; position: relative; transition: color .15s ease;
}
.primary-nav a::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .25rem; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.primary-nav a:hover { color: var(--accent); }
.primary-nav a:hover::after { transform: scaleX(1); }
.primary-nav .current-menu-item > a,
.primary-nav a[aria-current="page"] { color: var(--accent); }
.primary-nav .current-menu-item > a::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { margin-left: .5rem; }

.nav-toggle {
  display: none; align-items: center; gap: .5rem; background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: 999px; padding: .55rem .9rem; font-weight: 700; cursor: pointer;
}
.nav-toggle__bars { width: 18px; height: 12px; position: relative; }
.nav-toggle__bars span { position: absolute; left: 0; right: 0; height: 2px; background: var(--text); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle__bars span:nth-child(1){ top: 0; }
.nav-toggle__bars span:nth-child(2){ top: 5px; }
.nav-toggle__bars span:nth-child(3){ top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1){ transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3){ transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed; inset: 88px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: .25rem; background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 1rem var(--gutter) 1.6rem; box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .22s ease, opacity .22s ease;
  }
  .primary-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .primary-nav a { padding: .85rem 1rem; font-size: 1.05rem; }
  .header-cta { margin: .4rem 0 0; }
  .header-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Hero (full-bleed terracotta painting, matches live site) ---------- */
.hero {
  position: relative;
  min-height: clamp(420px, 64vh, 640px);
  display: grid;
  align-items: center;
  background: var(--terracotta);
  background-image:
    linear-gradient(180deg, rgba(40,18,10,.18), rgba(40,18,10,.30)),
    var(--hero-image, none);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero__inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); text-align: center; color: #fff; }
.hero__title {
  color: #fff; font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(2.2rem, 1.2rem + 5.2vw, 5rem); line-height: 1.02;
  text-shadow: 0 2px 18px rgba(60,20,10,.35); margin: 0 auto .9rem; max-width: 18ch;
}
.hero__sub {
  color: #fff; font-weight: 500; font-size: clamp(1.05rem, 0.95rem + 0.7vw, 1.45rem);
  text-shadow: 0 1px 10px rgba(60,20,10,.4); margin: 0 auto; max-width: none; text-align: center; opacity: .96;
}
/* Floating quick-action buttons (mail / phone), right side as on the live site */
.hero__quick {
  position: absolute; right: clamp(.8rem, 2vw, 2rem); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: .9rem; z-index: 3;
}
.hero__quick a {
  width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold); color: #fff; box-shadow: var(--shadow);
  transition: transform .18s ease, background-color .18s ease;
}
.hero__quick a:hover { transform: translateY(-2px); background: var(--gold-deep); }
.hero__quick svg { width: 24px; height: 24px; }

/* Sand band with the three primary focus areas, directly under the hero */
.hero-band { background: linear-gradient(180deg, var(--gold), var(--surface-2)); }
.hero-band__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-block: clamp(1.4rem, 1rem + 1.5vw, 2.4rem); text-align: center; }
.hero-band__grid span { font-size: clamp(1rem, 0.95rem + 0.4vw, 1.3rem); color: var(--text); font-weight: 500; }
@media (max-width: 720px) {
  .hero-band__grid { grid-template-columns: 1fr; gap: .5rem; }
  .hero__quick { right: .6rem; gap: .6rem; }
  .hero__quick a { width: 48px; height: 48px; }
}

/* ---------- Welcome / prose ---------- */
.prose h2 + p, .prose h3 + p { margin-top: .4rem; }
.prose p { color: var(--text-muted); }
.prose strong { color: var(--text); }
/* WordPress editor content rendered inside theme sections */
.user-content > :first-child { margin-top: 0; }
.user-content p { color: var(--text-muted); margin: 0 0 1.1rem; }
.user-content p:last-child { margin-bottom: 0; }
.user-content strong { color: var(--text); }
.user-content a { color: var(--accent); }
.user-content ul, .user-content ol { color: var(--text-muted); padding-left: 1.2rem; margin: 0 0 1.1rem; }
.user-content h2, .user-content h3 { color: var(--text); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; column-gap: clamp(2.2rem, 1.5rem + 3.5vw, 4.5rem); row-gap: 2rem; align-items: center; }
.split--rev > *:first-child { order: 2; }
@media (max-width: 820px){ .split, .split--rev { grid-template-columns: 1fr; } .split--rev > *:first-child { order: 0; } }
.framed-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; }

/* ---------- Focus areas (Schwerpunkte) list ---------- */
.focus-band { background: var(--surface-2); border-block: 1px solid var(--border); }
.focus-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .7rem; margin-top: 1.8rem; padding: 0; list-style: none; }
.focus-grid li {
  display: flex; align-items: flex-start; gap: .7rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .85rem 1rem; font-weight: 600; font-size: .96rem;
}
.focus-grid li .tick { color: var(--accent); flex: none; margin-top: .15rem; width: 1.1em; height: 1.1em; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.1rem; margin-top: 2.2rem; }
.service-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem 1.4rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative; overflow: hidden;
}
.service-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(var(--terracotta), var(--terracotta-2)); opacity: .0; transition: opacity .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.service-card:hover::before { opacity: 1; }
.service-card h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1.12rem; letter-spacing: 0; margin: .35rem 0 .6rem; }
.service-card p { font-size: .96rem; color: var(--text-muted); margin-bottom: 0; line-height: 1.55; }
.service-card__num { display: block; font-family: var(--font-serif); font-size: .9rem; color: var(--gold-deep); font-weight: 600; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem; margin-top: 2rem; }
.team-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.team-card__media { aspect-ratio: 1; overflow: hidden; background: var(--surface-2); }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.team-card:hover .team-card__media img { transform: scale(1.04); }
.team-card__body { padding: 1.4rem 1.5rem 1.7rem; }
.team-card__body h3 { margin-bottom: .2rem; }
.team-card__role { color: var(--accent); font-weight: 600; font-size: .95rem; margin: 0 0 1rem; }
.team-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.team-card__list li { display: flex; gap: .6rem; align-items: flex-start; color: var(--text-muted); font-size: .96rem; }
.team-card__list li::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--gold-deep); margin-top: .55rem; flex: none; }

/* ---------- Info / contact band ---------- */
.info-band { background: linear-gradient(160deg, var(--surface-3), var(--surface-2)); border-block: 1px solid var(--border); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); }
.info-card > *:last-child { margin-bottom: 0; }
.info-card h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1.05rem; letter-spacing: 0; display: flex; align-items: center; gap: .6rem; margin: 0 0 .7rem; }
.info-card h3 .icon { width: 1.3rem; height: 1.3rem; color: var(--accent); flex: none; }
.info-card p { margin: 0 0 .5rem; line-height: 1.55; }
.info-card a { color: var(--accent); font-weight: 600; text-decoration: none; }
.info-card a:hover { text-decoration: underline; }

/* Stacked info cards (e.g. contact sidebar) — even rhythm via gap, not inline margins */
.info-stack { display: grid; gap: 1.1rem; align-content: start; }
.hours { display: grid; gap: .4rem; margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px dashed var(--border); }
.hours div:last-child { border-bottom: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; column-gap: clamp(2rem, 1.5rem + 3vw, 4rem); row-gap: 1.6rem; align-items: start; }
/* When the contact form is disabled, the info cards span the full width. */
.contact-grid--single { grid-template-columns: 1fr; max-width: 640px; }
.contact-grid--single .info-stack { max-width: 640px; }
@media (max-width: 860px){ .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 600; margin-bottom: .4rem; font-size: .95rem; }
.field .req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--border-strong);
  background: var(--bg); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }
.field textarea { min-height: 140px; resize: vertical; }
.field .help { font-size: .82rem; color: var(--text-muted); margin-top: .35rem; }
.consent { display: flex; gap: .7rem; align-items: flex-start; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .9rem 1rem; }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; flex: none; accent-color: var(--accent); }
.consent label { font-size: .9rem; color: var(--text-muted); font-weight: 500; }
.consent a { color: var(--accent); }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; display: none; }
.form-status.is-success { display: block; background: #e7f3ec; color: var(--success); border: 1px solid #bfe0cd; }
.form-status.is-error { display: block; background: #fbeaea; color: var(--error); border: 1px solid #f0c9c9; }
.form-note { font-size: .82rem; color: var(--text-muted); margin-top: 1rem; }

/* ---------- FAQ accordion (AEO/GEO) ---------- */
.faq-list { display: grid; gap: .8rem; margin-top: 2rem; max-width: 820px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0 1.3rem; box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 0; font-weight: 700;
  font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 1.1rem; height: 1.1rem;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239c2b1e' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-answer { padding: 0 0 1.2rem; }
.faq-answer p { margin: 0; color: var(--text-muted); max-width: 70ch; }

/* ---------- Footer ---------- */
.site-footer { background: #2a2420; color: #e9e0d4; padding-block: clamp(2.6rem, 2rem + 3vw, 4rem) 0; }
.site-footer a { color: #e9e0d4; text-decoration: none; }
.site-footer a:hover { color: var(--terracotta-2); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 2rem; }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { color: #fff; font-family: var(--font-sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-brand .brand__name { color: #fff; }
.footer-brand p { color: #c7bcab; font-size: .92rem; max-width: 30ch; }
.footer-contact address { font-style: normal; color: #c7bcab; line-height: 1.8; font-size: .94rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.6rem; padding-block: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; font-size: .85rem; color: #b3a896; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }

/* ---------- Cookie / consent banner ---------- */
.cookie-banner {
  position: fixed; inset: auto 1rem 1rem 1rem; z-index: 200; max-width: 560px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 1.3rem 1.4rem; transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner h4 { font-family: var(--font-sans); font-size: 1.05rem; margin-bottom: .4rem; }
.cookie-banner p { font-size: .9rem; color: var(--text-muted); margin-bottom: 1rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-banner__actions .btn { padding: .7rem 1.2rem; font-size: .92rem; }

/* ---------- Page header (interior pages) ---------- */
.page-hero { background: var(--surface-2); border-bottom: 1px solid var(--border); padding-block: clamp(2.6rem, 2rem + 3vw, 4.4rem); }
.page-hero .lede { margin-top: .6rem; }
.breadcrumbs { font-size: .85rem; color: var(--text-muted); margin-bottom: 1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.breadcrumbs a { color: var(--accent); text-decoration: none; }
.breadcrumbs span[aria-hidden] { color: var(--border-strong); }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
/* If JS is disabled, never hide content. */
html.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } }

/* ---------- Legal / long-form content ---------- */
.legal-content { max-width: 75ch; }
.legal-content h2 { margin-top: 2.2rem; font-size: 1.5rem; }
.legal-content h3 { margin-top: 1.6rem; }
.legal-content ul { padding-left: 1.2rem; }
.legal-content li { margin-bottom: .4rem; }
.legal-content a { color: var(--accent); }

/* ---------- Customizer inline-edit affordance ---------- */
/* Subtle highlight on editable elements while in the Customizer preview. */
body.wp-customizer-unloading [data-pg],
body.wp-customizer-unloading [data-pg-block] { transition: none; }
.customize-partial-edit-shortcut button { background: var(--accent); }
[data-pg]:hover, [data-pg-block]:hover {
  /* Only meaningful inside the Customizer; harmless on the live site. */
}
