/* =========================================================
   Benjamin Thieme - Websites für Handwerksbetriebe
   Pure HTML / CSS / JS Version
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --radius: 0.75rem;

  /* Off-white #FAFAF7 */
  --background: #FAFAF7;
  --foreground: #0F2A3D;            /* Petrol */
  --card: #FFFFFF;
  --card-foreground: #0F2A3D;
  --primary: #0F2A3D;               /* Petrol */
  --primary-foreground: #FAFAF7;
  --secondary: #F1EFEA;
  --secondary-foreground: #0F2A3D;
  --muted: #F1EFEA;
  --muted-foreground: #5A6B78;
  --accent: #E8703A;                /* Orange */
  --accent-foreground: #FFFFFF;
  --destructive: #C92A2A;
  --destructive-foreground: #FAFAF7;
  --border: #E6E3DD;
  --input: #E6E3DD;
  --ring: #E8703A;
  --surface: #F4F2EC;
  --surface-foreground: #0F2A3D;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { border-color: var(--border); }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

/* ---------- Layout helpers ---------- */
.container-px {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 768px) {
  .container-px { padding-left: 2rem; padding-right: 2rem; }
}
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.max-w-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; }
.max-w-xs  { max-width: 20rem; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Grain background ---------- */
.grain {
  background-image:
    radial-gradient(at 20% 10%, rgba(232, 112, 58, 0.10) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(15, 42, 61, 0.25) 0px, transparent 60%);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
  font-size: 1.125rem;
}
.brand .dot { color: var(--accent); }

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s;
}
.nav-cta:hover { background: var(--accent); }

.menu-btn {
  display: inline-flex;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  color: var(--primary);
}
.menu-btn svg { display: block; }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--background);
}
.mobile-menu.open { display: block; }
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.mobile-menu a {
  padding: 0.5rem 0;
  color: var(--foreground);
}
.mobile-menu .mobile-cta {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-btn { display: none; }
  .mobile-menu, .mobile-menu.open { display: none; }
}

/* ---------- Typography utilities ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-foreground);
}
.eyebrow .dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--accent);
}
.label-accent {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
}
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted-foreground); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 6rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero { padding-top: 11rem; padding-bottom: 8rem; }
}
.hero .grain {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  pointer-events: none;
}
.hero-inner { position: relative; }

.hero h1 {
  margin-top: 1.5rem;
  font-size: 3rem;
  line-height: 1.02;
  color: var(--primary);
}
@media (min-width: 768px) {
  .hero h1 { font-size: 4.5rem; }
}
.hero h1 .sub {
  display: block;
  margin-top: 1.5rem;
  font-size: 1.875rem;
  font-weight: 700;
  color: rgba(15, 42, 61, 0.6);
}
@media (min-width: 768px) {
  .hero h1 .sub { margin-top: 2rem; font-size: 3rem; }
}

.hero-cta-row {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .hero-cta-row { flex-direction: row; }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 1rem 1.75rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(232, 112, 58, 0.2);
  transition: filter 0.2s;
  border: 0;
}
.btn-primary:hover { filter: brightness(0.95); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(15, 42, 61, 0.2);
  background: var(--background);
  color: var(--primary);
  padding: 1rem 1.75rem;
  font-weight: 600;
  transition: border-color 0.2s;
}
.btn-secondary:hover { border-color: var(--primary); }

.hero-list {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.5rem;
  row-gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.hero-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.check { color: var(--accent); flex-shrink: 0; margin-top: 0.125rem; }

/* ---------- Sections ---------- */
section { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 768px) {
  section { padding-top: 8rem; padding-bottom: 8rem; }
}
.bg-surface { background-color: var(--surface); }

