/*
Theme Name: Lotta Ebert – Pflege und Beratung
Theme URI: https://www.lotta-ebert.de/
Author: Lotta Ebert
Description: Individuelles One-Page-Theme für Pflegebildung, Lerncoaching und Prüfungsvorbereitung. Testexport des aktuellen Designstands.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: lotta-ebert
*/

:root {
  --cream: #f7efe5;
  --paper: #fffaf4;
  --sand: #e4c7a9;
  --sand-deep: #d2aa87;
  --blush: #f1a5aa;
  --rose: #cc737c;
  --plum: #4a3039;
  --plum-deep: #2f2025;
  --ink: #201a18;
  --muted: #6e625d;
  --line: rgba(32, 26, 24, 0.16);
  --radius: 1.5rem;
  --shadow: 0 28px 80px rgba(74, 48, 57, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--blush);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--plum-deep);
  color: white;
  padding: 0.75rem 1rem;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(32, 26, 24, 0.1);
  background: rgba(247, 239, 229, 0.92);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(100% - 3rem, 1240px);
  min-height: 5.25rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.05;
}

.brand-mark {
  width: 3.1rem;
  height: 3.1rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-monogram {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50% 46% 54% 42%;
  background: var(--blush);
  color: var(--plum-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.94rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand small {
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.25rem);
}

.desktop-nav a {
  position: relative;
  color: #4f4540;
  font-size: 0.9rem;
  font-weight: 600;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  left: 0;
  height: 2px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.language-switcher {
  display: inline-flex;
  margin-left: auto;
}

.language-switcher select {
  min-width: 4.4rem;
  min-height: 2.85rem;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  padding: 0.55rem 1.8rem 0.55rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 800;
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  display: grid;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  list-style: none;
  place-content: center;
  gap: 0.38rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
}

.mobile-menu nav {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  width: min(78vw, 18rem);
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.mobile-menu nav a {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: 0.75rem;
  font-weight: 600;
}

.mobile-menu nav a:hover {
  background: var(--cream);
}

.button {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 0;
  border-radius: 999px;
  background: var(--plum-deep);
  color: white;
  padding: 0.9rem 1.4rem;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(47, 32, 37, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--plum);
  box-shadow: 0 14px 32px rgba(47, 32, 37, 0.25);
}

.button-small {
  min-height: 2.85rem;
  padding: 0.7rem 1.1rem;
  font-size: 0.85rem;
}

.button-light {
  background: var(--paper);
  color: var(--plum-deep);
}

.button-light:hover {
  background: white;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  transition: gap 180ms ease, color 180ms ease;
}

.text-link:hover {
  gap: 0.85rem;
  color: var(--rose);
}

.text-link-light {
  color: white;
}

.section {
  width: min(100% - 3rem, 1240px);
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 8.5rem) 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--rose);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.6rem;
  font-size: clamp(3.7rem, 7vw, 7.2rem);
  line-height: 0.94;
}

h1 span {
  display: block;
  color: var(--rose);
  font-style: italic;
}

h1 .headline-main {
  color: inherit;
  font-style: normal;
}

h2 {
  margin-bottom: 1.35rem;
  font-size: clamp(2.35rem, 4.6vw, 4.6rem);
  line-height: 1.02;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}

.hero {
  display: grid;
  min-height: auto;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-top: clamp(2.25rem, 4.5vw, 4rem);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-block: 0;
}

.hero-intro {
  max-width: 37rem;
  margin-bottom: 2rem;
  color: #574c47;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 2.5rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  list-style: none;
}

.trust-list li::before {
  content: "•";
  margin-right: 0.6rem;
  color: var(--rose);
}

.hero-visual {
  position: relative;
  min-height: min(64vh, 39rem);
  display: grid;
  place-items: center;
}

.logo-card {
  position: relative;
  z-index: 2;
  width: min(100%, 33rem);
  aspect-ratio: 1.18 / 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(74, 48, 57, 0.12);
  border-radius: 48% 52% 43% 57% / 45% 42% 58% 55%;
  background: var(--sand);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.logo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(204, 115, 124, 0.52);
  border-radius: 50%;
}

.hero-orbit-one {
  width: 82%;
  aspect-ratio: 1;
  transform: rotate(-16deg);
}

.hero-orbit-two {
  width: 64%;
  aspect-ratio: 1;
  transform: rotate(30deg);
}

.hero-note {
  position: absolute;
  z-index: 3;
  right: -1rem;
  bottom: 8%;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border-radius: 1rem;
  background: var(--plum-deep);
  color: white;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.35;
}

.manifesto {
  background: var(--plum-deep);
  color: white;
}

.manifesto-inner {
  width: min(100% - 3rem, 1240px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.manifesto p {
  margin: 0;
  padding: clamp(2.2rem, 4vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.7vw, 2.5rem);
  line-height: 1.25;
}

.manifesto p:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  text-align: right;
}

.manifesto strong {
  color: var(--blush);
  font-weight: 500;
  font-style: italic;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 3rem;
  margin-bottom: 3.25rem;
}

.section-heading h2 {
  max-width: 13ch;
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 32rem;
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  min-height: 24rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 244, 0.72);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-7px);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.service-card summary {
  display: flex;
  min-height: 15.5rem;
  cursor: pointer;
  list-style: none;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.6rem, 2.5vw, 2.25rem);
}

.service-card summary::-webkit-details-marker {
  display: none;
}

.service-title {
  max-width: 13ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 3.5vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.service-hint {
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--rose);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 clamp(1.6rem, 2.5vw, 2.25rem);
  opacity: 0;
  transform: translateY(0.5rem);
  transition: max-height 260ms ease, opacity 180ms ease, transform 180ms ease;
}

.service-card:not([open]) > .service-content {
  display: block;
}

.service-card[open] .service-content {
  max-height: 32rem;
  padding-bottom: clamp(1.6rem, 2.5vw, 2.25rem);
  opacity: 1;
  transform: translateY(0);
}

.service-card[open] .service-hint {
  color: var(--muted);
}

.service-content p {
  color: var(--muted);
}

.service-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-content li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.35rem;
  border-top: 1px solid var(--line);
  color: #4f4540;
}

