/* Theme: Withus & Partner — Trust & Authority (navy / gold) */
:root {
  --admin-surface: rgba(248, 250, 252, 0.97);
  --admin-surface-raised: rgba(255, 255, 255, 0.96);
  --admin-surface-muted: rgba(226, 232, 240, 0.9);
  --admin-surface-subtle: rgba(241, 245, 249, 0.88);
  --admin-surface-soft: rgba(226, 232, 240, 0.72);
  --admin-surface-input: rgba(255, 255, 255, 0.98);
  --admin-surface-chip: rgba(226, 232, 240, 0.95);
  --admin-surface-chip-soft: rgba(226, 232, 240, 0.88);
  --admin-surface-role: rgba(248, 250, 252, 0.9);
  --admin-surface-session: rgba(248, 250, 252, 0.92);
  --admin-surface-table: rgba(248, 250, 252, 0.8);
  --admin-surface-legend: rgba(248, 250, 252, 0.95);
  --admin-surface-summary: rgba(255, 255, 255, 0.94);
  --admin-surface-calendar-end: rgba(226, 232, 240, 0.96);
  --admin-surface-calendar-inset: rgba(248, 250, 252, 0.88);
  --admin-surface-time-col: rgba(226, 232, 240, 0.98);
  --admin-surface-row-alt: rgba(248, 250, 252, 0.96);
  --admin-surface-hover: rgba(248, 250, 252, 0.86);
  --admin-surface-weekend: rgba(26, 39, 68, 0.06);
  --admin-surface-weekend-alt: rgba(26, 39, 68, 0.04);
  --admin-surface-today: rgba(201, 162, 39, 0.12);
  --admin-surface-cell: rgba(248, 250, 252, 0.5);
  --admin-surface-event: rgba(255, 255, 255, 0.99);
  --admin-surface-event-strong: #ffffff;
  --admin-surface-event-alt: rgba(226, 232, 240, 0.94);
  --admin-surface-event-new: rgba(201, 162, 39, 0.1);
  --admin-surface-event-hover: rgba(248, 250, 252, 0.96);
  --admin-surface-blocked: rgba(226, 232, 240, 0.94);
  --admin-surface-blocked-alt: rgba(26, 39, 68, 0.05);
  --admin-surface-blocked-event: rgba(226, 232, 240, 0.98);
  --admin-border: rgba(26, 39, 68, 0.1);
  --admin-border-soft: rgba(26, 39, 68, 0.06);
  --admin-border-mid: rgba(26, 39, 68, 0.12);
  --admin-border-strong: rgba(26, 39, 68, 0.16);
  --admin-border-input: rgba(26, 39, 68, 0.18);
  --admin-border-nav: rgba(26, 39, 68, 0.08);
  --admin-border-chip: rgba(26, 39, 68, 0.12);
  --admin-border-summary: rgba(26, 39, 68, 0.14);
  --admin-border-hover: rgba(201, 162, 39, 0.34);
  --admin-border-hover-soft: rgba(201, 162, 39, 0.24);
  --admin-border-focus: rgba(201, 162, 39, 0.42);
  --admin-border-dashed: rgba(26, 39, 68, 0.22);
  --admin-border-today: rgba(201, 162, 39, 0.34);
  --admin-border-event: rgba(26, 39, 68, 0.12);
  --admin-focus: rgba(201, 162, 39, 0.2);
  --admin-tint-1: rgba(248, 250, 252, 0.98);
  --admin-tint-2: rgba(255, 255, 255, 0.96);
  --admin-glow: rgba(201, 162, 39, 0.14);
  --admin-glow-soft: rgba(201, 162, 39, 0.09);
  --admin-glow-end: rgba(248, 250, 252, 0.3);
  --admin-glow-end-fade: rgba(248, 250, 252, 0.24);
  --admin-table-head: rgba(226, 232, 240, 0.92);
  --admin-table-head-strong: rgba(226, 232, 240, 0.98);
  --admin-table-head-soft: rgba(226, 232, 240, 0.95);
  --admin-summary-shadow: 0 6px 18px rgba(26, 39, 68, 0.05);
  --admin-accent-solid: rgba(201, 162, 39, 0.9);
  --admin-accent-event: rgba(26, 39, 68, 0.95);
  --admin-event-text: var(--text);
  --admin-today: #c9a227;
  --admin-error: #b91c1c;
  --admin-success: #15803d;
  --admin-danger: #b91c1c;
  --admin-empty: rgba(100, 116, 139, 0.55);
  --bg: #f8fafc;
  --bg-soft: #f1f5f9;
  --bg-alt: #f1f5f9;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-strong: #ffffff;
  --text: #020617;
  --muted: #475569;
  --line: rgba(15, 23, 42, 0.1);
  --accent: #ca8a04;
  --accent-deep: #a16207;
  --accent-soft: rgba(202, 138, 4, 0.12);
  --accent-cta: #ca8a04;
  --navy: #0f172a;
  --navy-deep: #020617;
  --shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
  --hero-overlay: linear-gradient(135deg, rgba(15, 23, 42, 0.04) 0%, transparent 55%);
  --body-bg: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  --header-bg: rgba(255, 255, 255, 0.88);
  --button-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --button-text: #ffffff;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --container: 1180px;
  --font-serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Lato", system-ui, sans-serif;
  --section-gap: clamp(4.5rem, 9vw, 6.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--body-bg);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: fixed;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: var(--header-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: top 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  top: 0.5rem;
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.96);
}