.section-title {
  margin-top: 1rem;
  font-size: 2.25rem;
  color: var(--primary);
}
@media (min-width: 768px) {
  .section-title { font-size: 3rem; }
}
.section-title-xl {
  margin-top: 1rem;
  font-size: 2.25rem;
}
@media (min-width: 768px) {
  .section-title-xl { font-size: 3.75rem; }
}
.section-lead {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

/* ---------- Grids ---------- */
.grid-3 {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-packages {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .grid-packages { grid-template-columns: repeat(3, 1fr); }
}

.grid-steps {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-steps { grid-template-columns: repeat(4, 1fr); }
}

.grid-2-12 {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .grid-2-12 { grid-template-columns: repeat(2, 1fr); align-items: center; }
}

/* ---------- Cards ---------- */
.card {
  height: 100%;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: rgba(232, 112, 58, 0.4);
  box-shadow: 0 20px 40px rgba(15, 42, 61, 0.05);
}
.card .num {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.875rem;
  font-weight: 600;
}
.card h3 {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  color: var(--primary);
}
.card p {
  margin-top: 1rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

.step-card {
  position: relative;
  height: 100%;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.75rem;
  transition: border-color 0.2s;
}
.step-card:hover { border-color: rgba(232, 112, 58, 0.4); }
.step-card .n {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.step-card h3 {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: var(--primary);
}
.step-card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

/* ---------- Package Cards ---------- */
.pkg {
  position: relative;
  height: 100%;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--card);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.pkg:hover { border-color: rgba(15, 42, 61, 0.3); }

.pkg.highlight {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  box-shadow: 0 25px 50px rgba(15, 42, 61, 0.2);
}
@media (min-width: 1024px) {
  .pkg.highlight { transform: translateY(-0.5rem); }
}

.pkg-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 9999px;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 0.25rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pkg h3 {
  font-size: 1.5rem;
  color: var(--primary);
}
.pkg.highlight h3 { color: var(--primary-foreground); }

.pkg-sub {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.pkg.highlight .pkg-sub { color: rgba(250, 250, 247, 0.7); }

.pkg-price {
  margin-top: 2rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.pkg-price .amount {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
}
.pkg.highlight .pkg-price .amount { color: var(--primary-foreground); }
.pkg-price .note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.pkg.highlight .pkg-price .note { color: rgba(250, 250, 247, 0.6); }

.pkg-duration {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(15, 42, 61, 0.8);
}
.pkg.highlight .pkg-duration { color: rgba(250, 250, 247, 0.8); }

.pkg-care {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.pkg.highlight .pkg-care { color: rgba(250, 250, 247, 0.6); }

.pkg-features {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--foreground);
}
.pkg.highlight .pkg-features { color: rgba(250, 250, 247, 0.9); }
.pkg-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.pkg-cta {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s, filter 0.2s;
  border: 1px solid rgba(15, 42, 61, 0.2);
  color: var(--primary);
  background: transparent;
}
.pkg-cta:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}
.pkg.highlight .pkg-cta {
  border: 0;
  background: var(--accent);
  color: var(--accent-foreground);
}
.pkg.highlight .pkg-cta:hover { filter: brightness(0.95); }

.pkg-note {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  line-height: 1.6;
}

/* ---------- Über mich ---------- */
.portrait-wrap {
  position: relative;
}
.portrait {
  aspect-ratio: 4 / 5;
  border-radius: 1rem;
  background: var(--primary);
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(15, 42, 61, 0.2);
}
.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portrait-gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(15, 42, 61, 0.9), rgba(15, 42, 61, 0.4), transparent);
}
.portrait-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}
@media (min-width: 768px) {
  .portrait-caption { padding: 2.5rem; }
}
.portrait-caption .name {
  color: var(--primary-foreground);
  font-weight: 600;
  font-size: 1.125rem;
}
.portrait-caption .place {
  color: rgba(250, 250, 247, 0.7);
  font-size: 0.875rem;
}
.portrait-decor {
  display: none;
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  height: 6rem;
  width: 6rem;
  border-radius: 1rem;
  background: rgba(232, 112, 58, 0.9);
}
@media (min-width: 768px) {
  .portrait-decor { display: block; }
}

.about-text { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.about-text p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  text-align: justify;
}
.about-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--foreground);
}