.service-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--rose);
}

@media (hover: hover) and (pointer: fine) {
  .service-card:not([open]):hover .service-content {
    max-height: 32rem;
    padding-bottom: clamp(1.6rem, 2.5vw, 2.25rem);
    opacity: 1;
    transform: translateY(0);
  }
}

.audiences {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.audience-panel {
  padding: clamp(4.5rem, 8vw, 8rem) max(1.5rem, calc((100vw - 1240px) / 4));
}

.audience-panel-light {
  background: var(--sand);
}

.audience-panel-dark {
  background: var(--plum);
  color: white;
}

.audience-panel h2 {
  max-width: 11ch;
  font-size: clamp(2.5rem, 4.3vw, 4.2rem);
}

.audience-panel > p:not(.eyebrow) {
  max-width: 34rem;
  color: inherit;
  opacity: 0.82;
}

.check-list {
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 0.8rem 0 0.8rem 2rem;
  border-bottom: 1px solid currentColor;
  opacity: 0.8;
  position: relative;
}

.check-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--rose);
  font-weight: 800;
}

.audience-panel-dark .check-list li::before {
  color: var(--blush);
}

.process {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.process-intro {
  position: sticky;
  top: 8rem;
  align-self: start;
}

.process-intro h2 {
  max-width: 11ch;
}

.process-intro > p:last-child {
  max-width: 29rem;
  color: var(--muted);
}

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

.process-list li {
  display: grid;
  min-height: 13rem;
  grid-template-columns: 4.5rem 1fr;
  align-items: start;
  gap: 1.25rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.process-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.process-list > li > span {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border-radius: 50%;
  background: var(--blush);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.process-list h3 {
  margin: 0 0 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 500;
}

.process-list p {
  max-width: 32rem;
  color: var(--muted);
}

.about {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  background: var(--paper);
}

.about-quote,
.about-copy {
  padding: clamp(4.5rem, 8vw, 8rem) max(1.5rem, calc((100vw - 1240px) / 4));
}

.about-quote {
  position: relative;
  display: flex;
  min-height: 42rem;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--blush);
}

.about-quote::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -20%;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid rgba(74, 48, 57, 0.38);
  border-radius: 42% 58% 46% 54%;
}

.quote-mark {
  height: 5rem;
  color: rgba(74, 48, 57, 0.45);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8rem;
  line-height: 1;
}

.about-quote p {
  position: relative;
  z-index: 1;
  max-width: 19ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.8vw, 2.75rem);
  line-height: 1.15;
}

.signature {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-style: italic;
}

.about-copy {
  align-self: center;
}

.about-copy h2 {
  max-width: 12ch;
}