body.theme-kanzlei {
  padding-top: 5.5rem;
}

body.theme-kanzlei.legal-page {
  padding-top: 6rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  background: var(--navy);
  color: var(--accent);
  border: 1px solid rgba(201, 162, 39, 0.35);
}

.brand-mark--small {
  width: 2rem;
  height: 2rem;
  font-size: 0.9rem;
}

.brand-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.72rem;
}

.main-nav {
  display: none;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

@media (min-width: 900px) {
  .main-nav {
    display: flex;
  }
}

.main-nav a:hover {
  color: var(--accent-deep);
}

.main-nav a {
  transition: color 0.2s ease;
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-select-control {
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
  font-size: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button-primary {
  background: var(--button-bg);
  color: var(--button-text);
  box-shadow: var(--shadow-soft);
}

.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.button-accent {
  background: linear-gradient(135deg, #ca8a04 0%, #a16207 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(202, 138, 4, 0.28);
}

.button-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(202, 138, 4, 0.35);
}

.button-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button-small {
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(202, 138, 4, 0.08), transparent 60%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26, 39, 68, 0.03) 25%, transparent 25%) -20px 0,
    linear-gradient(225deg, rgba(26, 39, 68, 0.03) 25%, transparent 25%) -20px 0,
    linear-gradient(315deg, rgba(26, 39, 68, 0.03) 25%, transparent 25%),
    linear-gradient(45deg, rgba(26, 39, 68, 0.03) 25%, transparent 25%);
  background-size: 40px 40px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--navy-deep);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-lead {
  color: var(--muted);
  max-width: 34rem;
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-meta li {
  font-size: 0.78rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 0;
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.hero-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(26, 39, 68, 0.88);
  color: #fff;
  font-size: 0.78rem;
  backdrop-filter: blur(8px);
}

/* Trust bar */
.trust-bar {
  background: var(--navy);
  color: #fff;
  padding: 1.5rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--accent);
  margin-bottom: 0.15rem;
}

.trust-item span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

/* Sections */
.section {
  padding: var(--section-gap) 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--compact {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.section-intro {
  margin-bottom: 2.5rem;
}

.section-intro--center {
  text-align: center;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.section-intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: var(--navy-deep);
}

.section-lead {
  color: var(--muted);
  margin: 0;
  font-size: 1.02rem;
}

/* Service cards */
.service-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .service-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.service-card:hover {
  border-color: rgba(202, 138, 4, 0.4);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-serif);
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Service list (no public prices) */
.service-list-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .service-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-list-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.service-list-card h3 {
  margin: 0;
  padding: 1rem 1.25rem;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
}

.service-list-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-list-card li {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--line);
}

.service-list-card li strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.service-list-description {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.service-list-meta {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Kanzlei */
.kanzlei-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .kanzlei-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.kanzlei-copy p {
  color: var(--muted);
}

.team-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.team-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.team-list strong {
  display: block;
  font-family: var(--font-serif);
}

.team-list span {
  font-size: 0.88rem;
  color: var(--muted);
}

.kanzlei-visuals {
  display: grid;
  gap: 1rem;
}

.kanzlei-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.kanzlei-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.kanzlei-photo--secondary {
  max-width: 75%;
  margin-left: auto;
}

/* Career */
.career-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: #fff;
}

.career-banner h2 {
  color: #fff;
}

.career-banner p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 32rem;
}

.career-banner .eyebrow {
  color: var(--accent);
}

/* Booking */
.booking-stack {
  max-width: 56rem;
  margin: 0 auto;
}

.privacy-note {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1px solid rgba(201, 162, 39, 0.25);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.privacy-note strong {
  display: block;
  margin-bottom: 0.25rem;
}

.privacy-note p {
  margin: 0;
  color: var(--muted);
}

.booking-panel {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .booking-panel {
    grid-template-columns: 1fr 1fr;
  }
}

.calendar-panel,
.booking-form {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.calendar-panel h3,
.booking-form h3 {
  font-family: var(--font-serif);
  margin: 0 0 0.25rem;
}

.panel-hint {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 1rem;
}

.day-selector {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.day-button {
  flex: 0 0 auto;
  min-width: 4.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--text);
  cursor: pointer;
  text-align: center;
}

.day-button:hover,
.day-button:focus-visible {
  border-color: rgba(201, 162, 39, 0.35);
}

.day-button.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--navy);
}

.day-button strong {
  display: block;
  font-size: 0.78rem;
}

.day-button span {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
}

.day-button small {
  font-size: 0.72rem;
  color: var(--muted);
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.slot-button {
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-alt);
  cursor: pointer;
  text-align: left;
}

.slot-button:hover:not(:disabled),
.slot-button:focus-visible:not(:disabled) {
  border-color: rgba(201, 162, 39, 0.35);
}

.slot-button.active {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.slot-button.is-booked {
  opacity: 0.45;
  cursor: not-allowed;
}

.slot-button strong {
  display: block;
}

.slot-button small {
  color: var(--muted);
  font-size: 0.78rem;
}

.slot-empty-state {
  grid-column: 1 / -1;
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
}

.booking-form label {
  display: block;
  margin-bottom: 0.85rem;
}

.booking-form label span {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: 2px solid var(--admin-focus);
  border-color: var(--accent);
}

.booking-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.form-feedback {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  min-height: 1.25rem;
}

.form-feedback.is-error {
  color: var(--admin-error);
}

.form-feedback.is-success {
  color: var(--admin-success);
}

/* Contact */
.contact-stack {
  text-align: center;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  text-align: left;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.contact-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.contact-list {
  margin: 0 0 1.5rem;
}

.contact-list div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.5rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(26, 39, 68, 0.06);
}

.contact-list dt {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-list dd {
  margin: 0;
}

.contact-list a:hover {
  color: var(--accent);
}

.contact-map {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.contact-map img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-family: var(--font-serif);
}

.footer-brand p {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Legal */
.legal-page .legal-main {
  padding: 3rem 0 4rem;
}

.legal-card {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.legal-card h1 {
  font-family: var(--font-serif);
}

.legal-card h2 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-top: 1.5rem;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

/* Admin shared */
.admin-body {
  min-height: 100vh;
  background: var(--body-bg);
}

.page-glow {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.page-glow-left {
  top: -8rem;
  left: -8rem;
  background: rgba(201, 162, 39, 0.2);
}

.page-glow-right {
  bottom: -8rem;
  right: -8rem;
  background: rgba(26, 39, 68, 0.15);
}

@media (max-width: 640px) {
  .header-actions .button-primary {
    display: none;
  }

  .header-actions .button-accent {
    display: inline-flex !important;
  }

  .slot-grid {
    grid-template-columns: 1fr;
  }
}

/* Lokaly attribution — shared across demo sites */
.footer-made-by {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  text-align: center;
}

.footer-made-by__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: inherit;
  opacity: 0.5;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-made-by__link:hover {
  opacity: 0.8;
}

.footer-made-by__logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ── Scroll reveal animations ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Process steps ── */
.process-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--accent);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.process-step h3 {
  font-family: var(--font-serif);
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── Credentials carousel ── */
.credentials-section {
  overflow: hidden;
  padding: 2rem 0;
  background: var(--navy);
  color: #fff;
}

.credentials-wrap {
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.credential-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  will-change: transform;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
}

.credential-item svg {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--accent);
  flex-shrink: 0;
}

/* ── Testimonials ── */
.testimonial-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-card blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--navy);
}

.testimonial-card footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.testimonial-card footer strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-card footer span {
  font-size: 0.8rem;
  color: var(--muted);
}

.testimonial-stars {
  display: flex;
  gap: 0.15rem;
  color: var(--accent);
}

.testimonial-stars svg {
  width: 1rem;
  height: 1rem;
}

/* ── Gallery ── */
.gallery-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery-item {
  flex: 0 0 min(78vw, 22rem);
  scroll-snap-align: start;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 0.75rem 1rem;
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── Values strip ── */
.values-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
}

.value-card svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--accent);
  margin: 0 auto 0.65rem;
}

.value-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.value-card span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ── Hero visual frame ── */
.hero-visual-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.35));
  pointer-events: none;
}