/* ---------- Termin Section ---------- */
.termin-section {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: var(--primary-foreground);
}
.termin-section .grain {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
}
.termin-inner {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
}
.termin-title {
  margin-top: 1rem;
  font-size: 2.25rem;
}
@media (min-width: 768px) {
  .termin-title { font-size: 3.75rem; }
}
.termin-lead {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: rgba(250, 250, 247, 0.7);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.termin-cta-row {
  margin-top: 3rem;
  text-align: center;
}
.termin-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 1rem 1.75rem;
  font-weight: 600;
  transition: filter 0.2s;
}
.termin-cta:hover { filter: brightness(0.95); }

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

/* ---------- Kontakt ---------- */
.contact-info-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-info-list dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  font-weight: 600;
}
.contact-info-list dd {
  margin: 0.25rem 0 0;
  font-size: 1.125rem;
  color: var(--primary);
  transition: color 0.2s;
}
.contact-info-list dd a {
  color: var(--primary);
  transition: color 0.2s;
}
.contact-info-list dd a:hover { color: var(--accent); }

/* ---------- Form ---------- */
.form-card {
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2rem;
}
@media (min-width: 768px) {
  .form-card { padding: 2.5rem; }
}
.form-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
}
.form-row { margin-top: 1.25rem; }
.form-row:first-child { margin-top: 0; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 0.75rem 1rem;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
}
.form-textarea { resize: none; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 1.25rem;
}
.consent input { margin-top: 0.25rem; accent-color: var(--accent); }
.consent a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent a:hover { color: var(--accent); }

.submit-btn {
  margin-top: 1.25rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 1.5rem;
  font-weight: 600;
  border: 0;
  transition: background 0.2s, opacity 0.2s;
}
.submit-btn:hover:not(:disabled) { background: var(--accent); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.form-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
}
.form-note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-note a:hover { color: var(--primary); }

.form-error {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--destructive);
  text-align: center;
}
.form-error a { text-decoration: underline; text-underline-offset: 2px; }

.form-success {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.form-success .icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(232, 112, 58, 0.15);
  color: var(--accent);
  display: grid;
  place-content: center;
  flex-shrink: 0;
}
.form-success h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
}
.form-success p {
  margin-top: 0.5rem;
  color: var(--muted-foreground);
  line-height: 1.65;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary);
  color: var(--primary-foreground);
}
.footer-inner {
  padding-top: 4rem;
  padding-bottom: 4rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: repeat(3, 1fr); }
}
.footer-inner .brand-block { color: var(--primary-foreground); }
.footer-inner .brand-block .desc {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: rgba(250, 250, 247, 0.7);
  max-width: 20rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.footer-col .label {
  color: rgba(250, 250, 247, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}
.footer-col a {
  color: rgba(250, 250, 247, 1);
  width: -moz-fit-content;
  width: fit-content;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(250, 250, 247, 0.1);
}
.footer-bottom-inner {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  font-size: 0.75rem;
  color: rgba(250, 250, 247, 0.6);
}

/* ---------- Legal pages ---------- */
.legal-main { min-height: 100vh; background: var(--background); }
.legal-wrap {
  max-width: 48rem;
  margin: 0 auto;
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.legal-back {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}
.legal-back:hover { color: var(--primary); }
.legal-wrap h1 {
  margin-top: 1.5rem;
  font-size: 2.25rem;
  color: var(--primary);
}
.legal-wrap section { padding: 0; margin-top: 2rem; }
.legal-wrap section:first-of-type { margin-top: 2.5rem; }
.legal-wrap h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
}
.legal-wrap p {
  margin-top: 0.75rem;
  color: var(--foreground);
  line-height: 1.65;
}
.legal-wrap .block {
  margin-top: 0.75rem;
}
.legal-wrap .block p { margin-top: 0.25rem; }
.legal-wrap ul.disc {
  margin-top: 0.75rem;
  list-style: disc;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--foreground);
}
.legal-wrap .stand {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
}

/* ---------- Helpers ---------- */
.hidden { display: none; }
