/* ═══════════════════════════════════════════════════════════════════════════
   RA Himmelsbach – Theme CSS
   Mirrors the design from the original React/Tailwind site exactly.
   Fonts: Playfair Display (serif) · Inter (sans-serif)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Design tokens ──────────────────────────────────────────────────────── */
:root {
  --bg:            #ffffff;
  --fg:            hsl(220, 20%, 18%);   /* #252c38 — dark navy */
  --accent:        hsl(215, 40%, 30%);   /* #2d4a6e — steel blue */
  --accent-fg:     #ffffff;
  --secondary:     hsl(220, 10%, 96%);   /* #f3f4f6 — light grey */
  --muted:         hsl(220, 10%, 96%);
  --muted-fg:      hsl(220, 10%, 46%);   /* #6c737f */
  --border:        hsl(220, 10%, 90%);   /* #e1e3e8 */
  --card:          #ffffff;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --radius: 0.5rem;

  --header-h: 4rem;      /* 64px */
  --section-y: 5rem;     /* 80px */
  --max-w: 80rem;        /* 1280px */
}

/* ── Skip to content (accessibility) ───────────────────────────────────── */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  background: var(--fg);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s;
}
.skip-to-content:focus {
  top: 0;
}

/* ── Reset & base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── Layout helpers ─────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px)  { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.section-padding {
  padding-block: var(--section-y);
}

.pt-header { padding-top: var(--header-h); }

.bg-secondary { background: var(--secondary); }

.text-center  { text-align: center; }
.text-accent  { color: var(--accent); }
.font-serif   { font-family: var(--font-serif); }

.two-col {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .two-col { grid-template-columns: 1fr 1fr; align-items: center; }
  .two-col.items-start { align-items: start; }
  .two-col.items-stretch { align-items: stretch; }
}

.flex-center { display: flex; justify-content: center; }
.flex-center.stretch { align-items: stretch; height: 100%; }

.max-w-5xl { max-width: 64rem; margin-inline: auto; }
.max-w-3xl { max-width: 48rem; margin-inline: auto; }

.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }

/* ── Typography ─────────────────────────────────────────────────────────── */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
}

.section-accent-label {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.section-header { text-align: center; margin-bottom: 3rem; }

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.page-lead {
  font-size: 1.125rem;
  color: var(--muted-fg);
  max-width: 48rem;
  margin-top: 1rem;
}
.text-center .page-lead { margin-inline: auto; }

.prose {
  color: var(--muted-fg);
  line-height: 1.8;
}
.prose p + p { margin-top: 1rem; }
.prose strong { color: var(--fg); }
.prose a { color: var(--accent); text-decoration: underline; }
.prose h2, .prose h3 { font-family: var(--font-serif); color: var(--fg); margin: 1.5rem 0 0.75rem; }

/* ── Block content typographic flow ─────────────────────────────────────── */
/* Paragraph-to-paragraph spacing inside block columns/groups */
.wp-block-paragraph + .wp-block-paragraph { margin-top: 1rem; }

/* Paragraph before a list (e.g. before checklist in two-col) */
.wp-block-paragraph + .wp-block-list { margin-top: 1.25rem; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s, opacity 0.2s;
  text-decoration: none;
}
.btn-accent {
  background: var(--accent);
  color: var(--accent-fg);
}
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 80%, black); }
.btn-full { width: 100%; justify-content: center; }

/* ── Header ─────────────────────────────────────────────────────────────── */
/* Push header below the WP admin bar when logged in */
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) {
  .admin-bar .site-header { top: 32px; }
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.site-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
  line-height: 1.3;
  max-width: 18rem;
}
@media (min-width: 1024px) { .site-logo { max-width: none; font-size: 1.2rem; } }

/* Desktop nav */
.nav-desktop { display: none; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
  transition: color 0.2s;
  /* Reserve bold width to prevent layout shift */
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: attr(data-text);
  font-weight: 600;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
/* Animated underline */
.nav-link::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover, .nav-link.active {
  color: var(--accent);
  font-weight: 600;
}
.nav-link:hover::before, .nav-link.active::before {
  transform: scaleX(1);
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 1rem;
}
.nav-mobile nav { display: flex; flex-direction: column; gap: 0; }
.nav-link-mobile {
  display: block;
  padding: 0.625rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
}
.nav-link-mobile:last-child { border-bottom: none; }
.nav-link-mobile.active { color: var(--accent); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--fg);
  overflow: hidden;
}

/* Portrait – bleeds to right edge on desktop */
.hero-portrait {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.18; /* faded as full-bg on mobile */
}
.hero-portrait-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--fg) 0%, transparent 40%, var(--fg) 100%);
}

@media (min-width: 1024px) {
  .hero-portrait {
    left: auto;
    right: 0;
    width: 50%;
  }
  .hero-portrait img { opacity: 1; }
  .hero-portrait-overlay {
    /* gradient fades portrait into the dark bg on its left edge */
    background: linear-gradient(to right, var(--fg) 0%, rgba(22, 30, 46, 0.55) 45%, transparent 100%);
  }
}

/* Inner layout */
.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 7rem; /* space for trust strip */
  width: 100%;
}

@media (min-width: 1024px) {
  .hero-inner { max-width: 54%; }
}

