/* ==========================================================================
   rabottu® Personaldienstleistung — Design System
   Palette: warmes Schwarzbraun + gedämpftes Terrakotta-Orange
   Display: Fraunces (Headlines, Logo) · Body/UI: Inter
   ========================================================================== */

/* Fonts lokal gehostet (DSGVO: keine Verbindung zu Google beim Seitenaufruf).
   Variable Fonts — eine Datei deckt alle Schriftstärken ab. */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('../assets/fonts/fraunces-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('../assets/fonts/fraunces-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Color — exact values sampled from official logo assets (no rendering shift) */
  --color-bg: #000000;
  --color-bg-alt: #0a0a0a;
  --color-surface: #141414;
  --color-surface-raised: #1b1b1b;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-strong: rgba(255, 255, 255, 0.18);
  --color-text: #ffffff;
  --color-text-muted: #adadad;
  --color-text-faint: #737373;
  --color-accent: #d86603;
  --color-accent-bright: #f07d1a;
  --color-accent-dim: #7a3a02;

  /* Type */
  --font-display: 'Fraunces', ui-serif, Georgia, serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;

  /* Layout */
  --max-width: 1180px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

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

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

:focus-visible {
  outline: 2px solid var(--color-accent-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Ambient glow backdrop ---------- */

.glow-field {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.glow-field::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(680px 420px at 50% -8%, rgba(216, 102, 3, 0.14), transparent 70%),
    radial-gradient(900px 500px at 85% 8%, rgba(216, 102, 3, 0.05), transparent 65%);
  pointer-events: none;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 8, 5, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 24px;
  width: auto;
  display: block;
}

.footer-logo img {
  height: 22px;
  width: auto;
  opacity: 0.85;
}

.hero-logo {
  max-width: 320px;
  width: 55%;
  height: auto;
  margin: 0 auto 28px;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav .btn {
  padding: 9px 18px;
  font-size: 0.82rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}

.main-nav a:hover,
.main-nav a[aria-current='page'] {
  color: var(--color-text);
}

.main-nav a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--color-accent-bright);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ---------- Language switch ---------- */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 8px;
}

.lang-switch a {
  color: var(--color-text-faint);
  padding: 4px 2px;
  transition: color 0.2s ease;
}

.lang-switch a:hover {
  color: var(--color-text);
}

.lang-switch a.active {
  color: var(--color-accent-bright);
}

.lang-switch .divider {
  color: var(--color-border-strong);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 590;
  font-size: 0.92rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent-bright);
  color: #000000;
}

.btn-primary:hover {
  opacity: 0.86;
}

.btn-ghost {
  background: transparent;
  border-color: var(--color-border-strong);
  color: var(--color-text);
}

.btn-ghost:hover {
  border-color: var(--color-text-muted);
  opacity: 0.8;
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0 80px;
  text-align: center;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-bright);
  margin-bottom: 18px;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--color-accent-dim);
}

.hero-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  line-height: 1.3;
  max-width: 480px;
  margin: 0 auto 10px;
  color: var(--color-text);
}

.hero-lede {
  max-width: 400px;
  margin: 0 auto 30px;
  color: var(--color-text-muted);
  font-size: 0.76rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.page-hero {
  padding: 96px 0 64px;
  text-align: left;
}

.page-hero .hero-title {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 16px;
  max-width: 640px;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.page-hero .hero-lede {
  margin: 0;
  max-width: 620px;
  font-size: 1.02rem;
}

/* ---------- Section scaffolding ---------- */

section {
  padding: 8px 0;
}

.section-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent-bright);
  margin-bottom: 14px;
}

.section-heading {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
  color: var(--color-text);
}

/* ---------- Photo placeholder (ready for real photos later) ---------- */

.photo-placeholder {
  position: relative;
  aspect-ratio: 21 / 9;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--color-text-faint);
  text-align: center;
  padding: 24px;
}

.photo-placeholder svg {
  width: 34px;
  height: 34px;
  opacity: 0.6;
}

.photo-placeholder .ph-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.photo-placeholder .ph-sub {
  font-size: 0.82rem;
  max-width: 40ch;
}

@media (max-width: 560px) {
  .photo-placeholder {
    aspect-ratio: 4 / 3;
  }
}