.hero-visual-accent {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: rgba(202, 138, 4, 0.15);
  border: 1px solid rgba(202, 138, 4, 0.3);
  z-index: -1;
}

.trust-item {
  opacity: 0;
  transform: translateY(12px);
  animation: trustFadeIn 0.6s ease forwards;
}

.trust-item:nth-child(1) { animation-delay: 0.1s; }
.trust-item:nth-child(2) { animation-delay: 0.2s; }
.trust-item:nth-child(3) { animation-delay: 0.3s; }
.trust-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes trustFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-item {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ── Responsive images ── */
@media (max-width: 900px) {
  .hero-visual-frame,
  .hero-visual {
    margin-top: 0.75rem;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-visual-accent {
    width: 3.5rem;
    height: 3.5rem;
    top: -0.5rem;
    right: 0;
  }

  .kanzlei-grid {
    grid-template-columns: 1fr;
  }

  .kanzlei-photo--secondary {
    max-width: 100%;
    margin-left: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map img {
    max-height: 16rem;
  }

  #galerie .gallery-scroll {
    scroll-padding-inline: 1rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-bottom: 2rem;
  }

  .hero-visual img,
  .hero-visual-frame img {
    aspect-ratio: 3 / 2;
  }

  .gallery-item {
    flex: 0 0 min(82vw, 18rem);
  }

  .gallery-item img {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
}