/* Eyebrow label */
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(215, 60%, 65%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: currentColor;
  flex-shrink: 0;
}

/* Headline */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7.5vw, 5.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

/* Subtitle */
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 30rem;
}

/* Qualification list */
.hero-quals {
  list-style: none;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hero-quals li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}
.hero-quals li::before {
  content: '';
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b9bc5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* CTA buttons */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.btn-hero-primary:hover {
  background: hsl(220, 20%, 92%);
  transform: translateY(-1px);
}
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
}
.btn-hero-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  transform: translateY(-1px);
}

/* Trust strip anchored at bottom */
.hero-trust {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
  padding-block: 1.25rem;
}
.hero-trust-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
}
@media (min-width: 768px) {
  .hero-trust-items { grid-template-columns: repeat(4, 1fr); }
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}
.hero-trust-item svg { flex-shrink: 0; color: hsl(215, 60%, 65%); }

/* Entrance animations */
@media (prefers-reduced-motion: no-preference) {
  @keyframes hero-rise {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .hero-eyebrow  { animation: hero-rise 0.6s ease both; animation-delay: 0.05s; }
  .hero-title    { animation: hero-rise 0.6s ease both; animation-delay: 0.15s; }
  .hero-subtitle { animation: hero-rise 0.6s ease both; animation-delay: 0.25s; }
  .hero-quals    { animation: hero-rise 0.6s ease both; animation-delay: 0.30s; }
  .hero-actions  { animation: hero-rise 0.6s ease both; animation-delay: 0.38s; }
}

/* ── Trust bar (kept for non-hero use) ──────────────────────────────────── */
.trust-bar {
  padding-block: 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--secondary);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-fg);
  font-size: 0.875rem;
  font-weight: 500;
}
.badge-icon { width: 1.25rem; height: 1.25rem; color: var(--accent); flex-shrink: 0; }

/* ── Portrait images ─────────────────────────────────────────────────────── */
.portrait-square {
  border-radius: var(--radius);
  width: 100%;
  max-width: 24rem;
  object-fit: cover;
  aspect-ratio: 1;
}

.kanzlei-photo {
  border-radius: var(--radius);
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  display: block;
}

.kanzlei-photo-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 16rem;
}

.kanzlei-portrait-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  bottom: auto;
  left: auto;
  width: 10.5rem;
  height: 10.5rem;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}

@media (min-width: 640px) {
  .kanzlei-portrait-badge { width: 19rem; height: 19rem; top: 1.5rem; right: 1.5rem; }
}

.portrait-tall {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
}

/* ── Service cards ───────────────────────────────────────────────────────── */
.service-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: rgba(45, 74, 110, 0.3);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: rgba(45, 74, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
  transition: background 0.2s;
}
.service-card:hover .service-icon { background: rgba(45, 74, 110, 0.2); }

.service-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--muted-fg);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}
.service-features li {
  font-size: 0.875rem;
  color: var(--muted-fg);
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.15s, gap 0.15s;
}
.service-link:hover { color: hsl(215, 40%, 22%); gap: 0.5rem; }