.photo-feature {
  position: relative;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.photo-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-feature .credit {
  display: none;
}

.photo-credits {
  margin: 14px 0 0;
  font-size: 0.72rem;
  color: var(--color-text-faint);
  text-align: right;
}

@media (max-width: 560px) {
  .photo-feature {
    aspect-ratio: 4 / 3;
  }
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.photo-gallery-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.photo-gallery .photo-feature {
  aspect-ratio: 3 / 4;
  margin-top: 0;
}

.photo-gallery-item .caption {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
}

@media (max-width: 880px) {
  .photo-gallery {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 28px;
  }
}

@media (max-width: 560px) {
  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Info / contact cards ---------- */

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 130px 0 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.info-card {
  background: var(--color-surface);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: background 0.2s ease;
}

.info-card:hover {
  background: var(--color-surface-raised);
}

.hero .info-grid {
  gap: 12px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero .info-card {
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.hero .icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  margin-bottom: 0;
  margin-right: 12px;
  flex-shrink: 0;
}

.hero .info-text {
  min-width: 0;
}

.hero .icon-badge svg {
  width: 15px;
  height: 15px;
}

.hero .info-card .label {
  font-size: 0.58rem;
  margin-bottom: 2px;
}

.hero .info-card .value {
  font-size: 0.85rem;
}

.icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(216, 102, 3, 0.14);
  color: var(--color-accent-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.icon-badge svg {
  width: 19px;
  height: 19px;
}

.info-card .label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: 6px;
}

.info-card .value {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-text);
}

.info-card a.value:hover {
  color: var(--color-accent-bright);
}

/* ---------- Service cards ---------- */

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

.service-card {
  background: var(--color-surface);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: background 0.2s ease;
}

.service-card:hover {
  background: var(--color-surface-raised);
}

.service-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.2rem;
  margin: 6px 0 10px;
  color: var(--color-text);
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.94rem;
  margin: 0 0 18px;
}

.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-bright);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.18s ease;
}

.service-card:hover .card-link svg {
  transform: translateX(3px);
}

/* Expanded service detail blocks (Leistungen page) */

.service-detail {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
  padding: 96px 0;
  border-top: 1px solid var(--color-border);
}

.service-detail:first-of-type {
  border-top: none;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse > * {
  direction: ltr;
}

.service-detail .index {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 5rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-border-strong);
  line-height: 1;
  margin: 0 0 8px;
}

.service-detail h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.7rem;
  margin: 0 0 16px;
}

.service-detail p {
  color: var(--color-text-muted);
  margin: 0 0 18px;
  max-width: 46ch;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

/* ---------- Einsatzfelder grid ---------- */

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.field-item {
  background: var(--color-surface);
  padding: 28px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: background 0.2s ease;
}

.field-item:hover {
  background: var(--color-surface-raised);
}

.field-item .icon-badge {
  flex-shrink: 0;
  margin-bottom: 0;
}

.field-item span.field-label {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--color-text);
}

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

.tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-border-strong);
  color: var(--color-text-muted);
}

.detail-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}

.detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Process steps (signature: genuine Recruiting sequence) ---------- */

.process {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 8px;
  position: relative;
}

.process::before {
  content: '';
  position: absolute;
  top: 23px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-strong) 15%, var(--color-border-strong) 85%, transparent);
}

.process-step {
  counter-increment: step;
  padding: 0 18px;
  position: relative;
  text-align: left;
}

.process-step .num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  color: var(--color-accent-bright);
  font-family: var(--font-display);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.process-step .num::before {
  content: counter(step, decimal-leading-zero);
}

.process-step h4 {
  font-size: 1.02rem;
  margin: 0 0 8px;
  color: var(--color-text);
}

.process-step p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---------- CTA band ---------- */

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 4px;
  cursor: pointer;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
}

.faq-question svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-text-faint);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  margin: 0 4px 22px;
  color: var(--color-text-muted);
  font-size: 0.96rem;
  max-width: 62ch;
}

.cta-band {
  margin: 96px 0 0;
  padding: 56px 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band .social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
  color: var(--color-text-muted);
}

.social-btn:hover {
  border-color: var(--color-accent-bright);
  color: var(--color-accent-bright);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 28px 0 40px;
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--color-text-faint);
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-size: 0.84rem;
  color: var(--color-text-faint);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-text-muted);
}

/* ---------- Forms (Kontakt) ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 96px;
}

.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.96rem;
  transition: border-color 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--color-accent-bright);
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--color-text-faint);
  margin-top: 4px;
}

.form-status {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--color-accent-bright);
  display: none;
}

.form-status.visible {
  display: block;
}

.side-info .info-card {
  margin-bottom: 16px;
}

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-top: 16px;
  filter: grayscale(0.4) invert(0.92) contrast(0.9);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

/* ---------- Legal pages ---------- */

.legal-content {
  padding: 8px 0 96px;
  max-width: 760px;
}

.legal-content h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 44px 0 12px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

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

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

.callout {
  background: rgba(216, 102, 3, 0.1);
  border: 1px solid rgba(216, 102, 3, 0.3);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 40px;
}

.callout p {
  color: var(--color-text);
  margin: 0;
  font-size: 0.92rem;
}

.placeholder {
  color: var(--color-accent-bright);
  font-style: italic;
}

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .main-nav ul {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .info-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-detail,
  .service-detail.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 28px;
    padding: 44px 0;
  }
  .process {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .process::before {
    display: none;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .site-footer .wrap {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 20px;
  }
  .hero {
    padding: 64px 0 56px;
  }
  .form-card {
    padding: 26px 20px;
  }
}

/* ---------- Mobile nav drawer ---------- */

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 32px 20px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

/* ---------- Reveal-on-scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