.about-copy > p:not(.eyebrow) {
  max-width: 41rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.about-facts div {
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.about-facts strong,
.about-facts span {
  display: block;
}

.about-facts strong {
  margin-bottom: 0.4rem;
}

.about-facts span {
  color: var(--muted);
  font-size: 0.88rem;
}

.faq {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.faq-heading h2 {
  max-width: 10ch;
}

.faq-heading > p:last-child {
  max-width: 28rem;
  color: var(--muted);
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  min-height: 6rem;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.3;
}

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

.faq-icon {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: ui-sans-serif, system-ui, sans-serif;
  transition: transform 180ms ease, background 180ms ease;
}

.faq-list details[open] .faq-icon {
  background: var(--blush);
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 40rem;
  padding: 0 3.5rem 2rem 0;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 8vw, 7rem);
  padding: clamp(4.5rem, 8vw, 8rem) max(1.5rem, calc((100vw - 1240px) / 2));
  background: var(--sand);
}

.contact-copy h2 {
  max-width: 9ch;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 30rem;
  color: #5c4f49;
}

.contact-person {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.contact-person img {
  width: 4.25rem;
  height: 4.25rem;
  border: 2px solid rgba(255, 250, 244, 0.82);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  box-shadow: 0 8px 22px rgba(47, 32, 37, 0.18);
}

.contact-person strong,
.contact-person small {
  display: block;
}

.contact-person small {
  margin-top: 0.18rem;
  color: var(--muted);
}

.direct-contact {
  margin-top: 2.5rem;
}

.direct-contact a {
  display: block;
  padding: 1rem 0;
  border-top: 1px solid rgba(32, 26, 24, 0.2);
}

.direct-contact a:last-child {
  border-bottom: 1px solid rgba(32, 26, 24, 0.2);
}

.direct-contact span,
.direct-contact strong {
  display: block;
}

.direct-contact span {
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.direct-contact strong {
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.contact-form {
  padding: clamp(1.6rem, 3vw, 2.75rem);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
}

.contact-form label > span:first-child {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(32, 26, 24, 0.22);
  border-radius: 0.85rem;
  background: white;
  color: var(--ink);
  padding: 0.9rem 1rem;
  transition: border 180ms ease, box-shadow 180ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--rose);
  outline: none;
  box-shadow: 0 0 0 4px rgba(204, 115, 124, 0.13);
}

.contact-form textarea {
  resize: vertical;
}

.privacy-check {
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.privacy-check input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.18rem;
  accent-color: var(--rose);
}

.privacy-check span {
  margin: 0 !important;
  font-size: inherit !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

.form-button {
  width: 100%;
  cursor: pointer;
}

.contact-form > small {
  display: block;
  margin-top: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  padding: clamp(3.5rem, 6vw, 6rem) max(1.5rem, calc((100vw - 1240px) / 2)) 1.5rem;
  background: var(--plum-deep);
  color: white;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}

.brand-footer small {
  color: rgba(255, 255, 255, 0.58);
}

.brand-footer .brand-mark {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-top > p {
  max-width: 29rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
}

.legal-drafts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.legal-drafts details {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
}

.legal-drafts summary {
  cursor: pointer;
  padding: 0.85rem 1rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 700;
}

.legal-drafts details > div {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

.legal-drafts h2 {
  margin-bottom: 1rem;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.legal-drafts h3 {
  margin: 1.4rem 0 0.45rem;
  color: white;
  font-size: 0.9rem;
}

.legal-note {
  border-left: 3px solid var(--blush);
  padding-left: 0.8rem;
}

@media (max-width: 980px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-visual {
    min-height: 34rem;
  }

  .section-heading,
  .process,
  .faq {
    grid-template-columns: 1fr;
  }

  .process-intro {
    position: static;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about-quote {
    min-height: 34rem;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top .button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .nav-shell,
  .section {
    width: min(100% - 2rem, 1240px);
  }

  .nav-shell {
    gap: 0.65rem;
  }

  .brand strong {
    font-size: 0.82rem;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: clamp(3.25rem, 17vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2.25rem, 11vw, 3.7rem);
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 27rem;
  }

  .hero-note {
    right: 0;
    bottom: 4%;
  }

  .manifesto-inner,
  .audiences,
  .service-grid,
  .about-facts,
  .legal-drafts {
    grid-template-columns: 1fr;
  }

  .manifesto p:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
  }

  .service-card {
    grid-column: auto;
    min-height: 0;
  }

  .service-card summary {
    min-height: 13rem;
  }

  .section-heading {
    gap: 1.25rem;
  }

  .audience-panel,
  .about-quote,
  .about-copy,
  .contact {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .process-list li {
    grid-template-columns: 3.5rem 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-top .button {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* WordPress integration */
.admin-bar .site-header {
  top: 32px;
}

.contact-status {
  margin: 0 0 1.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(32, 26, 24, 0.18);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.contact-status-success {
  border-color: rgba(55, 122, 82, 0.38);
  color: #285d3d;
}

.contact-status-error {
  border-color: rgba(171, 62, 72, 0.38);
  color: #8b2932;
}

.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.content-page {
  width: min(100% - 3rem, 900px);
  min-height: 60vh;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.content-page > article {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.content-page h1 {
  max-width: none;
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.content-page a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