/* ── Fachgebiete dark section ──────────────────────────────────────────── */
.fachgebiete-dark {
  background: var(--fg);
  position: relative;
}
.fachgebiete-dark .container { position: relative; }
.fachgebiete-dark .section-title { color: #fff; }

/* Dark card variant */
.service-card-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  position: relative;
  overflow: hidden;
  transition: background 0.2s, border-color 0.2s, transform 0.25s, box-shadow 0.25s;
}
.service-card-dark:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-4px);
}
/* Large watermark number */
.service-card-dark::before {
  content: attr(data-num);
  position: absolute;
  top: 0.25rem;
  right: 0.5rem;
  font-family: var(--font-serif);
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
  user-select: none;
}
.service-card-dark .service-icon {
  background: rgba(255, 255, 255, 0.10);
  color: hsl(215, 60%, 65%);
}
.service-card-dark:hover .service-icon { background: rgba(255, 255, 255, 0.17); }
.service-card-dark .service-title { color: #fff; }
.service-card-dark .service-desc  { color: rgba(255, 255, 255, 0.60); }
.service-card-dark .service-features li { color: rgba(255, 255, 255, 0.60); }
.service-card-dark .service-features li::before { background: hsl(215, 60%, 65%); }
.service-card-dark .service-link  { color: hsl(215, 60%, 65%); }
.service-card-dark .service-link:hover { color: #fff; gap: 0.5rem; }

/* ── CTA section ─────────────────────────────────────────────────────────── */
.cta-section {
  background: #ffffff;
  padding-block: var(--section-y);
  border-top: 1px solid var(--border);
}

/* On inner pages, use accent background to clearly separate from content */
.page:not(.home) .cta-section {
  background: var(--accent);
  border-top: none;
}
.page:not(.home) .cta-title { color: #ffffff; }
.page:not(.home) .cta-subtitle { color: rgba(255, 255, 255, 0.75); }
.page:not(.home) .cta-note { color: rgba(255, 255, 255, 0.55); }
.page:not(.home) .btn-accent {
  background: #ffffff;
  color: var(--fg);
}
.page:not(.home) .btn-accent:hover {
  background: var(--secondary);
}

.cta-inner {
  text-align: center;
  padding-inline: 1rem;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1rem;
}

.cta-subtitle {
  color: var(--muted-fg);
  font-size: 1.0625rem;
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.cta-note {
  color: var(--muted-fg);
  font-size: 0.875rem;
  margin-top: 1rem;
}

/* ── Block editor content output ────────────────────────────────────────── */
.entry-content h1, .entry-content h2, .entry-content h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.entry-content h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.entry-content h2 { font-size: clamp(1.25rem, 3vw, 1.875rem); margin-top: 2.5rem; }
.entry-content h3 { font-size: 1.125rem; margin-top: 2rem; }
.entry-content p  { line-height: 1.75; color: var(--muted-fg); margin-bottom: 1rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.entry-content li { line-height: 1.75; color: var(--muted-fg); margin-bottom: 0.25rem; }
.entry-content strong { color: var(--fg); font-weight: 600; }
.entry-content a:not(.wp-block-button__link) { color: var(--accent); text-decoration: underline; }
.entry-content figure { margin: 1.5rem 0; }
.entry-content figure img { border-radius: var(--radius); max-width: 100%; }
.entry-content .wp-block-embed { margin: 2rem auto; max-width: 100%; }
.entry-content .wp-block-embed__wrapper { position: relative; aspect-ratio: 16/9; }
.entry-content .wp-block-embed__wrapper iframe { width: 100%; height: 100%; }

/* Shorts style variant — 9:16 portrait ratio */
.entry-content .wp-block-embed.is-style-shorts { max-width: 360px; }
.entry-content .wp-block-embed.is-style-shorts .wp-block-embed__wrapper { aspect-ratio: 9/16; }

/* Videos page — block content sits below the YouTube badge */
.videos-content { margin-top: 1rem; }
.videos-content .wp-block-buttons { margin-block: 1.75rem; }

/* YouTube button block style */
.wp-block-button.is-style-youtube .wp-block-button__link {
  background-color: #FF0000 !important;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.375rem;
}
.wp-block-button.is-style-youtube .wp-block-button__link::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23.5 6.19a3.02 3.02 0 00-2.12-2.14C19.54 3.5 12 3.5 12 3.5s-7.54 0-9.38.55A3.02 3.02 0 00.5 6.19C0 8.04 0 12 0 12s0 3.96.5 5.81a3.02 3.02 0 002.12 2.14C4.46 20.5 12 20.5 12 20.5s7.54 0 9.38-.55a3.02 3.02 0 002.12-2.14C24 15.96 24 12 24 12s0-3.96-.5-5.81zM9.75 15.5V8.5l6.5 3.5-6.5 3.5z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--fg);
  color: #ffffff;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  padding-block: 4rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  display: block;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}
.footer-links a:hover { color: #fff; }

.footer-contact { list-style: none; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.footer-contact .icon { width: 1rem; height: 1rem; color: var(--accent); flex-shrink: 0; margin-top: 0.125rem; }
.footer-contact a { color: rgba(255,255,255,0.65); }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 2rem;
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.45); transition: color 0.15s; }
.footer-legal a:hover { color: #fff; }

/* ── Über mich ───────────────────────────────────────────────────────────── */

/*
 * Block-editor layout overrides:
 * The Über mich page uses core wp:columns blocks with custom classes.
 * We override WordPress's own block CSS so our grid system takes over.
 */

/* Reset default wp:group margin so sections don't double-space */
#main-content > .wp-block-group { margin-block: 0; }

/* Portrait image: wp:image wraps in <figure>; apply portrait-tall to figure+img */
figure.portrait-tall {
  width: 100%;
  margin: 0;
}
figure.portrait-tall img {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3/4;
  display: block;
}

/* Intro two-col columns block */
.wp-block-columns.two-col {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 3rem !important;
  flex-wrap: unset !important;
}
@media (min-width: 1024px) {
  .wp-block-columns.two-col {
    grid-template-columns: 1fr 1fr !important;
  }
  .wp-block-columns.two-col.items-start { align-items: start !important; }
}

/* Values grid columns block */
.wp-block-columns.values-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2rem !important;
  flex-wrap: unset !important;
  text-align: left;
}
@media (min-width: 640px) {
  .wp-block-columns.values-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

.checklist { list-style: none; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpath d='M22 11.08V12a10 10 0 11-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpath d='M22 11.08V12a10 10 0 11-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E") center/contain no-repeat;
}

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

.stat-card {
  text-align: center;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.stat-icon { width: 1.25rem; height: 1.25rem; color: var(--accent); margin-inline: auto; margin-bottom: 0.5rem; }
.stat-value { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--fg); }
.stat-label { font-size: 0.75rem; color: var(--muted-fg); margin-top: 0.25rem; }

.values-grid {
  display: grid;
  gap: 2rem;
  text-align: left;
}
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(3, 1fr); text-align: left; } }

.value-title { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; color: var(--fg); margin-bottom: 0.75rem; }
.value-desc  { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.7; }

/* Video placeholder */
.video-placeholder {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.video-preview-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.play-btn {
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
}
.play-btn:hover { transform: scale(1.1); background: #fff; }
.video-label { color: rgba(255,255,255,0.85); font-size: 0.875rem; font-weight: 500; }

/* ── Rechtsgebiete ───────────────────────────────────────────────────────── */
.area-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.area-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: 0.75rem;
  background: rgba(45, 74, 110, 0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.area-title { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 700; color: var(--fg); }
.area-subtitle { color: var(--accent); font-weight: 500; margin-top: 0.25rem; }

.case-example {
  background: var(--secondary);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
}
.case-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); font-weight: 600; margin-bottom: 0.5rem; }
.case-text { font-size: 0.9375rem; color: var(--muted-fg); line-height: 1.7; font-style: italic; }

/* ── Contact page ────────────────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(45,74,110,0.1);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
}

.contact-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-fg);
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
  overflow: hidden;
}
@media (min-width: 640px) { .contact-card { padding: 2.5rem; } }

.contact-form-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--fg);
}

.contact-form .form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) { .contact-form .form-row { grid-template-columns: 1fr 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 0.375rem; min-width: 0; }
.contact-form > .form-group { margin-bottom: 1rem; }
.form-group label { font-size: 0.875rem; font-weight: 500; color: var(--fg); }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--fg);
  background: var(--bg);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  cursor: pointer;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45,74,110,0.12);
}
.contact-form textarea { resize: vertical; }

.form-submit { margin-top: 1.5rem; }
.form-privacy { font-size: 0.8125rem; color: var(--muted-fg); margin-top: 0.75rem; text-align: center; }
.form-privacy a { color: var(--accent); text-decoration: underline; }

.contact-success {
  text-align: center;
  padding: 3rem 1rem;
}
.success-icon { width: 3rem; height: 3rem; color: var(--accent); margin-inline: auto; margin-bottom: 1rem; }
.contact-success h3 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.contact-success p { color: var(--muted-fg); }

/* ── Blog ────────────────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px)  { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.blog-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

.blog-card-img-wrap { display: block; }
.blog-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.blog-card-body { padding: 1.25rem 1.5rem 1.5rem; }

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.blog-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.blog-date { font-size: 0.8125rem; color: var(--muted-fg); }

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}
.blog-card-title a { color: inherit; transition: color 0.15s; }
.blog-card-title a:hover { color: var(--accent); }

.blog-card-excerpt { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.65; margin-bottom: 1rem; }

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--fg);
  transition: background 0.15s;
}
.pagination a:hover { background: var(--secondary); }
.pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Single post ─────────────────────────────────────────────────────────── */
.blog-post-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
  transition: color 0.15s;
}
.back-link:hover { color: var(--accent); }

.blog-featured-img img { border-radius: var(--radius); }

.blog-content { font-size: 1.0625rem; }
.blog-content p { margin-bottom: 1.25rem; }
.blog-content h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.blog-content h3 { font-size: 1.25rem; margin: 1.5rem 0 0.75rem; }
.blog-content ul, .blog-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.blog-content li { margin-bottom: 0.5rem; }

/* ── Utilities ───────────────────────────────────────────────────────────── */
.text-muted { color: var(--muted-fg); }

/* ── Videos page ────────────────────────────────────────────────────────── */
.videos-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.btn-yt {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ff0000;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s, opacity 0.15s;
}
.btn-yt:hover { background: #cc0000; }

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

@media (max-width: 900px) {
  .shorts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .shorts-grid { grid-template-columns: 1fr; }
  .videos-header { flex-direction: column; }
}

.short-card {
  background: var(--surface, #fff);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.short-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  transform: translateY(-2px);
}

.short-thumbnail {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--fg);
  overflow: hidden;
}
.short-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.short-card:hover .short-thumbnail img {
  transform: scale(1.03);
}

.short-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.3);
  color: #fff;
  transition: background 0.2s;
}
.short-card:hover .short-play-btn {
  background: rgba(0,0,0,.45);
}
.short-play-btn svg {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}

.short-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: #ff0000;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

.short-info {
  padding: 0.875rem 1rem;
}

.short-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 0.25rem;
}

.short-title {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.4;
  margin: 0;
}

/* ── Shorts: direct iframe embed (3-column 9:16 portrait) ─────────────────── */
.shorts-embed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.short-embed {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 1rem;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.short-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 900px) {
  .shorts-embed-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .shorts-embed-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
  }
}

/* ── Video modal ─────────────────────────────────────────────────────────── */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.video-modal[hidden] { display: none; }

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.video-modal-inner {
  position: relative;
  width: min(360px, 90vw);
  z-index: 1;
}

.video-modal-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.15s;
}
.video-modal-close:hover { opacity: 1; }

.video-modal-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}
.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── Microsoft Bookings embed ────────────────────────────────────────────── */
.bookings-section {
  margin-bottom: 2rem;
}
.bookings-section iframe {
  min-height: 700px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.ms-bookings-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.bookings-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-block: 2rem;
  color: var(--muted-fg);
  font-size: 0.875rem;
}
.bookings-divider::before,
.bookings-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Header: hero-nav transparent state ─────────────────────────────────── */
.site-header.hero-nav {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  box-shadow: none;
}
.site-header.hero-nav .site-logo { color: #fff; }
.site-header.hero-nav .nav-link {
  color: rgba(255, 255, 255, 0.82);
}
.site-header.hero-nav .nav-link:hover,
.site-header.hero-nav .nav-link.active {
  color: #fff;
}
.site-header.hero-nav .hamburger-line { background: #fff; }

/* Transition nav link colours together with header background */
@media (prefers-reduced-motion: no-preference) {
  .nav-link, .site-logo, .hamburger-line {
    transition: color 0.2s ease, background 0.2s ease;
  }
}

/* ── Animations ──────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .site-header {
    transition: background 0.2s ease, border-color 0.2s ease,
                color 0.2s ease, box-shadow 0.35s ease;
  }
  .site-header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
}

/* ── Über mich page ──────────────────────────────────────────────────────── */
.ueber-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .ueber-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

.ueber-bio .page-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.ueber-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--muted-fg);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.ueber-quals {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ueber-qual-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--fg);
}
.ueber-qual-icon {
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--accent);
}

.ueber-portrait-col { display: flex; flex-direction: column; gap: 1.5rem; }
.ueber-portrait {
  width: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.ueber-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.ueber-stat {
  text-align: center;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem 0.5rem;
}
.ueber-stat svg { stroke: var(--accent); margin: 0 auto 0.5rem; display: block; }
.ueber-stat-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
  margin: 0 0 0.25rem;
}
.ueber-stat-label {
  font-size: 0.75rem;
  color: var(--muted-fg);
  margin: 0;
}

.ueber-values {
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px) {
  .ueber-values { grid-template-columns: repeat(3, 1fr); }
}
.ueber-value-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.ueber-value-desc {
  font-size: 0.9rem;
  color: var(--muted-fg);
  line-height: 1.65;
  margin: 0;
}

.ueber-video-placeholder {
  aspect-ratio: 16/9;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.ueber-video-play {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ueber-video-label {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin: 0;
}

/* ── Elementor hero ───────────────────────────────────────────────────────── */

/* Section: full-viewport, dark bg */
.elementor-section.el-hero {
  position: relative !important;
  min-height: 100svh !important;
  background: #252c38 !important;
  overflow: hidden !important;
  /* neutralise Elementor's own flex wrapping */
  display: block !important;
}

/* Portrait column: ripped out of flex flow, covers right 50% of section */
.elementor-section.el-hero .el-hero-portrait {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 50% !important;
  z-index: 0 !important;
  overflow: hidden !important;
}
/* All intermediate Elementor containers must fill the column height */
.elementor-section.el-hero .el-hero-portrait > *,
.elementor-section.el-hero .el-hero-portrait > * > *,
.elementor-section.el-hero .el-hero-portrait > * > * > *,
.elementor-section.el-hero .el-hero-portrait > * > * > * > * {
  padding: 0 !important;
  margin: 0 !important;
  height: 100% !important;
  display: block !important;
  position: static !important;
}
/* figure (Elementor image wrapper) and img: fill absolutely */
.elementor-section.el-hero .el-hero-portrait figure,
.elementor-section.el-hero .el-hero-portrait .elementor-image {
  position: absolute !important;
  inset: 0 !important;
  height: 100% !important;
  margin: 0 !important;
}
.elementor-section.el-hero .el-hero-portrait img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block !important;
}
/* Gradient overlay — identical to production: solid dark → 55% mid → transparent */
.elementor-section.el-hero .el-hero-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  /* gradient runs left→right across the right-half column, matching the production
     which runs: #252c38 0% → rgba(22,30,46,0.55) 45% → transparent 100% */
  background: linear-gradient(to right,
    #252c38                    0%,
    rgba(22, 30, 46, 0.55)    45%,
    transparent               100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Text column: sits in normal flow, takes left ~54% */
.elementor-section.el-hero .el-hero-text {
  position: relative !important;
  z-index: 2 !important;
  width: 54% !important;
  max-width: 54% !important;
}
.elementor-section.el-hero > .elementor-container {
  max-width: 100% !important;
  padding: 0 !important;
  position: static !important;
  z-index: 2;
}
/* Inner text padding matches original .hero-inner */
.el-hero-text .elementor-widget-wrap {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding-top: max(5rem, calc(var(--header-h, 72px) + 2rem)) !important;
  padding-bottom: 5rem !important;
  padding-left: max(60px, calc((100vw - 1200px) / 2 + 60px)) !important;
  padding-right: 80px !important;
  min-height: 100% !important;
}

/* H1 fluid size */
.el-hero-text .elementor-heading-title {
  font-size: clamp(2.5rem, 6vw, 5rem) !important;
}

/* Mobile: portrait becomes a faded full-section background, text takes full width */
@media (max-width: 1023px) {
  .elementor-section.el-hero .el-hero-portrait {
    left: 0 !important;
  }
  .elementor-section.el-hero .el-hero-portrait img {
    opacity: 0.22;
    object-position: center top !important;
  }
  /* On mobile: gradient fades out the lower half so text at bottom is readable,
     but leaves the upper portion (face) visible */
  .elementor-section.el-hero .el-hero-portrait::after {
    background: linear-gradient(to bottom,
      transparent             0%,
      transparent            35%,
      rgba(37, 44, 56, 0.6)  55%,
      #252c38                80%,
      #252c38               100%
    );
  }
  .elementor-section.el-hero .el-hero-text {
    width: 100% !important;
    max-width: 100% !important;
  }
  /* Text anchored to bottom so face is visible above */
  .el-hero-text .elementor-widget-wrap {
    justify-content: flex-end !important;
    padding-top: 42svh !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    padding-bottom: 3rem !important;
  }
  .el-hero-text .elementor-heading-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem) !important;
  }
}

/* Hero icon-list: white text */
.el-hero-text .elementor-icon-list-text { color: rgba(255,255,255,0.85) !important; }

/* ── Hero button row ────────────────────────────────────────────────────────
   Override Elementor's 50/50 column split: collapse to a tight flex row
   so both buttons sit side by side with a fixed gap regardless of viewport.
──────────────────────────────────────────────────────────────────────────── */
.el-hero-text .elementor-inner-section > .elementor-container {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 0.875rem !important;
  padding: 0 !important;
  align-items: center !important;
}
.el-hero-text .elementor-inner-section .elementor-column {
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  padding: 0 !important;
}
.el-hero-text .elementor-inner-section .elementor-widget-wrap {
  padding: 0 !important;
  min-height: unset !important;
}
.el-hero-text .elementor-button {
  white-space: nowrap !important;
}
.el-hero-text .elementor-widget-button,
.el-hero-text .elementor-button-wrapper {
  width: auto !important;
}

/* ── Inner page header (dark band) ─────────────────────────────────────── */
.el-page-header {
  background: #252c38 !important;
}
.el-page-header .elementor-heading-title {
  font-family: 'Playfair Display', serif !important;
  color: #ffffff !important;
  letter-spacing: -0.02em;
}
.el-page-header .elementor-widget-text-editor p {
  font-family: Inter, sans-serif !important;
  color: rgba(255,255,255,0.72) !important;
  font-size: 1.0625rem !important;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* Hero eyebrow */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #6b9bc5;
  font-family: Inter, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: #6b9bc5;
  flex-shrink: 0;
}

/* Hero buttons */
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.875rem 1.75rem;
  background: #fff; color: #252c38 !important;
  font-family: Inter, sans-serif; font-weight: 600; font-size: 0.9375rem;
  border-radius: 4px; text-decoration: none; transition: background 0.15s;
}
.btn-hero-primary:hover { background: #e8ecf1; }
.btn-hero-ghost {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.875rem 1.75rem;
  background: transparent; color: #fff !important;
  font-family: Inter, sans-serif; font-weight: 600; font-size: 0.9375rem;
  border: 2px solid rgba(255,255,255,0.45); border-radius: 4px;
  text-decoration: none; transition: border-color 0.15s, background 0.15s;
}
.btn-hero-ghost:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.08); }

/* Trust strip */
.el-trust { border-top: 1px solid rgba(255,255,255,0.1) !important; }
/* Native icon-list widget in trust strip — single horizontal row */
.el-trust .elementor-icon-list-items {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0 2.25rem !important;
}
.el-trust .elementor-icon-list-item {
  display: flex !important;
  align-items: center !important;
  width: auto !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Kill Elementor traditional-layout margin between siblings */
.el-trust .elementor-icon-list-item + .elementor-icon-list-item {
  margin-top: 0 !important;
}
.el-trust .elementor-icon-list-icon {
  margin-right: 0.4rem !important;
  display: flex !important;
  align-items: center !important;
}
/* Mobile: stack trust items vertically */
@media (max-width: 767px) {
  .el-trust .elementor-icon-list-items {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0.35rem 0 !important;
    padding-left: 0.5rem !important;
  }
  .el-trust .elementor-icon-list-item {
    width: 100% !important;
    white-space: nowrap !important;
    font-size: 13px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
.el-trust-items {
  display: flex;
  justify-content: center;
  gap: 0.75rem 2.5rem;
  flex-wrap: wrap;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
}

/* ── Rechtsgebiete 2-column sections ────────────────────────────────────── */

/* Columns top-aligned, fixed 50/50 */
.el-rg-sec > .elementor-container {
  align-items: flex-start !important;
  gap: 0 !important;
}
.el-rg-sec .elementor-col-42,
.el-rg-sec .elementor-col-58 {
  width: 50% !important;
  max-width: 50% !important;
  flex: 0 0 50% !important;
}
.el-rg-sec .elementor-col-42 > .elementor-widget-wrap {
  padding-right: 3rem !important;
}

/* Icon in a rounded accent box */
.el-rg-sec .elementor-col-42 .elementor-widget-icon:first-child .elementor-icon {
  width: 4.5rem !important;
  height: 4.5rem !important;
  background: rgba(45,74,110,0.09) !important;
  border-radius: 1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.el-rg-sec .elementor-col-42 .elementor-widget-icon:first-child svg {
  width: 2rem !important;
  height: 2rem !important;
}

/* Right col: tighter list spacing */
.el-rg-sec .elementor-col-58 .elementor-icon-list-items {
  gap: 0.25rem 0 !important;
}
.el-rg-sec .elementor-col-58 .elementor-icon-list-item + .elementor-icon-list-item {
  margin-top: 0 !important;
}

/* "Leistungen im Überblick" label styling */
.el-rg-sec .elementor-col-58 > .elementor-widget-wrap > .elementor-widget-heading:first-child .elementor-heading-title {
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  color: #2d4a6e !important;
}

/* Mobile: stack left over right */
@media (max-width: 767px) {
  .el-rg-sec > .elementor-container {
    flex-direction: column !important;
  }
  .el-rg-sec .elementor-col-42,
  .el-rg-sec .elementor-col-58 {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ── Bio section (Über mich – text left, photo + dark card right) ──────── */
.el-bio > .elementor-container {
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 3rem !important;
}
.el-bio > .elementor-container > .elementor-col-58 {
  flex: 0 0 calc(55% - 1.5rem) !important;
  width: calc(55% - 1.5rem) !important;
  max-width: calc(55% - 1.5rem) !important;
  min-width: 0 !important;
}
.el-bio > .elementor-container > .elementor-col-42 {
  flex: 0 0 calc(45% - 1.5rem) !important;
  width: calc(45% - 1.5rem) !important;
  max-width: calc(45% - 1.5rem) !important;
  min-width: 0 !important;
}

/* Card column: transparent wrapper, no clipping */
.el-bio-card > .elementor-widget-wrap {
  padding: 0 !important;
  background: transparent !important;
  overflow: visible !important;
  gap: 0 !important;
  --widgets-spacing: 0px 0px !important;
}

/* Photo: no border, no shadow — floats on white section bg, ABOVE the box */
.el-bio-card .elementor-widget-image {
  position: relative !important;
  z-index: 3 !important;
}
.el-bio-card .elementor-widget-image img {
  width: 100% !important;
  height: auto !important;
  border-radius: 0 !important;
  display: block !important;
  box-shadow: none !important;
}

/* Dark box: first icon-box after image uses sibling selector to pull up */
.el-bio-card .elementor-widget-icon-box {
  background: #2d4a6e !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 1 !important;
}
.el-bio-card .elementor-widget-image + .elementor-widget-icon-box {
  border-radius: 1rem 1rem 0 0 !important;
  margin-top: -20px !important;
}
.el-bio-card .elementor-widget-icon-box:last-child {
  border-radius: 0 0 1rem 1rem !important;
}
.el-bio-card .elementor-widget-icon-box + .elementor-widget-icon-box {
  border-top: 1px solid rgba(255,255,255,0.1) !important;
  margin-top: -5px !important;
}

/* Stats: icon left, number + label right */
.el-bio-card .elementor-widget-icon-box .elementor-icon-box-wrapper {
  flex-direction: row !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 1rem 1.5rem !important;
}
.el-bio-card .elementor-widget-icon-box .elementor-icon-box-icon {
  margin: 0 !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.el-bio-card .elementor-widget-icon-box .elementor-icon-box-icon .elementor-icon {
  width: auto !important;
  height: auto !important;
  background: none !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.el-bio-card .elementor-widget-icon-box .elementor-icon-box-icon svg,
.el-bio-card .elementor-widget-icon-box .elementor-icon-box-icon i,
.el-bio-card .elementor-widget-icon-box .elementor-icon-box-icon .elementor-icon i,
.el-bio-card .elementor-widget-icon-box .elementor-icon-box-icon .elementor-icon svg {
  width: 1.5rem !important;
  height: 1.5rem !important;
  color: rgba(255,255,255,0.75) !important;
  fill: rgba(255,255,255,0.75) !important;
  opacity: 1 !important;
}
.el-bio-card .elementor-widget-icon-box .elementor-icon-box-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}
.el-bio-card .elementor-widget-icon-box .elementor-icon-box-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1 !important;
  margin: 0 0 0.2rem 0 !important;
}
.el-bio-card .elementor-widget-icon-box .elementor-icon-box-description {
  font-family: Inter, sans-serif !important;
  font-size: 0.875rem !important;
  color: rgba(255,255,255,0.85) !important;
  letter-spacing: 0.02em !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

/* Mobile */
@media (max-width: 767px) {
  .el-bio > .elementor-container {
    flex-wrap: wrap !important; gap: 1.5rem !important;
  }
  .el-bio > .elementor-container > .elementor-col-58,
  .el-bio > .elementor-container > .elementor-col-42 {
    flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important;
  }
}

/* ── Werte cards (Über mich – light bg) ────────────────────────────────── */
.el-werte .elementor-inner-section > .elementor-container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1.25rem !important;
  padding: 0 !important;
  align-items: stretch !important;
}
.el-werte .elementor-inner-section .elementor-column {
  background: #ffffff !important;
  border: 1px solid rgba(45,74,110,0.12) !important;
  border-radius: 0.875rem !important;
  flex: 1 1 0 !important;
  width: auto !important;
  max-width: none !important;
  box-shadow: 0 2px 12px rgba(45,74,110,0.06) !important;
  transition: box-shadow 0.2s, transform 0.2s !important;
}
.el-werte .elementor-inner-section .elementor-column:hover {
  box-shadow: 0 6px 24px rgba(45,74,110,0.12) !important;
  transform: translateY(-3px);
}
.el-werte .elementor-inner-section .elementor-widget-wrap {
  padding: 2.25rem 1.75rem !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
.el-werte .elementor-icon-box-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}
.el-werte .elementor-icon-box-content { text-align: center !important; }
.el-werte .elementor-icon-box-icon {
  margin-bottom: 1.25rem !important;
  margin-right: 0 !important;
  display: flex !important;
  justify-content: center !important;
}
.el-werte .elementor-icon-box-icon .elementor-icon {
  width: 3.5rem !important;
  height: 3.5rem !important;
  background: rgba(45,74,110,0.08) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.el-werte .elementor-icon-box-icon svg {
  width: 1.5rem !important;
  height: 1.5rem !important;
}
.el-werte .elementor-icon-box-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.1875rem !important;
  font-weight: 700 !important;
  color: #252c38 !important;
  margin-bottom: 0.625rem !important;
  text-align: center;
}
.el-werte .elementor-icon-box-description {
  font-family: Inter, sans-serif !important;
  font-size: 0.9375rem !important;
  color: #6c737f !important;
  line-height: 1.6 !important;
  text-align: center;
  margin: 0 !important;
}
@media (max-width: 767px) {
  .el-werte .elementor-inner-section > .elementor-container {
    flex-direction: column !important;
  }
  .el-werte .elementor-inner-section .elementor-column {
    width: 100% !important;
    flex: 0 0 auto !important;
  }
}

/* ── Services Fachgebiete cards ─────────────────────────────────────────── */
.el-services .elementor-inner-section > .elementor-container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1.25rem !important;
  padding: 0 !important;
  align-items: stretch !important;
}

/* Each column becomes a card */
.el-services .elementor-inner-section .elementor-column {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 0.875rem !important;
  flex: 1 1 0 !important;
  width: auto !important;
  max-width: none !important;
  transition: background 0.2s, border-color 0.2s, transform 0.2s !important;
}
.el-services .elementor-inner-section .elementor-column:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(100,160,220,0.4) !important;
  transform: translateY(-3px);
}

/* Padding inside card */
.el-services .elementor-inner-section .elementor-widget-wrap {
  padding: 2.25rem 1.75rem !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* Force icon-box to stack icon above text, centered */
.el-services .elementor-icon-box-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}
.el-services .elementor-icon-box-content {
  text-align: center !important;
}

/* Icon circle */
.el-services .elementor-icon-box-icon {
  margin-bottom: 1.25rem !important;
  margin-right: 0 !important;
  display: flex !important;
  justify-content: center !important;
}
.el-services .elementor-icon-box-icon .elementor-icon {
  width: 3.5rem !important;
  height: 3.5rem !important;
  background: rgba(100,160,220,0.15) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.el-services .elementor-icon-box-icon svg {
  width: 1.5rem !important;
  height: 1.5rem !important;
}

/* Title & description */
.el-services .elementor-icon-box-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.1875rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 0.625rem !important;
  text-align: center;
}
.el-services .elementor-icon-box-description {
  font-family: Inter, sans-serif !important;
  font-size: 0.9375rem !important;
  color: rgba(255,255,255,0.65) !important;
  line-height: 1.6 !important;
  text-align: center;
  margin: 0 !important;
}

/* Mobile: stack cards */
@media (max-width: 767px) {
  .el-services .elementor-inner-section > .elementor-container {
    flex-direction: column !important;
  }
  .el-services .elementor-inner-section .elementor-column {
    width: 100% !important;
    flex: 0 0 auto !important;
  }
}

/* Legacy: native CSS grid classes (unused but kept) */
.el-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 640px) {
  .el-services-grid { grid-template-columns: 1fr; }
}
.el-svc-desc {
  font-family: Inter, sans-serif;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin: 0;
}

/* Kanzlei photo placeholder */
.el-kanzlei-photo .elementor-image img {
  border-radius: 0.5rem;
  width: 100%;
  object-fit: cover;
}

/* Über mich portrait: rounded corners, full width, vertically centred */
.el-ueber-portrait {
  display: flex;
  align-items: center;
  justify-content: center;
}
.el-ueber-portrait .elementor-image img {
  border-radius: 0.5rem;
  width: 100%;
  height: auto;
  display: block;
}

/* Rechtsgebiete: section icon + title header row */
.el-rg-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}
.el-rg-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(45, 74, 110, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.el-rg-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #252c38;
  margin: 0 0 4px 0;
}
.el-rg-tagline {
  font-family: Inter, sans-serif;
  font-size: 0.875rem;
  color: #2d4a6e;
  font-weight: 600;
  margin: 0;
}

/* Kontakt: "oder" divider */
.el-kontakt-or {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0;
  font-family: Inter, sans-serif;
  font-size: 0.875rem;
  color: #9aa0ab;
}
.el-kontakt-or::before,
.el-kontakt-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e1e3e8;
}

/* ── Elementor integration ───────────────────────────────────────────────── */
/* Push first section below fixed header. For non-hero pages only;
   .el-hero sections are transparent-header and fill from top. */
#main-content > .elementor > .elementor-inner > .elementor-section:first-child:not(.el-hero) {
  padding-top: calc(var(--header-h) + 3rem) !important;
}

/* Constrain Elementor column content to 1200px max-width */
.elementor-section .elementor-container {
  max-width: 1200px !important;
  margin-left: auto  !important;
  margin-right: auto !important;
  padding-left: 1.5rem  !important;
  padding-right: 1.5rem !important;
}
@media (min-width: 1024px) {
  .elementor-section .elementor-container {
    padding-left: 2rem  !important;
    padding-right: 2rem !important;
  }
}

/* Elementor typography: force our design tokens */
.elementor-widget-heading .elementor-heading-title { line-height: 1.2; }
.elementor-widget-text-editor p { line-height: 1.75; }

/* Elementor icon-box: left-align by default */
.elementor-widget-icon-box .elementor-icon-box-wrapper { text-align: left; }

/* Remove extra margin Elementor adds below main */
#main-content.elementor-page { padding-bottom: 0; }
