:root {
  color-scheme: dark;
  --bg-dark: #0f0f0f;
  --bg-card: #151515;
  --bg-soft: #101010;
  --text-light: #e7e7e7;
  --text-muted: #9ca3af;
  --accent: #4bc2ff;
  --accent-soft: rgba(75, 194, 255, 0.12);
  --bg-base: #020617;
  --panel-bg: rgba(15, 23, 42, 0.96);
  --panel-border: 1px solid rgba(31, 41, 55, 0.9);
  --page-bg-image: url("../images/tech-bg.31e8a622178a.webp");
  --page-bg-overlay: linear-gradient(
    180deg,
    rgba(111, 124, 154, 0.55),
    rgba(115, 127, 154, 0.38)
  );
  --page-shell-overlay: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.522),
    rgb(255, 255, 255)
  );
  --page-shell-glass: rgba(10, 15, 27, 0.55);
  --panel-radius: 0.9rem;
  --border-soft: rgba(148, 163, 184, 0.6);
  --border-strong: rgba(148, 163, 184, 0.9);
  --radius: 0.9rem;
  --shadow-soft: 0 1.4rem 3rem rgba(0, 0, 0, 0.6);
  --space-page: clamp(1rem, 1.8vw + 0.6rem, 1.75rem);
  --space-section: clamp(1.1rem, 1.6vw + 0.7rem, 1.6rem);
  --space-gap: clamp(1.05rem, 1vw + 0.6rem, 1.5rem);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg-dark: #f3f4f8;
  --bg-card: #ffffff;
  --bg-soft: #ffffff;
  --text-light: #0f172a;
  --text-muted: #475569;
  --accent: #4bc2ff;
  --accent-soft: rgba(75, 194, 255, 0.16);
  --bg-base: #f7f7fb;
  --panel-bg: rgba(255, 255, 255, 0.92);
  --panel-border: 1px solid rgba(148, 163, 184, 0.35);
  --page-bg-image: none;
  --page-bg-overlay: linear-gradient(
    180deg,
    rgba(222, 220, 222, 1),
    rgba(222, 220, 222, 1)
  );
  --page-shell-overlay: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.36),
    rgba(148, 163, 184, 0.12)
  );
  --page-shell-glass: rgba(255, 255, 255, 0.7);
  --border-soft: rgba(148, 163, 184, 0.55);
  --border-strong: rgba(148, 163, 184, 0.75);
  --radius: 0.9rem;
  --shadow-soft: 0 1.1rem 2.4rem rgba(15, 23, 42, 0.16);
}

:root[data-theme="light"] body::before {
  background: linear-gradient(180deg, var(--bg-base), var(--bg-base));
  opacity: 0.12;
  filter: none;
}

:root[data-theme="light"] header.hero {
  background: var(--bg-base);
  border-color: transparent;
  box-shadow: none;
}

:root[data-theme="light"] .hero-fold-toggle {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.86),
    rgba(255, 255, 255, 0.7)
  );
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.7);
  box-shadow: 0 0.8rem 1.6rem rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .hero-card {
  background:
    radial-gradient(
      circle at 10% 0,
      rgba(148, 163, 184, 0.18),
      transparent 60%
    ),
    linear-gradient(145deg, #f5f6f8, #eef2f7);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.14);
}

:root[data-theme="light"] .section {
  background: transparent;
  border: none;
  box-shadow: none;
}

:root[data-theme="light"] .service-card,
:root[data-theme="light"] .price-card,
:root[data-theme="light"] .step-card,
:root[data-theme="light"] .manual-card,
:root[data-theme="light"] .contact-text,
:root[data-theme="light"] .contact-card {
  background: rgba(244, 245, 248, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 0.9rem 1.6rem rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .contact-notice {
  background:
    linear-gradient(
      120deg,
      rgba(148, 163, 184, 0.18),
      rgba(148, 163, 184, 0.14)
    ),
    #f5f6f8;
  color: var(--text-light);
}

:root[data-theme="light"] .calendar-day {
  background: rgba(255, 255, 255, 0.015);
  color: var(--text-light);
}

:root[data-theme="light"] .calendar-day.calendar-free {
  background: rgba(34, 197, 94, 0.18);
  color: #e8ffe8;
}

:root[data-theme="light"] .calendar-day.calendar-busy {
  background: rgba(59, 130, 246, 0.08);
}

:root[data-theme="light"] .calendar-day.calendar-unavailable {
  background: rgba(148, 163, 184, 0.18);
  color: #9ca3af;
}

:root[data-theme="light"] .calendar-day.calendar-holiday,
:root[data-theme="light"] .calendar-day.calendar-sunday {
  border-color: rgba(148, 163, 184, 0.6);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.3);
}

:root[data-theme="light"] .calendar-modal__dialog,
:root[data-theme="light"] .calendar-tooltip__item {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(148, 163, 184, 0.35);
  color: var(--text-light);
}

:root[data-theme="light"] .calendar-modal__list li {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(148, 163, 184, 0.3);
  color: var(--text-light);
}

:root[data-theme="light"] .calendar-tooltip__item {
  color: var(--text-light);
}

:root[data-theme="light"] .badge-soft {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  box-shadow: 0 0.8rem 1.6rem rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .btn-ghost {
  background: #f8fafc;
  color: var(--text-light);
  border-color: rgba(148, 163, 184, 0.55);
  box-shadow: 0 0.9rem 1.8rem rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .btn-ghost:hover {
  background: #eef2f7;
  border-color: var(--accent);
  box-shadow: 0 1.1rem 2.2rem rgba(56, 189, 248, 0.12);
}

:root[data-theme="light"] .lang-switcher,
:root[data-theme="light"] .lang-menu,
:root[data-theme="light"] .lang-option,
:root[data-theme="light"] .lang-inline button {
  background: #ffffff;
  color: var(--text-light);
  border-color: rgba(148, 163, 184, 0.45);
  box-shadow: 0 0.9rem 1.8rem rgba(15, 23, 42, 0.12);
}

:root[data-theme="light"] .lang-option.active {
  background: var(--accent);
  color: #0b1224;
}

:root[data-theme="light"] .hero-fold-toggle,
:root[data-theme="light"] .section-fold-toggle {
  background: #f8fafc;
  color: var(--text-muted);
  border-color: rgba(148, 163, 184, 0.55);
}

:root[data-theme="light"] .contact-call,
:root[data-theme="light"] .availability-pill,
:root[data-theme="light"] .mobile-action-bar,
:root[data-theme="light"] .calendar-day,
:root[data-theme="light"] .calendar-modal__close {
  background: #ffffff;
  color: var(--text-light);
  border-color: rgba(148, 163, 184, 0.4);
  box-shadow: 0 0.9rem 1.6rem rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .mobile-action-bar {
  border-top-color: rgba(148, 163, 184, 0.35);
}

:root[data-theme="light"] .hero-card-avatar::after {
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.45);
  color: var(--text-light);
  box-shadow: 0 0.6rem 1.4rem rgba(15, 23, 42, 0.12);
}

:root[data-theme="light"] .service-card::before,
:root[data-theme="light"] .step-card::before {
  color: rgba(59, 130, 246, 0.22);
}

:root[data-theme="light"] .legal-section {
  background: linear-gradient(145deg, #f7f9fb, #eef1f6);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 1rem 1.8rem rgba(15, 23, 42, 0.1);
}

:root[data-theme="light"] .legal-list {
  color: var(--text-light);
}

:root[data-theme="light"] .legal-callout {
  border: 1px solid rgba(56, 189, 248, 0.5);
  background: rgba(56, 189, 248, 0.08);
  color: #0f172a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--bg-base);
  position: relative;
  isolation: isolate;
  color: var(--text-light);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow-x: hidden;
}

.has-topnav {
  padding-top: clamp(3.75rem, 5vw, 5rem);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--bg-base);
  transform: none;
  filter: none;
  z-index: -1;
  pointer-events: none;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.page-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: calc(var(--space-page) + 2.5rem) clamp(1.2rem, 4vw, 3rem)
    var(--space-page);
}

.page-shell.has-topnav {
  /* extra offset so fixed topnav doesn't overlap content */
  padding-top: calc(var(--space-page) + 5rem);
}

.topnav {
  overflow: hidden;
  background: var(--bg-base);
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 -1px 0 rgba(0, 0, 0, 0.25) inset;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  padding: 0;
}

.topnav a,
.topnav .lang-wrapper {
  float: left;
  display: block;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  padding: 14px 16px;
  white-space: nowrap;
  line-height: 1.2;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease;
  text-align: center;
  position: relative;
}

/* Auth buttons in nav: make primary and ghost visually distinct and easier to tap */
.topnav .auth-cta {
  border-radius: 12px;
  padding: 10px 14px;
  line-height: 1.2;
  margin: 6px 8px;
}

.topnav .auth-cta--login {
  background: linear-gradient(135deg, #4bc2ff, #38bdf8);
  color: var(--bg-base);
  border: 1px solid rgba(56, 189, 248, 0.6);
  box-shadow: 0 10px 24px rgba(56, 189, 248, 0.35);
}

.topnav .auth-cta--login:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(56, 189, 248, 0.45);
}

.topnav .auth-cta--logout {
  background: rgba(15, 23, 42, 0.65);
  color: var(--text-light);
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.45);
}

.topnav .auth-cta--logout:hover {
  transform: translateY(-1px);
  background: rgba(15, 23, 42, 0.82);
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.55);
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
  opacity: 0;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

@keyframes topnavUnderline {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

.form input[type="text"],
.form input[type="email"],
.form input[type="password"],
.form input[type="file"],
.form select,
.form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 0.65rem;
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-light);
  font-size: 1rem;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

:root[data-theme="light"] .form input[type="text"],
:root[data-theme="light"] .form input[type="email"],
:root[data-theme="light"] .form input[type="password"],
:root[data-theme="light"] .form input[type="file"],
:root[data-theme="light"] .form select,
:root[data-theme="light"] .form textarea {
  background: #fff;
  border-color: rgba(148, 163, 184, 0.55);
  color: var(--text-dark);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.22);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form button[type="submit"] {
  margin-top: 0.9rem;
}
.topnav::after {
  content: "";
  display: block;
  clear: both;
}

.topnav a:hover {
  color: #dbeafe;
  text-decoration: none;
}

.topnav a:hover::after,
.topnav a:focus-visible::after {
  animation: topnavUnderline 0.25s ease forwards;
}

.topnav a.active {
  background: transparent;
  color: #dbeafe;
  box-shadow: none;
}

.topnav .icon {
  display: none;
  margin-left: auto;
  padding: 12px 14px;
  background: transparent;
  border: none;
  outline: none;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  align-items: center;
}

.burger-line {
  width: 32px;
  height: 3px;
  background: var(--text-light);
  border-radius: 999px;
  transition:
    transform 0.35s ease,
    opacity 0.3s ease,
    width 0.3s ease;
}

.burger.change .burger-line:nth-child(1) {
  transform: translateY(9px) rotate(-45deg);
}

.burger.change .burger-line:nth-child(2) {
  opacity: 0;
}

.burger.change .burger-line:nth-child(3) {
  transform: translateY(-9px) rotate(45deg);
}

.topnav .lang-wrapper {
  position: relative;
  margin: 0;
  padding: 0;
}

.topnav .lang-switcher {
  color: var(--text-light);
  font-size: 15px;
  background: transparent;
  border: none;
  padding: 0;
}

.topnav .lang-current {
  background: var(--text-light);
  color: var(--bg-base);
  padding: 0.3rem 0.7rem;
  border-radius: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

@media screen and (min-width: 426px) {
  .topnav {
    padding: 0 0.35rem;
  }
  .topnav a,
  .topnav .lang-wrapper {
    padding: 16px 18px;
    font-size: 17px;
  }
  .topnav .icon {
    padding: 16px 18px;
  }
  .topnav .lang-current {
    padding: 0.3rem 0.7rem;
  }
}

@media screen and (max-width: 720px) {
  .topnav a:not(:first-child),
  .topnav .lang-wrapper {
    display: none;
  }
  .topnav .icon {
    display: inline-flex;
  }
}

/* Slide-in sidenav */
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 12000;
  top: 0;
  left: 0;
  background-color: #0f172a;
  overflow-x: hidden;
  transition: 0.45s ease;
  padding-top: 60px;
  text-align: center;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 20px;
  color: #e2e8f0;
  display: block;
  transition: 0.3s;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  margin: 0.2rem 0.4rem;
  box-shadow: 0 0.35rem 0.9rem rgba(0, 0, 0, 0.35);
}

.sidenav .auth-cta {
  display: block;
  text-align: center;
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  font-weight: 700;
  margin: 0.6rem 0.75rem 0.2rem;
  border: 1px solid transparent;
}

.sidenav .auth-cta--login {
  background: linear-gradient(135deg, #4bc2ff, #38bdf8);
  color: var(--bg-base);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 10px 24px rgba(56, 189, 248, 0.35);
}

.sidenav .auth-cta--logout {
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.4);
}

.sidenav a.btn-primary {
  width: calc(100% - 24px);
  margin: 0.5rem 12px;
  text-align: center;
  justify-content: center;
  padding: 0.65rem 0.9rem;
  font-size: 18px;
}

.sidenav a:hover {
  color: #e2e8f0;
}

.sidenav {
  position: fixed;
  /* Keep mobile menu above sticky footer + other overlays */
  z-index: 12000;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #0f172a;
  overflow-x: hidden;
  transition: 0.45s ease;
  padding-top: 60px;
  text-align: center;
}

.sidenav .closebtn {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-block;
  width: 44px;
  height: 44px;
  line-height: 1;
  text-indent: 0;
  overflow: visible;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #e2e8f0;
  font-size: 28px;
  text-align: center;
}

.sidenav .closebtn span {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sidenav .closebtn::before {
  content: none;
}

.sidenav-lang {
  margin-top: 1rem;
}

.sidenav-lang .lang-wrapper {
  display: inline-flex;
}

.sidenav-lang .lang-switcher {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0.35rem 0.9rem rgba(0, 0, 0, 0.35);
  padding: 0.45rem 0.75rem;
  border-radius: 0.75rem;
}

.sidenav-calendar {
  margin-top: 1.2rem;
  text-align: left;
  padding: 0.5rem 1rem 1rem;
}

.sidenav-calendar .section-kicker {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 700;
}

.sidenav-calendar .section-title {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.1rem;
  color: #e2e8f0;
}

.sidenav-calendar .section-intro {
  color: #cbd5e1;
  margin: 0.25rem 0 0.6rem;
}

.sidenav-calendar .btn-primary {
  width: 100%;
  text-align: center;
}

.sidenav-calendar .calendar-shell {
  margin-top: 0.6rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.75);
  padding: 0.8rem;
}

.sidenav-calendar .calendar-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.5rem;
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.sidenav-calendar .legend-dot {
  width: 0.6rem;
  height: 0.6rem;
}

@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }
  .sidenav a {
    font-size: 18px;
  }
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-035 {
  margin-top: 0.35rem;
}

.mt-06 {
  margin-top: 0.6rem;
}

.mt-07 {
  margin-top: 0.7rem;
}

.mt-1 {
  margin-top: 1rem;
}

.btn-wrap {
  white-space: normal;
  text-align: center;
  width: 100%;
}

.card-grid.two-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.65);
}

:root[data-theme="light"] .card {
  background: #f8fafc;
  border-color: rgba(148, 163, 184, 0.5);
}

.card-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.form-stacked label {
  display: block;
  margin: 0.4rem 0 0.2rem;
  font-weight: 600;
}

.form-stacked input,
.form-stacked textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-light);
}

:root[data-theme="light"] .form-stacked input,
:root[data-theme="light"] .form-stacked textarea {
  background: #ffffff;
  color: #0f172a;
}

.form-row.two-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.6rem;
}

.form-error {
  color: #f87171;
  font-weight: 600;
  margin-top: 0.25rem;
}

.table-like {
  display: grid;
  gap: 0.35rem;
}

.table-head,
.table-row,
.table-subhead {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.5fr;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.table-head {
  font-weight: 800;
  color: #e2e8f0;
}

.table-subhead {
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.35);
}

.table-row span:last-child {
  color: #cbd5e1;
}

.muted {
  color: #94a3b8;
}

header.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  padding: calc(var(--space-section) + 0.5rem) var(--space-section);
  margin: 0 0 calc(var(--space-gap) + 0.2rem);
  border-radius: 0;
  background: var(--bg-base);
  box-shadow: none;
  border: none;
  position: relative;
  overflow: visible;
}

.hero::before {
  display: none;
}

.hero-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  max-width: 88vw;
  margin: 0 auto;
}

.hero-head {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.hero-title-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-muted);
  /* margin-bottom: 0.9rem; */
}

.hero-kicker span.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg-base);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(14, 165, 233, 0.3);
}

.hero h1 {
  font-size: clamp(2.25rem, 1.1vw + 2.3rem, 3.35rem);
  letter-spacing: 0.01em;
  margin-bottom: 0.75rem;
  width: calc(100% + 2.5rem);
  align-self: stretch;
}

.hero h1 span.highlight {
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(1rem, 0.4vw + 0.95rem, 1.2rem);
  color: var(--text-light);
  margin-bottom: 1.4rem;
  max-width: 34rem;
  text-align: left;
  align-self: stretch;
}

.hero-body {
  text-align: left;
  align-self: stretch;
  margin-left: auto;
  margin-right: auto;
}

.hero-points {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.6rem;
  font-size: 0.95rem;
  justify-items: start;
}

.hero-points li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  justify-content: flex-start;
}

.hero-points li span.icon {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--accent);
  background: rgba(15, 23, 42, 0.9);
}

:root[data-theme="light"] .hero-points li span.icon {
  background: #e9ecf3;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--accent);
}

.hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-actions--side {
  margin-top: 1rem;
}

.hero-actions--account {
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 0.5rem;
}

.hero-actions--account .btn-ghost {
  width: auto;
}

.hero-actions--account .login-chip--inline {
  justify-self: start;
  max-width: 100%;
  padding: 0.2rem 0.4rem;
  white-space: normal;
  line-height: 1.1;
  font-size: 0.65rem;
}

.btn-ghost {
  width: 100%;
  margin-bottom: 0;
}

@media (min-width: 48rem) {
  .hero-actions {
    justify-content: flex-start;
    gap: 1rem;
  }
  .hero-actions--side {
    grid-template-columns: 1fr;
    justify-content: flex-end;
  }
  .hero-actions--side.hero-actions--account {
    grid-template-columns: 1fr auto;
  }
}

.hero-actions .btn-primary {
  position: relative;
  isolation: isolate;
  padding: 0.95rem 2.1rem;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  background: linear-gradient(120deg, #38bdf8, #bcf1e0, #1a5159);
  background-size: 220% 220%;
  border: 1px solid rgba(56, 189, 248, 0.6);
  box-shadow:
    0 1.2rem 2.8rem rgba(79, 70, 229, 0.35),
    0 0 0 1px rgba(56, 189, 248, 0.35) inset;
  animation:
    gradientSweep 6s ease-in-out infinite,
    softPulse 3s infinite ease-in-out;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions .btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0)
  );
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: -1;
}

.hero-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1.5rem 3.1rem rgba(79, 70, 229, 0.45),
    0 0 0 1px rgba(56, 189, 248, 0.55) inset;
  background-position: 100% 50%;
}

.hero-actions .btn-primary:hover::after {
  opacity: 1;
}

.hero-actions .btn-primary:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.9);
  outline-offset: 2px;
}

.hero-cta {
  margin-top: 1.4rem;
  padding: 1.35rem 1.4rem;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 1.2rem 2.6rem rgba(15, 23, 42, 0.22);
}

.hero-cta__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.hero-cta__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.hero-cta__btn {
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.25rem;
  padding: 1rem 1.2rem;
  border-radius: 0.95rem;
  text-align: left;
  box-shadow: 0 0.8rem 1.8rem rgba(15, 23, 42, 0.12);
}

.hero-cta__btn .hero-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  background: rgba(148, 163, 184, 0.18);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hero-cta__label {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.hero-cta__btn--ghost {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.4);
  color: #e2e8f0;
}

.hero-cta__btn--ghost:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 1rem 2.2rem rgba(15, 23, 42, 0.4);
}

@media (min-width: 48rem) {
  .hero-cta {
    padding: 1.5rem 1.8rem;
  }
  .hero-cta__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }
}

/* Calendar responsive header */
.calendar-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.calendar-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.8);
  color: #e2e8f0;
  font-size: 1.1rem;
  cursor: pointer;
}

.calendar-desktop {
  display: block;
}
.calendar-mobile {
  display: none;
}

@media (max-width: 40rem) {
  .calendar-header-links {
    display: none;
  }
  .calendar-menu-btn {
    display: inline-flex;
  }
  .calendar-desktop {
    display: none;
  }
  .calendar-mobile {
    display: block;
  }
}

.fullscreen-sm {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--space-page) + 3rem) var(--space-page) var(--space-page);
}

.simple-login-shell.fullscreen-sm {
  min-height: calc(100vh - 72px);
  padding-top: calc(var(--space-page) + 1.5rem);
}

.interp-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  position: relative;
  z-index: 0;
  background: transparent;
}

.interp-shell {
  width: min(1100px, 94vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-sizing: border-box;
  position: relative;
  z-index: 0;
}

.interp-page .chatbot-widget {
  position: static;
  right: auto;
  bottom: auto;
  width: 100%;
  display: flex;
  justify-content: center;
}

.interp-page .chatbot-widget > .interp-shell {
  width: min(1100px, 88vw);
}

@media (max-width: 48rem) {
  .interp-page .chatbot-widget > .interp-shell {
    width: 100%;
    padding: 0;
  }
}

@media (max-width: 32rem) {
  .interp-page .chatbot-widget > .interp-shell {
    width: 100%;
    padding: 0;
  }
}

@media screen and (max-width: 20rem) {
  .interp-page {
    padding: 0;
    align-items: center;
    justify-content: center;
  }

  .interp-shell {
    width: 100%;
    padding: 1rem 0.75rem;
    margin: 0 auto;
  }

  .interp-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    max-width: 100%;
    margin: 0;
    justify-items: stretch;
  }

  .interp-card {
    padding: 0.8rem 0.85rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .interp-contact-form textarea {
    min-height: 72px;
    font-size: 0.9rem;
  }

  .interp-contact-form .btn-primary {
    width: 100%;
  }

  .interp-contact-form {
    max-width: 100%;
  }

  .interp-filter {
    width: 100%;
    max-width: 100%;
    padding: 0.85rem 0.8rem 0.95rem;
    margin: 0 auto;
  }

  .interp-filter__form {
    width: 100%;
  }
}

.interp-filter {
  position: relative;
  padding: 1.1rem 1.25rem 1.35rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  box-sizing: border-box;
}

.chatbot-close--filter {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}

.interp-filter .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.8rem;
}

.interp-filter__form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  align-items: end;
}

.interp-filter label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: #e2e8f0;
}

.interp-filter input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.75);
  color: #e2e8f0;
}

.interp-filter input:focus {
  outline: 2px solid #38bdf8;
  border-color: #38bdf8;
  background: rgba(15, 23, 42, 0.92);
}

.interp-filter__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.interp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  justify-items: center;
}

.interp-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  max-width: 720px;
  box-sizing: border-box;
}

.interp-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.interp-meta {
  color: var(--text-muted, #cbd5e1);
  font-size: 0.95rem;
  margin: 0;
}

.interp-card__avatar {
  display: flex;
  align-items: center;
  margin-bottom: 0.6rem;
}

.interp-card__header {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.interp-card__info {
  flex: 1 1 240px;
  min-width: 0;
}
.interp-avatar-img {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.12),
    0 0 0 4px rgba(255, 255, 255, 0.12);
}
.interp-avatar-fallback {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9, #22d3ee);
  color: #0b1220;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.img-modal {
  display: none;
  position: fixed;
  z-index: 7000;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.9);
}
.img-modal__content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 720px;
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  animation: interpZoom 0.6s ease;
}
.img-modal__caption {
  margin: 12px auto 0;
  display: block;
  width: 80%;
  max-width: 720px;
  text-align: center;
  color: #e5e7eb;
  padding: 6px 0 16px;
  min-height: 24px;
}
.img-modal__close {
  position: absolute;
  top: 20px;
  right: 32px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
}
.img-modal__close:hover,
.img-modal__close:focus {
  color: #cbd5e1;
}

@keyframes interpZoom {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media only screen and (max-width: 700px) {
  .img-modal__content {
    width: 96%;
  }
}

.interp-card {
  display: block;
  padding: 1.1rem 1.25rem;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(56, 189, 248, 0.12),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 0%,
      rgba(248, 113, 113, 0.12),
      transparent 40%
    ),
    rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(148, 163, 184, 0.22);
  backdrop-filter: blur(40px);
  position: relative;
  z-index: 0;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    border-color 150ms ease;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.interp-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 28px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(148, 163, 184, 0.28);
  border-color: rgba(56, 189, 248, 0.32);
}
.interp-card::after {
  content: none;
}
.interp-card h3 {
  margin: 0 0 0.15rem;
  font-size: 1.22rem;
  letter-spacing: 0.01em;
}
.interp-meta {
  margin: 0 0 0.2rem;
  line-height: 1.45;
  color: #cbd5e1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
}
.interp-meta::before {
  content: "";
}
.interp-text {
  margin: 0.25rem 0 0.65rem;
  line-height: 1.55;
  color: var(--text-light, #e5e7eb);
  white-space: pre-line;
}
.interp-avatar-img,
.interp-avatar-fallback {
  width: 88px;
  height: 88px;
}

@media (min-width: 425px) {
  .interp-avatar-img,
  .interp-avatar-fallback {
    width: 96px;
    height: 96px;
    border-radius: 18px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  }
}
@media (max-width: 640px) {
  .interp-card {
    text-align: left;
    padding: 1rem;
  }
  .interp-card__header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .interp-card__info {
    align-items: center;
  }
}

.interp-text {
  margin: 0.35rem 0 0;
  color: var(--text-light, #e5e7eb);
}

.interp-price {
  font-weight: 700;
  color: #7dd3fc;
}

.interp-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.1rem;
  align-items: stretch;
  width: 100%;
  grid-column: 1 / -1;
  padding: 0.9rem 1rem;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.interp-contact-form {
  display: grid;
  gap: 0.4rem;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.interp-contact-form textarea {
  width: 100%;
  min-height: 90px;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.95rem;
  resize: vertical;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
  box-sizing: border-box;
}

.interp-contact-form textarea:focus {
  outline: 2px solid #38bdf8;
  border-color: #38bdf8;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.interp-contact-form .btn-primary {
  width: 100%;
}

.interp-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.interp-pill {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  font-weight: 700;
  font-size: 0.9rem;
}

.interp-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #cbd5e1;
  margin: 0.5rem 0;
}

/* Layout override: Karten vollbreit untereinander, Kalender neben dem Formular */
.interp-grid {
  grid-template-columns: 1fr !important;
  max-width: none !important;
  margin: 0 !important;
  justify-items: stretch !important;
}

.interp-card {
  display: block !important;
  width: 100% !important;
}

.interp-card__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.interp-calendar-box {
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #e5e7eb;
  box-sizing: border-box;
}

.interp-calendar-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.interp-calendar-caption {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.mini-cal-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.mini-cal-btn {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.55);
  color: #e2e8f0;
  border-radius: 10px;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    background 0.15s ease,
    transform 0.15s ease,
    border-color 0.15s ease;
}

.mini-cal-btn:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-1px);
}

.mini-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}

.mini-cal-day {
  min-height: 2.2rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: #e5e7eb;
  font-weight: 600;
  font-size: 0.95rem;
}

.mini-cal-day.free {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.12);
  color: #dcfce7;
}

.mini-cal-day.busy {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.12);
  color: #dbeafe;
}

.mini-cal-day.blocked {
  border-color: rgba(148, 163, 184, 0.5);
  background: rgba(148, 163, 184, 0.14);
  color: #e2e8f0;
}

.mini-cal-day.is-today {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35);
  color: #e0f2fe;
}

.mini-cal-day.is-active {
  outline: 2px solid rgba(56, 189, 248, 0.6);
  outline-offset: 1px;
}

.mini-cal-day--blank {
  opacity: 0.25;
  border-style: dashed;
}

.mini-cal-legend {
  display: grid;
  grid-template-columns: repeat(3, auto auto);
  align-items: center;
  gap: 0.25rem 0.5rem;
  margin-bottom: 0.35rem;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.mini-cal-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: inline-block;
}
.mini-cal-dot.free {
  background: rgba(34, 197, 94, 0.9);
}
.mini-cal-dot.busy {
  background: rgba(59, 130, 246, 0.9);
}
.mini-cal-dot.blocked {
  background: rgba(148, 163, 184, 0.9);
}

.mini-cal-details {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  background: rgba(255, 255, 255, 0.02);
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.35;
  min-height: 2.6rem;
}

.mini-cal-details strong {
  color: #e0f2fe;
}

.mini-cal-details ul {
  margin: 0.35rem 0 0;
  padding-left: 1.05rem;
}

.interp-calendar-title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.interp-calendar-note {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.4;
}

@media (min-width: 48rem) {
  .interp-card__actions {
    grid-template-columns: 1fr minmax(12rem, 16rem);
    align-items: start;
  }
}

.interp-hint {
  color: #cbd5e1;
  font-size: 0.95rem;
  text-align: center;
  margin-top: 0.25rem;
}

@media (max-width: 425px) {
  .interp-card__actions {
    grid-template-columns: 1fr;
  }
  .interp-calendar-box {
    padding: 0.65rem 0.75rem;
  }
  .interp-calendar-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .mini-cal-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.2rem;
  }
  .mini-cal-day {
    min-height: 1.9rem;
    font-size: 0.85rem;
  }
  .mini-cal-legend {
    grid-template-columns: repeat(2, auto auto);
    font-size: 0.85rem;
  }
  .interp-calendar-title {
    margin-bottom: 0.2rem;
  }
  .interp-calendar-note {
    font-size: 0.85rem;
  }
}

/* Contact & Profile */
.contact-card,
.profile-card {
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.contact-card {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-block .contact-label {
  margin: 0;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-block .contact-value {
  margin: 0.05rem 0 0;
  color: #e2e8f0;
  font-size: 1.05rem;
  word-break: break-word;
}

.profile-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.profile-avatar {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.18);
  border: 3px solid rgba(56, 189, 248, 0.5);
  margin-bottom: 0.6rem;
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  color: #0b1220;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

.profile-avatar__initial {
  color: #0b1220;
}

.profile-meta {
  color: #cbd5e1;
  margin: 0.1rem 0;
  font-size: 0.95rem;
}

.profile-list {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
  display: grid;
  gap: 0.65rem;
  color: #e2e8f0;
}

@media (max-width: 720px) {
  .interp-filter__form {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .interp-filter__actions {
    justify-content: stretch;
  }
  .interp-filter__actions .btn-primary {
    width: 100%;
  }

  .interp-filter {
    max-width: 100%;
  }
}

@media (max-width: 62rem) {
  header.hero {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .hero-side {
    order: -1;
    max-width: 20rem;
    justify-self: center;
  }

  .hero-main {
    width: 100%;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

.login-chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.1rem;
  color: var(--text-light);
  max-width: 100%;
  flex-wrap: nowrap;
  line-height: 1.2;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.login-chip__avatar {
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.25);
  font-weight: 700;
  color: #f8fafc;
  flex: 0 0 auto;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.login-chip strong {
  flex: 1 1 auto;
  text-align: center;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  max-width: 22rem;
  margin: 0.6rem auto 0;
}

.hero-actions.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-actions.contact-actions .btn-primary,
.hero-actions.contact-actions .btn-ghost,
.hero-actions.contact-actions .login-chip {
  white-space: normal;
  width: 100%;
  max-width: 16rem;
  justify-content: center;
}

.btn-logout {
  flex-direction: column;
  gap: 0.2rem;
}

.btn-logout .login-chip--inline {
  width: auto;
  color: var(--text-light);
  white-space: nowrap;
  font-size: 0.5rem;
  line-height: 1;
}

.btn-logout .login-chip--inline strong {
  font-size: inherit;
  line-height: 1;
}

@media (max-width: 40rem) {
  .hero-actions.contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

.hero-fold-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-soft);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.01)
  );
  color: var(--text-light);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
  cursor: pointer;
  margin-left: auto;
  box-shadow: 0 0.65rem 1.35rem rgba(0, 0, 0, 0.3);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.hero-fold-toggle .chevron {
  font-size: 0.9rem;
  transition: transform 0.18s ease;
}

.hero-fold-toggle:hover,
.hero-fold-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: var(--accent);
  box-shadow: 0 0.9rem 1.8rem rgba(56, 189, 248, 0.18);
  outline: none;
}

.hero.collapsed {
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.hero.collapsed .hero-body,
.hero.collapsed .hero-side {
  display: none;
}

/* Floating animation for hero card */
@keyframes floatCard {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Button animation: soft pulse */
@keyframes softPulse {
  0% {
    box-shadow: 0 1rem 2.4rem rgba(56, 189, 248, 0.35);
  }
  50% {
    box-shadow: 0 1.3rem 3rem rgba(56, 189, 248, 0.55);
  }
  100% {
    box-shadow: 0 1rem 2.4rem rgba(56, 189, 248, 0.35);
  }
}

/* Animated gradient sweep for hero CTA */
@keyframes gradientSweep {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
  .hero-card {
    animation: none;
  }
  .btn-primary {
    animation: none;
  }
}

.btn-primary {
  animation: softPulse 3s infinite ease-in-out;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #4bc2ff, #38bdf8);
  color: var(--bg-base);
  box-shadow: 0 1rem 2.4rem rgba(56, 189, 248, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1.3rem 2.8rem rgba(56, 189, 248, 0.45);
  background: linear-gradient(135deg, #5fd0ff, #38bdf8);
}

.btn-ghost {
  padding: 0.75rem 1.5rem;
  background: rgba(15, 23, 42, 0.7);
  color: var(--text-light);
  border-color: var(--border-soft);
}

.btn-ghost:hover {
  transform: translateY(-1px);
  background: rgba(15, 23, 42, 0.9);
  border-color: var(--accent);
  box-shadow: 0 1rem 2.4rem rgba(15, 23, 42, 0.7);
}

.btn-danger {
  border-color: rgba(148, 163, 184, 0.7);
  color: #e2e8f0;
}

.btn-danger:hover {
  border-color: rgba(148, 163, 184, 1);
  color: #f8fafc;
  box-shadow: 0 1rem 2.4rem rgba(148, 163, 184, 0.25);
}

.hero-side {
  display: none;
}

.hero-card {
  animation: floatCard 6s ease-in-out infinite;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  width: 100%;
  max-width: 22rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 1.4rem;
  background:
    radial-gradient(
      circle at 10% 0,
      rgba(148, 163, 184, 0.28),
      transparent 60%
    ),
    linear-gradient(145deg, var(--bg-base), var(--bg-base));
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-card--static {
  animation: none;
}

.hero-card--static .btn-primary {
  animation: none;
}

.hero-card.hero-card--static {
  width: 100%;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 425px) {
  .hero-card.hero-card--static {
    max-width: 1040px;
  }
}

@media (min-width: 768px) {
  .hero-card.hero-card--static {
    max-width: 1120px;
  }
}

.hero-card-avatar {
  width: 9.2rem;
  height: 9.2rem;
  border-radius: 999px;
  border: 4px solid rgba(56, 189, 248, 0.9);
  box-shadow:
    0 1.5rem 3.4rem rgba(0, 0, 0, 0.85),
    0 0 0 8px rgba(56, 189, 248, 0.12);
  margin: 0 auto 1.3rem;
  position: relative;
  background-color: #1f2a3a;
  display: grid;
  place-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

:root[data-theme="light"] .hero-card-avatar {
  border: 4px solid rgba(148, 163, 184, 0.8);
  box-shadow:
    0 1.2rem 2.4rem rgba(15, 23, 42, 0.18),
    0 0 0 8px rgba(148, 163, 184, 0.18);
  background-color: #f0f2f6;
}

.hero-card-avatar__initial {
  font-weight: 800;
  color: var(--accent);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  gap: 0.05rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero-card-avatar__initial span {
  display: inline-block;
  opacity: 0;
  transform: translateX(-12px);
  animation: heroInitialSlide 0.65s ease-out forwards;
  animation-delay: 0.7s;
}

.hero-card-avatar__initial span:nth-child(1) {
  animation-delay: 0.7s;
}
.hero-card-avatar__initial span:nth-child(2) {
  animation-delay: 0.78s;
}
.hero-card-avatar__initial span:nth-child(3) {
  animation-delay: 0.86s;
}
.hero-card-avatar__initial span:nth-child(4) {
  animation-delay: 0.94s;
}
.hero-card-avatar__initial span:nth-child(5) {
  animation-delay: 1.02s;
}

@keyframes heroInitialSlide {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-card-avatar::after {
  content: "Avatar";
  position: absolute;
  left: 50%;
  bottom: -2.9rem;
  transform: translateX(-50%) translateY(6px);
  padding: 0.35rem 0.7rem;
  border-radius: 0.65rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid var(--border-soft);
  color: #e7e7e7;
  font-size: 0.72rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
  box-shadow: 0 0.8rem 1.8rem rgba(0, 0, 0, 0.45);
}

.hero-card-avatar:hover::after,
.hero-card-avatar:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-top: 0.15rem;
  margin-bottom: 0.15rem;
}

.hero-card p.role {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 0.3rem;
  font-size: 0.87rem;
  margin-bottom: 0.9rem;
  justify-items: start;
  text-align: left;
}

.hero-card ul li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
}

.hero-card ul li span.dot {
  display: inline-block;
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 999px;
  background: var(--accent);
  margin-right: 0.4rem;
  transform: translateY(1px);
  flex-shrink: 0;
}

.hero-card ul li span:not(.dot) {
  padding-left: 0.1rem;
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding-top: 0.5rem;
}

.hero-card-footer span:last-child {
  margin-left: auto;
  text-align: right;
}

.hero-card-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  width: auto;
  min-width: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: default;
}

main {
  display: grid;
  gap: var(--space-gap);
}

.section {
  background: transparent;
  border-radius: 0;
  border: none;
  padding: var(--space-section) 0;
  box-shadow: none;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: clamp(0.8rem, 0.8vw + 0.6rem, 1.05rem);
}

.section-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.section-fold-toggle {
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-muted);
  padding: 0.35rem 0.6rem;
  border-radius: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.section-fold-toggle .chevron {
  transition: transform 0.18s ease;
}

.section-fold-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.fold-section.closed .section-fold-toggle .chevron {
  transform: rotate(-90deg);
}

.section-body {
  margin-top: 0.25rem;
}

.section-body[hidden] {
  display: none;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.section-title u {
  text-decoration-color: #38bdf8;
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.1em;
  color: inherit;
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.section-kicker::before {
  content: "✦";
  color: #38bdf8;
  font-size: 0.95rem;
  line-height: 1;
}

.section-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.calendar-shell .section-intro {
  color: #f8fafc;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  display: inline-block;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}

.service-card {
  background: var(--panel-bg);
  border-radius: var(--panel-radius);
  border: var(--panel-border);
  padding: 1rem 1rem 1rem;
  display: grid;
  gap: 0.55rem;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: attr(data-icon);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(3.6rem, 5vw, 5.2rem);
  color: rgba(250, 204, 21, 0.35);
  opacity: 0.75;
  transform: translateY(4%);
  pointer-events: none;
}

.service-icon {
  display: none;
}

.service-title {
  font-weight: 600;
  font-size: 1rem;
}

.service-text {
  font-size: 0.9rem;
  color: var(--text-light);
}

.service-meta {
  font-size: 0.82rem;
  color: #9ca3af;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
}

.badge-soft span.dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--accent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.price-card {
  background: var(--panel-bg);
  border-radius: var(--panel-radius);
  border: var(--panel-border);
  padding: 1rem;
  display: grid;
  gap: 0.3rem;
}

.price-card.highlighted {
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 1.4rem 2.6rem rgba(8, 47, 73, 0.85);
  position: relative;
}

.price-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.price-value {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.price-detail {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.chip-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.35rem;
  margin-top: 0.5rem;
  justify-items: center;
}

.chip {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 0.78rem;
  color: #d1d5db;
  background: rgba(15, 23, 42, 0.95);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.9rem;
  margin-top: 0.5rem;
}

.step-card {
  background: var(--panel-bg);
  border-radius: var(--panel-radius);
  border: var(--panel-border);
  padding: 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
}

.step-card > * {
  position: relative;
  z-index: 1;
}

.step-card::before {
  content: attr(data-step);
  position: absolute;
  top: -0.95rem;
  right: 0.65rem;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(250, 204, 21, 0.28);
  pointer-events: none;
  z-index: 0;
}

.step-number {
  display: none;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 0.5rem;
  align-items: flex-start;
}

.about-section.about-header {
  margin-top: 0.9rem;
}

.about-text {
  font-size: 0.93rem;
  color: var(--text-light);
}

.about-facts {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
}

.about-facts--compact {
  margin-top: 0.7rem;
  font-size: 0.9rem;
}

.about-facts li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.about-facts span.bullet {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.9);
}

.support-cta {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.35rem;
}

.manual-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
  justify-content: space-evenly;
}

.manual-card {
  background: var(--panel-bg);
  border-radius: var(--panel-radius);
  border: var(--panel-border);
  margin-bottom: 0.9rem;
  padding: 0.9rem;
  display: grid;
  gap: 0.5rem;
}

.manual-card--highlight {
  border-color: rgba(75, 194, 255, 0.8);
  box-shadow: 0 1.2rem 2.2rem rgba(8, 47, 73, 0.55);
}

.manual-card-kicker {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.manual-list,
.manual-steps {
  margin: 0;
  padding-left: 0;
  display: grid;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.manual-list li,
.manual-steps li {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem;
  align-items: start;
}

.manual-list li::before {
  content: "•";
  color: var(--accent);
  font-weight: 700;
}

.manual-steps {
  counter-reset: manualstep;
}

.manual-steps li::before {
  counter-increment: manualstep;
  content: counter(manualstep) ".";
  color: var(--accent);
  font-weight: 700;
}

.manual-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.legal-body {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 1.5rem 1rem 2.5rem;
}

.legal-page {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

.legal-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.35);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
  z-index: 30;
}

.legal-close:hover,
.legal-close:focus-visible {
  transform: translateY(-1px);
  border-color: var(--accent);
  box-shadow: 0 1.2rem 2.2rem rgba(56, 189, 248, 0.25);
  outline: none;
}

:root[data-theme="light"] .legal-close {
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.55);
  box-shadow: 0 0.9rem 1.8rem rgba(15, 23, 42, 0.12);
}

.legal-section {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.72), rgba(30, 41, 59, 0.78));
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
  margin: 1.6rem 0 0 0;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
  overflow: hidden;
}

.legal-section h2 {
  margin: 0 0 0.35rem 0;
  font-size: 1.3rem;
}

.legal-section h3 {
  margin: 0.35rem 0 0.2rem;
}

.legal-section ul {
  padding: 0;
  margin: 0.2rem 0 0.5rem 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.legal-section li {
  margin: 0;
  position: relative;
  padding-left: 1.2rem;
  line-height: 1.5;
  color: var(--text-light);
}

.legal-section li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--accent);
  font-size: 1.1rem;
}

.legal-section {
  margin-bottom: 1.1rem;
}

.legal-callout {
  border: 1px solid rgba(56, 189, 248, 0.6);
  background: rgba(56, 189, 248, 0.08);
  border-radius: 0.75rem;
  padding: 0.75rem;
  color: #e0f2fe;
  margin-top: 0.35rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #e0f2fe;
  border-radius: 0.8rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.translator-page {
  background: radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.08), rgba(15, 23, 42, 0.6)),
    radial-gradient(circle at 80% 0%, rgba(14, 165, 233, 0.12), rgba(15, 23, 42, 0.8)),
    var(--bg-base);
}

.translator-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5.5rem 2.2rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.translator-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
  padding: 0.6rem 0 0.4rem;
}

.translator-hero h1 {
  font-size: 2.4rem;
  margin: 0.1rem 0 0.35rem;
}

.translator-hero .subtitle {
  max-width: 36rem;
}

.translator-hero__card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.82));
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);
}

.translator-hero__card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  line-height: 1.5;
  color: var(--text-light);
}

.translator-hero__kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--accent);
  margin: 0 0 0.35rem;
}

.translator-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
  gap: 1.4rem;
}

.translator-card {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1rem;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.28);
}

.translator-card--secondary {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.85));
}

.translator-card header h2 {
  margin: 0.2rem 0 0.2rem;
}

.translator-form {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.4rem;
}

.translator-row--langs {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 0.5rem;
}

.translator-field {
  display: grid;
  gap: 0.2rem;
}

.translator-field label {
  font-weight: 600;
  color: #e2e8f0;
}

.translator-row {
  display: grid;
  gap: 0.2rem;
}

.translator-row select {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 0.7rem;
  padding: 0.65rem 0.8rem;
  color: #e9f3ff;
  box-shadow: 0 0.6rem 1.4rem rgba(0, 0, 0, 0.28);
}

.translator-swap {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(56, 189, 248, 0.12);
  color: #e2e8f0;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.translator-swap:hover {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 0.6rem 1.2rem rgba(56, 189, 248, 0.2);
}

.translator-form textarea {
  width: 100%;
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  padding: 0.85rem;
  min-height: 8rem;
  resize: vertical;
  line-height: 1.4;
}

.translator-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.translator-hint {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.translator-links {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  display: grid;
  gap: 0.5rem;
}

.translator-links a {
  color: #7dd3fc;
  text-decoration: none;
}

.translator-links a:hover {
  color: #38bdf8;
}

.translator-note {
  margin-top: 0.9rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.8rem;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #e2e8f0;
  line-height: 1.4;
}

@media (max-width: 960px) {
  .translator-hero {
    grid-template-columns: 1fr;
  }
  .translator-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .translator-row--langs {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .translator-swap {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 1440px) {
  .translator-main {
    max-width: 1320px;
    padding-left: 2.6rem;
    padding-right: 2.6rem;
  }
  .translator-hero {
    gap: 1.8rem;
  }
  .translator-grid {
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
    gap: 1.6rem;
  }
  .translator-card {
    padding: 1.45rem 1.6rem;
  }
  .translator-form textarea {
    min-height: 10rem;
  }
}

.legal-list {
  display: grid;
  gap: 0.65rem;
  line-height: 1.55;
  color: var(--text-light);
}

.legal-list li::marker {
  content: none;
}

.legal-list strong {
  color: rgb(255, 255, 255);
  font-weight: 500;
}

:root[data-theme="light"] .legal-list strong {
  color: #0f172a;
  font-weight: 700;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.legal-actions a {
  margin-right: 0;
}

.legal-actions .btn-primary,
.legal-actions .btn-ghost {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.96rem;
  box-shadow: none;
  animation: none;
}

@media (min-width: 426px) {
  .legal-actions .btn-primary,
  .legal-actions .btn-ghost {
    padding: 0.75rem 1.5rem;
    font-size: 0.96rem;
  }
}

.support-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.6rem;
  align-items: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.1rem 1.25rem;
  margin-top: 0.6rem;
  align-items: flex-start;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
  justify-content: center;
}

.contact-text {
  font-size: 0.93rem;
  color: var(--text-light);
  background: var(--panel-bg);
  border: var(--panel-border);
  border-radius: var(--panel-radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.65rem;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.contact-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  margin: 0.35rem 0 0.25rem;
  padding: 0.45rem 0.5rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(56, 189, 248, 0.38);
  background:
    linear-gradient(120deg, rgba(56, 189, 248, 0.12), rgba(59, 130, 246, 0.08)),
    rgba(15, 23, 42, 0.82);
  box-shadow: 0 12px 34px rgba(2, 6, 23, 0.35);
}

.contact-notice-icon {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  font-size: 1.2rem;
  justify-self: center;
}

.contact-notice-label {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 700;
  text-align: left;
}

.contact-notice-text {
  margin: 0.1rem 0 0;
  color: var(--text-light);
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
}

.contact-card {
  background: rgba(15, 23, 42, 0.22);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1.15rem;
  font-size: 0.95rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 900px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.contact-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-left: var(--space-page);
  padding-right: var(--space-page);
  margin-bottom: 1.2rem;
}
.contact-subline {
  margin: 0.35rem 0 0;
  color: var(--text-muted, #cbd5e1);
  max-width: 720px;
}
.contact-badge {
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #22d3ee, #38bdf8);
  color: #0b1220;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 22px rgba(56, 189, 248, 0.25);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.2rem;
  max-width: 1040px;
  margin: 0 auto 0;
  justify-items: stretch;
  justify-content: center;
  padding-top: 0.5rem;
}

.contact-page {
  padding-top: 8rem;
}
.contact-page .section {
  padding-top: 1rem;
  padding-left: 1rem;
  border-radius: 1.2rem;
}
.contact-card--primary {
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}
.contact-card--secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Kontaktseite – mehr Charakter */
.contact-page .section {
  position: relative;
  overflow: hidden;
}
.contact-page .section::before,
.contact-page .section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.35;
}
.contact-page .section::before {
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(75, 194, 255, 0.3),
      transparent 40%
    ),
    radial-gradient(
      circle at 82% 18%,
      rgba(94, 234, 212, 0.32),
      transparent 38%
    ),
    radial-gradient(
      circle at 30% 80%,
      rgba(99, 102, 241, 0.22),
      transparent 45%
    );
}
.contact-page .section::after {
  background: linear-gradient(
    140deg,
    rgba(15, 23, 42, 0.5),
    rgba(15, 23, 42, 0.05)
  );
}
.contact-page .contact-card {
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background:
    linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.04),
        rgba(255, 255, 255, 0.02)
      )
      border-box,
    radial-gradient(
        circle at 10% 20%,
        rgba(75, 194, 255, 0.18),
        transparent 55%
      )
      border-box,
    rgba(14, 20, 35, 0.65);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42);
}
.contact-page .contact-card--secondary {
  background: linear-gradient(
    150deg,
    rgba(31, 41, 55, 0.75),
    rgba(17, 24, 39, 0.55)
  );
  border-color: rgba(148, 163, 184, 0.32);
}
.contact-page .contact-label {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.contact-page .contact-value {
  font-size: 1.05rem;
  color: var(--text-light);
}
.contact-page .contact-hint {
  color: var(--text-muted);
}
.contact-page .contact-email-row a[data-contact-email] {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0.65rem;
  background: rgba(75, 194, 255, 0.12);
  border: 1px solid rgba(75, 194, 255, 0.5);
  color: #e0f4ff;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}
.contact-page .contact-email-row a[data-contact-email]:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(75, 194, 255, 0.28);
  border-color: #4bc2ff;
}
.contact-page .btn-compact {
  border-radius: 0.65rem;
  border-color: rgba(148, 163, 184, 0.45);
}
.contact-page .btn-compact:hover {
  border-color: #4bc2ff;
  color: #e7f8ff;
}
.contact-page .contact-badge {
  background: linear-gradient(120deg, #22d3ee, #4bc2ff, #60a5fa);
  color: #06101f;
  box-shadow: 0 16px 32px rgba(96, 165, 250, 0.25);
}
.contact-page .contact-grid {
  gap: clamp(1rem, 2vw, 1.5rem);
}

.contact-block + .contact-block {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.5rem;
}
.contact-value {
  white-space: pre-line;
}

@media (max-width: 540px) {
  .contact-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-badge {
    width: 100%;
    text-align: center;
  }
}

.contact-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}

.contact-call {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border-radius: 0.75rem;
  /* border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.65); */
  color: var(--text-light);
  text-decoration: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
  max-width: 100%;
  flex: 1 1 auto;
}

.contact-call em {
  white-space: normal;
  word-break: break-word;
}

.contact-label-full {
  display: inline;
}

.contact-label-compact {
  display: none;
}

@media (min-width: 425px) {
  .contact-card {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (min-width: 768px) {
  .contact-card {
    max-width: 1040px;
  }
}

.messenger-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.2rem;
}

.messenger-icon {
  width: 0.9rem;
  height: 0.9rem;
  fill: var(--accent);
}

.messenger-icon--signal {
  fill: #ffffff;
}

.messenger-icon-wrapper--signal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #3a76f0;
  border-radius: 6px;
  padding: 0.14rem;
  border: 1px dotted #ffffff;
}

.messenger-icon--whatsapp {
  fill: #25d366;
}

.contact-call:hover,
.contact-call:focus-visible {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.55);
}

.map-card {
  margin-top: 1.2rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(75, 194, 255, 0.1),
      transparent 50%
    ),
    rgba(15, 23, 42, 0.7);
  box-shadow: 0 1.4rem 2.8rem rgba(0, 0, 0, 0.45);
}

.map-card-header {
  margin-bottom: 0.6rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.map-card-title {
  margin: 0.1rem 0;
}

.map-card-note {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.map-card-body {
  margin-top: 0.25rem;
}

.map-frame {
  width: 100%;
  height: 360px;
  border-radius: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.65);
  color: var(--text-light);
}

.availability-pill.open {
  border-color: rgba(34, 197, 94, 0.6);
  background: rgba(34, 197, 94, 0.15);
  color: #bbf7d0;
}

.availability-pill.soon {
  border-color: rgba(34, 211, 238, 0.7);
  background: rgba(34, 211, 238, 0.12);
  color: #0f172a;
}

.availability-pill.closed {
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(148, 163, 184, 0.16);
  color: #e2e8f0;
}

.contact-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
}

footer.site-footer {
  padding: 1rem 1.6rem calc(0.8rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  background: var(--bg-base);
  color: var(--text-light);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

footer.site-footer span.brand {
  color: var(--text-light);
  font-weight: 600;
  line-height: 1.4;
}

footer.site-footer .footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
}

footer.site-footer .footer-link {
  color: #7dd3fc;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  position: relative;
  padding: 0 0 0.2em 0;
  border-radius: 0;
  background: none;
  transition: color 0.18s ease;
}

footer.site-footer .footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
  opacity: 0;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

footer.site-footer .footer-link:hover,
footer.site-footer .footer-link:focus-visible {
  color: #38bdf8;
}

footer.site-footer .footer-link:hover::after,
footer.site-footer .footer-link:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.footer-counts {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.92rem;
}

.footer-counts__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.85rem;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 0.4rem 1.1rem rgba(15, 23, 42, 0.22);
}

.footer-counts__icon {
  display: inline-flex;
  width: 1.7rem;
  height: 1.7rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  background: linear-gradient(145deg, rgba(8, 47, 73, 0.55), rgba(56, 189, 248, 0.62));
  font-size: 1.05rem;
  color: #e8f6ff;
  box-shadow:
    0 0.45rem 0.9rem rgba(56, 189, 248, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.footer-counts__text {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.2;
}

.footer-counts__number {
  color: #e2e8f0;
  font-weight: 700;
  font-size: 1rem;
}

.footer-counts__label {
  color: var(--text-muted);
  font-size: 0.86rem;
}

footer.site-footer .footer-link:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.75);
  outline-offset: 3px;
  border-radius: 4px;
}

:root:not([data-theme="light"]) footer.site-footer .footer-link {
  color: #7dd3fc;
  background: none;
  border: none;
}

:root:not([data-theme="light"]) footer.site-footer .footer-link:hover,
:root:not([data-theme="light"]) footer.site-footer .footer-link:focus-visible {
  color: #38bdf8;
}

@media (max-width: 55rem) {
  header.hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-side {
    order: -1;
  }

  .hero-card {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .two-col,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .login-chip {
    width: 100%;
    justify-content: center;
  }

  .login-chip strong {
    text-align: center;
  }
}

@media (max-width: 48rem) {
  .services-grid,
  .pricing-grid,
  .steps-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .manual-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .service-card,
  .price-card,
  .step-card,
  .contact-card,
  .manual-card {
    padding: 0.95rem 1rem;
  }
}

@media (max-width: 45rem) {
  .map-frame {
    height: 260px;
  }

  .calendar-section .calendar-shell {
    padding: 1rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .section-title {
    font-size: 1.1rem;
  }

  .services-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 40rem) {
  .support-actions {
    grid-template-columns: 1fr;
  }

  /* Cards auf kleineren Screens wie Hero vollflächig stapeln */
  .services-grid,
  .pricing-grid,
  .steps-grid,
  .contact-grid,
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-card,
  .price-card,
  .step-card,
  .contact-card,
  .manual-card,
  .hero-card {
    width: 100%;
    box-sizing: border-box;
    padding: 0.9rem 0.95rem;
  }

  .page-shell {
    padding: 1rem;
  }

  .page-shell.has-topnav {
    /* mobile nav is fixed; give more breathing room at the top */
    padding-top: 5.5rem;
  }

  header.hero {
    padding: 3.8rem 1.1rem;
    margin-block: 0 0.9rem;
  }

  .hero-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero-fold-toggle {
    margin-left: 0;
    align-self: flex-start;
  }

  .section {
    padding: 1.1rem 1.05rem 1.2rem;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .login-chip {
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
  }

  .login-chip__avatar {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1rem;
  }

  .login-chip strong {
    font-size: 0.95rem;
  }

  .legal-section,
  .legal-section h1,
  .legal-section h2,
  .legal-section h3,
  .legal-section p,
  .legal-section li {
    white-space: normal;
    word-break: break-word;
    hyphens: auto;
  }

  .btn-primary,
  .btn-ghost {
    justify-content: center;
    width: 100%;
    white-space: normal;
    line-height: 1.3;
    text-align: center;
  }

  .manual-actions a {
    min-width: 0;
  }

  body {
    /* padding-bottom: calc(5.8rem + env(safe-area-inset-bottom, 0px)); */
    padding-bottom: 0;
  }

  .mobile-action-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    justify-items: stretch;
    align-items: stretch;
    max-width: none;
  }

  .mobile-action-bar .mobile-btn {
    max-width: 14rem;
    width: 100%;
    justify-self: center;
  }

  footer.site-footer {
    width: 100%;
    padding-bottom: max(0px, env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
  }

  footer.site-footer .footer-meta {
    justify-content: flex-start;
    text-align: left;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.55rem 0.9rem;
  }

  footer.site-footer .footer-link {
    white-space: normal;
    word-break: break-word;
  }

  footer.site-footer .footer-counts {
    white-space: normal;
    line-height: 1.4;
    text-align: left;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    width: 100%;
  }

  .hero-lang {
    position: static;
    margin-top: 0.5rem;
  }

  .lang-menu {
    position: static;
    width: 100%;
  }

  .lang-tooltip {
    display: none;
  }
}

/* Mobile bottom fixed action bar */
.mobile-action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  transform: none;
  width: 100%;
  max-width: 100%;
  padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  background: rgba(15, 23, 42, 0.88);
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  display: none;
  z-index: 999;
  box-shadow: 0 -0.8rem 2rem rgba(0, 0, 0, 0.4);
}

.mobile-action-bar .mobile-btn {
  flex: 1;
  text-align: center;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: normal;
}

.mobile-btn.primary {
  background: linear-gradient(135deg, #4bc2ff, #38bdf8);
  color: var(--bg-base);
  box-shadow: 0 0.6rem 1.4rem rgba(56, 189, 248, 0.35);
}

.mobile-btn.secondary {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-soft);
  color: var(--text-light);
}

@media (max-width: 30rem) {
  .mobile-action-bar {
    grid-template-columns: 1fr;
    padding: 0.55rem 0.9rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    gap: 0.55rem;
  }

  .mobile-action-bar .mobile-btn {
    max-width: none;
    width: 100%;
    font-size: 0.9rem;
    padding: 0.65rem 0.85rem;
  }

  footer.site-footer {
    padding-bottom: calc(1.8rem + env(safe-area-inset-bottom, 0px));
    align-items: center;
    text-align: center;
  }

  footer.site-footer .footer-meta {
    justify-content: center;
    text-align: center;
  }
}

.lang-inline {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.lang-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 0;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #f8fafc;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.lang-switcher:hover,
.lang-switcher:focus-visible {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-1px);
  outline: none;
}

.lang-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.lang-current {
  background: linear-gradient(135deg, #4bc2ff, #38bdf8);
  color: #0b1224;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  font-size: 0.86rem;
  letter-spacing: 0.05em;
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 12rem;
  background: rgba(2, 6, 23, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 0.85rem;
  box-shadow: 0 1.2rem 2.2rem rgba(0, 0, 0, 0.55);
  padding: 0.4rem;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 10;
}

.lang-option {
  width: 100%;
  text-align: left;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--text-light);
  padding: 0.55rem 0.65rem;
  border-radius: 0.7rem;
  cursor: pointer;
  font-weight: 600;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.lang-option:hover,
.lang-option:focus-visible {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--accent);
  outline: none;
  transform: translateY(-1px);
}

.lang-option.active {
  background: var(--accent);
  color: #0b1224;
  border-color: var(--accent);
}

.lang-tooltip {
  position: absolute;
  top: -0.6rem;
  right: 0.1rem;
  background: #f5f6f8;
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 0.85rem;
  padding: 0.55rem 0.75rem;
  box-shadow: 0 0.9rem 1.8rem rgba(15, 23, 42, 0.12);
  min-width: 12rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.lang-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.lang-tooltip-title {
  font-weight: 700;
  margin: 0;
  color: #0f172a;
  font-size: 0.9rem;
}

.lang-tooltip-sub {
  margin: 0.25rem 0 0;
  color: #1f2937;
  font-size: 0.78rem;
}

.lang-inline button {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text-light);
  padding: 0.45rem 0.75rem;
  border-radius: 0.75rem;
  cursor: pointer;
  font-weight: 600;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
  box-shadow: 0 0.9rem 1.8rem rgba(0, 0, 0, 0.35);
}

.lang-inline button:hover,
.lang-inline button:focus-visible {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--accent);
  outline: none;
  transform: translateY(-1px);
}

.hero-lang {
  position: fixed;
  top: 0.75rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 0.75rem;
  z-index: 50;
  padding: 0.25rem 0.35rem;
  /* background: rgba(15, 23, 42, 0.65); */
  /* border: 1px solid rgba(148, 163, 184, 0.35); */
  /* backdrop-filter: blur(8px); */
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.75);
  color: var(--text-light);
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 0.9rem 2rem rgba(0, 0, 0, 0.38);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.theme-toggle__icon {
  font-size: 1rem;
  line-height: 1;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--accent);
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 1.1rem 2.4rem rgba(56, 189, 248, 0.28);
}

.theme-toggle--fab {
  position: fixed;
  right: 1rem;
  bottom: 4.25rem;
  z-index: 1200;
}

.theme-toggle--inline {
  position: relative;
}

/* Hide all theme toggle buttons across templates */
.theme-toggle {
  display: none;
}

@media (max-width: 48rem) {
  .theme-toggle--fab {
    bottom: 4.8rem;
    right: 0.9rem;
  }
}

:root[data-theme="light"] .theme-toggle {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-light);
  border-color: rgba(148, 163, 184, 0.5);
  box-shadow: 0 1rem 2.2rem rgba(15, 23, 42, 0.16);
}

.calendar-section .calendar-shell {
  margin-top: 1.4rem;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(75, 194, 255, 0.12),
      transparent 45%
    ),
    rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: 0 1.6rem 3.2rem rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.calendar-section .calendar-shell .hero-actions {
  justify-content: center;
  justify-items: center;
  display: flex;
  margin: 0.6rem auto 0;
  width: 100%;
  max-width: 22rem;
  min-width: 14rem;
}

.calendar-section .calendar-shell .hero-actions .btn-primary,
.calendar-section .calendar-shell .hero-actions .btn-ghost {
  width: min(100%, 16rem);
}

@media (max-width: 40rem) {
  .calendar-section .calendar-shell .hero-actions {
    max-width: 100%;
    min-width: 0;
    padding-inline: 0.25rem;
  }

  .calendar-section .calendar-shell .hero-actions .btn-primary,
  .calendar-section .calendar-shell .hero-actions .btn-ghost {
    width: 100%;
  }

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

  .contact-text {
    padding: 0.95rem 0.9rem;
  }

  .contact-notice {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .contact-notice-label,
  .contact-notice-text {
    text-align: center;
  }

  .hero-actions.contact-actions {
    align-items: center;
    justify-content: center;
    margin: 0.6rem auto 0;
  }

  .hero-actions.contact-actions .btn-primary,
  .hero-actions.contact-actions .btn-ghost {
    width: 100%;
    max-width: none;
  }

  .contact-availability strong {
    display: none;
  }

  .contact-line--availability {
    flex-wrap: nowrap;
    gap: 0.35rem;
  }

  .contact-line--availability .availability-pill {
    flex: 1 1 auto;
    text-align: right;
  }

  .contact-label-full {
    display: none;
  }

  .contact-label-compact {
    display: inline;
  }
}

.contact-line--availability {
  justify-content: space-between;
}

.contact-line--availability .availability-pill {
  margin-left: auto;
  flex: 1 1 auto;
  text-align: right;
}

@media (max-width: 26.5rem) {
  .hero-actions.contact-actions {
    width: 100%;
    padding-inline: 0.35rem;
  }

  .hero-actions.contact-actions .btn-primary,
  .hero-actions.contact-actions .btn-ghost {
    width: 100%;
    max-width: none;
  }

  .services-grid,
  .pricing-grid,
  .steps-grid {
    gap: 0.75rem;
  }

  .service-card,
  .price-card,
  .step-card,
  .contact-card,
  .manual-card {
    padding: 0.8rem 0.85rem;
  }

  .service-title,
  .price-value {
    font-size: 1.05rem;
  }

  .service-text,
  .service-meta,
  .price-detail,
  .step-card {
    font-size: 0.9rem;
  }
}

.calendar-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.9rem 1.2rem;
  margin-top: 0.8rem;
  font-size: 1rem;
  color: #e5e7eb;
  font-weight: 800;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.legend-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: inline-block;
}

.legend-dot.free {
  background: rgba(34, 197, 94, 0.8);
}

.legend-dot.busy {
  background: rgba(59, 130, 246, 0.9);
}

.legend-dot.blocked {
  background: rgba(148, 163, 184, 0.8);
}

.legend-dot.holiday {
  background: rgba(239, 68, 68, 0.9);
}

.calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.calendar-nav-btn {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.55);
  color: #f8fafc;
  border-radius: 0.6rem;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

.calendar-nav-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--border-soft);
  transform: translateY(-1px);
}

.calendar-title {
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: capitalize;
  color: #f8fafc;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.35rem;
  color: #f8fafc;
  font-weight: 600;
  font-size: 0.85rem;
}

:root[data-theme="light"] .calendar-weekdays {
  color: #0f172a;
}

.calendar-weekday {
  text-align: center;
  padding: 0.35rem 0.25rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #e5e7eb;
}

:root[data-theme="light"] .calendar-weekday {
  background: #e9ecf3;
  border-color: rgba(148, 163, 184, 0.55);
  color: #0f172a;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.calendar-day {
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.015);
  color: var(--text-light);
  border-radius: 0.8rem;
  min-height: 4.5rem;
  padding: 0.5rem;
  text-align: left;
  display: grid;
  align-content: space-between;
  gap: 0.35rem;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.2s ease,
    border-color 0.18s ease;
  position: relative;
  overflow: visible;
}

.calendar-day:hover:not(.is-placeholder):not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.35);
  border-color: rgba(148, 163, 184, 0.5);
}

.calendar-day.is-placeholder {
  background: rgba(148, 163, 184, 0.08);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  color: rgba(15, 23, 42, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  cursor: default;
}

.calendar-day.calendar-adjacent {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.22),
    rgba(15, 23, 42, 0.16)
  );
  border: 1px dashed rgba(148, 163, 184, 0.45);
  color: rgba(226, 232, 240, 0.8);
}

:root[data-theme="light"] .calendar-day.calendar-adjacent {
  background: linear-gradient(135deg, #eef1f6, #e4e8f0);
  border: 1px dashed rgba(148, 163, 184, 0.6);
  color: #334155;
}

.calendar-day-number {
  font-weight: 700;
  color: var(--text-light);
}

.calendar-day-status {
  display: inline-block;
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 0.24rem;
  height: 0.24rem;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.9);
  opacity: 0.95;
}

.calendar-day.calendar-unavailable {
  background: rgba(148, 163, 184, 0.18);
  color: #9ca3af;
}

.calendar-day.calendar-free {
  background: rgba(34, 197, 94, 0.18);
  color: #e8ffe8;
}

.calendar-day.calendar-busy {
  background: rgba(59, 130, 246, 0.08);
}

.calendar-day.calendar-holiday {
  border-color: rgba(239, 68, 68, 0.7);
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.4);
  position: relative;
}

.calendar-day.calendar-today {
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.6);
}

.calendar-day.calendar-free .calendar-day-status {
  background: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.5);
}

.calendar-day.calendar-busy .calendar-day-status {
  background: rgba(59, 130, 246, 0.9);
}

.calendar-day.calendar-unavailable .calendar-day-status {
  background: rgba(148, 163, 184, 0.8);
}

.calendar-day.calendar-holiday .calendar-day-status {
  background: rgba(239, 68, 68, 0.9);
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.55);
}

.calendar-day.calendar-sunday {
  border-color: rgba(239, 68, 68, 0.7);
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.4);
}

.calendar-day.calendar-sunday .calendar-day-status {
  background: rgba(239, 68, 68, 0.9);
}

.calendar-day.calendar-holiday .calendar-day-status::after {
  content: none;
}

.calendar-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 2000;
}

.calendar-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.calendar-modal__dialog {
  position: relative;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 1rem;
  padding: 1.4rem 1.2rem 1.2rem;
  width: min(520px, 100%);
  box-shadow: 0 1.8rem 3.2rem rgba(0, 0, 0, 0.5);
}

.calendar-modal__kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

.calendar-modal__title {
  font-size: 1.35rem;
  color: #f8fafc;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.calendar-modal__note {
  color: #e2e8f0;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.calendar-modal__list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-top: 0.8rem;
  padding: 0;
}

.calendar-modal__list li {
  padding: 0.65rem 0.8rem;
  border-radius: 0.75rem;
  background: rgba(30, 41, 59, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.3);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  color: #f8fafc;
}

.calendar-modal__list time {
  color: #e0f2fe;
  font-weight: 600;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem;
  border-radius: 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #0f172a;
}

.status-busy {
  background: rgba(59, 130, 246, 0.9);
  color: #0b1224;
}

.status-free {
  background: #34d399;
}

.status-unavailable {
  background: rgba(148, 163, 184, 0.85);
}

.calendar-modal__close {
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  background: rgba(30, 41, 59, 0.8);
  color: #e7e7e7;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  font-size: 1.1rem;
}

.calendar-modal__backdrop {
  position: absolute;
  inset: 0;
}

.calendar-tooltip {
  position: absolute;
  min-width: 240px;
  max-width: 320px;
  padding: 0.85rem 0.95rem;
  background: var(--panel-bg);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 0.9rem;
  box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.5);
  color: var(--text-light);
  z-index: 2500;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity 0.12s ease,
    transform 0.12s ease;
}

.calendar-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.calendar-tooltip__date {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.calendar-tooltip__note {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}

.calendar-tooltip__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.calendar-tooltip__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 0.65rem;
  padding: 0.4rem 0.55rem;
}

.calendar-tooltip__time {
  color: var(--text-light);
  font-weight: 600;
}

@media screen and (max-width: 40rem) {
  .calendar-weekdays {
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--text-light);
  }

  .calendar-grid {
    gap: 0.25rem;
  }

  .calendar-day {
    min-height: 3.3rem;
    padding: 0.35rem 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    justify-content: space-between;
  }

  .calendar-day-number {
    font-size: 0.98rem;
    flex: 0 0 auto;
  }

  .calendar-day-status {
    position: static;
    flex: 0 0 auto;
    width: 0.24rem;
    height: 0.24rem;
  }
}

/* Extra-small screens */
@media screen and (max-width: 32rem) {
  .btn-primary,
  .btn-ghost {
    width: 100%;
    min-width: 0;
    padding: 0.7rem 0.85rem;
    font-size: 0.9rem;
  }

  .calendar-weekdays {
    font-size: 0.75rem;
    gap: 0.2rem;
    color: var(--text-light);
  }

  .calendar-grid {
    gap: 0.2rem;
  }

  .calendar-day {
    min-height: 2.9rem;
    padding: 0.3rem 0.38rem;
    gap: 0.18rem;
  }

  .calendar-day-number {
    font-size: 0.9rem;
  }

  .calendar-day-status {
    width: 0.24rem;
    height: 0.24rem;
  }

  .login-chip {
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
  }

  .login-chip__avatar {
    width: 2rem;
    height: 2rem;
    font-size: 0.95rem;
  }

  .login-chip strong {
    font-size: 0.9rem;
  }

  /* Ultra small (≤320px) tweak */
  @media screen and (max-width: 20rem) {
    .calendar-weekdays {
      font-size: 0.7rem;
      gap: 0.18rem;
      color: var(--text-light);
    }
    .calendar-grid {
      gap: 0.18rem;
    }
    .calendar-day {
      min-height: 2.75rem;
      padding: 0.28rem 0.34rem;
      gap: 0.16rem;
    }
    .calendar-day-number {
      font-size: 0.6rem;
    }
    .calendar-day-status {
      width: 0.24rem;
      height: 0.24rem;
    }
    .btn-primary,
    .btn-ghost {
      font-size: 0.85rem;
      padding: 0.65rem 0.8rem;
    }
    .login-chip {
      gap: 0.35rem;
      padding: 0.4rem 0.7rem;
    }
    .login-chip__avatar {
      width: 1.8rem;
      height: 1.8rem;
      font-size: 0.85rem;
    }
    .login-chip strong {
      font-size: 0.8rem;
    }
  }

  .page-shell {
    padding: 0.75rem;
  }

  header.hero {
    padding: 1.1rem 1rem;
    gap: 1.2rem;
    margin-block: 0 0.75rem;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 4.5vw + 1rem, 2.1rem);
    line-height: 1.25;
  }

  .highlight {
    font-size: 1.05rem;
  }

  .hero-subtitle {
    font-size: 0.96rem;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .login-chip {
    justify-content: center;
  }

  .login-chip strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    text-align: center;
  }

  .hero-card {
    max-width: none;
    width: 100%;
  }

  .section {
    padding: 1rem;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  }

  .map-frame {
    min-height: 240px;
  }

  .service-card,
  .step-card,
  .contact-card {
    padding: 0.9rem 0.95rem;
  }

  .section-title {
    font-size: 1rem;
  }
}

@media screen and (max-width: 26.6rem) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  body {
    overflow-x: hidden;
    width: 100%;
  }

  .page-shell {
    padding: 0.7rem;
    max-width: 100%;
  }

  .section {
    padding: 0.9rem 0.75rem;
    width: 100%;
  }

  header.hero {
    padding: 1.1rem 0.95rem;
    gap: 1rem;
    width: 100%;
  }

  .service-card,
  .step-card,
  .contact-card,
  .manual-card,
  .hero-card {
    width: 100%;
    min-width: 0;
  }

  .services-grid,
  .pricing-grid,
  .steps-grid,
  .contact-grid,
  .manual-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  header.hero,
  .section,
  .services-grid,
  .pricing-grid,
  .steps-grid,
  .contact-grid,
  .manual-grid {
    box-sizing: border-box;
  }

  .section-header,
  .section-body,
  .section-title {
    width: 100%;
    min-width: 0;
  }

  .section-header {
    gap: 0.4rem;
  }

  .sidenav a {
    padding: 0.5rem 0.65rem;
    font-size: 18px;
  }
}

@media screen and (max-width: 260px) {
  body {
    font-size: 15px;
  }

  .page-shell {
    padding: 0.65rem;
  }

  header.hero {
    padding: 0.95rem 0.9rem;
  }

  .hero h1 {
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .map-frame {
    min-height: 210px;
  }
}

@media screen and (max-width: 376px) {
  .hero h1 {
    font-size: 1.45rem;
    line-height: 1.26;
  }
}

@media screen and (min-width: 261px) and (max-width: 361px) {
  .hero h1 {
    font-size: 1.15rem;
    line-height: 1.26;
    letter-spacing: 0.01em;
  }
}

@media (min-width: 768px) {
  .page-shell {
    padding-top: 0.5rem;
  }
}

/* Print friendly view */
@media print {
  :root {
    --bg-dark: #fff;
    --bg-card: #fff;
    --bg-soft: #fff;
    --text-light: #111;
    --text-muted: #444;
    --accent: #111;
  }

  body {
    background: #fff;
    color: #111;
    line-height: 1.4;
  }

  .page-shell {
    max-width: none;
    padding: 1.2cm;
    margin: 0 auto;
  }

  header.hero,
  .section,
  .hero-card,
  .card {
    background: #fff;
    box-shadow: none;
    border: 1px solid #ccc;
  }

  header.hero::before,
  .hero::before {
    display: none;
  }

  a {
    color: #111;
    text-decoration: underline;
  }

  /* Buttons im Print nicht pauschal ausblenden, nur UI-spezifische Elemente */
  .mobile-action-bar,
  .lang-inline {
    display: none;
  }
}

/* ENBT Chatbot */
.chatbot-widget {
  position: fixed;
  right: 1.25rem;
  bottom: calc(env(safe-area-inset-bottom, 0) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-end;
  z-index: 10;
}

.chatbot-panel {
  width: min(420px, 92vw);
  max-height: 75vh;
  background: rgba(12, 16, 28, 0.92);
  border: 1px solid var(--border-soft, rgba(148, 163, 184, 0.25));
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  pointer-events: auto;
}

.chatbot-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(75, 194, 255, 0.35),
    rgba(255, 255, 255, 0)
  );
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.chatbot-panel__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border-soft, rgba(148, 163, 184, 0.2));
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0)
  );
}

.chatbot-panel__kicker {
  font-size: 0.85rem;
  color: var(--text-muted, #9ca3af);
  margin: 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.chatbot-panel__title {
  margin: 0.1rem 0;
  font-size: 1.1rem;
  color: var(--text-light, #e7e7e7);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0.01em;
}

.chatbot-panel__subtitle {
  margin: 0;
  color: var(--text-muted, #9ca3af);
  font-size: 0.9rem;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
.chatbot-panel__contact {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--text-light, #e7e7e7);
}
.chatbot-panel__contact a {
  color: var(--accent, #4bc2ff);
  text-decoration: none;
}
.chatbot-panel__contact a:hover {
  text-decoration: underline;
}

.chatbot-panel__actions {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.chatbot-panel__actions button,
.chatbot-panel__actions a.chatbot-panel__close {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.05rem;
  min-width: 32px;
  min-height: 32px;
  border-radius: 8px;
  transition: background 0.2s ease;
  color: var(--text-light, #e7e7e7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chatbot-panel__actions button:hover,
.chatbot-panel__actions a.chatbot-panel__close:hover {
  background: rgba(255, 255, 255, 0.06);
}

.chatbot-panel__actions button:focus-visible,
.chatbot-panel__actions a.chatbot-panel__close:focus-visible {
  outline: 2px solid var(--accent, #4bc2ff);
  outline-offset: 2px;
}

.chatbot-panel__body {
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-light, #e7e7e7);
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(75, 194, 255, 0.08),
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(255, 255, 255, 0.05),
      transparent 35%
    );
}

.chatbot-panel__footer {
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid var(--border-soft, rgba(148, 163, 184, 0.25));
}

.chatbot-msg {
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  line-height: 1.4;
  font-size: 0.95rem;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}

.chatbot-msg--bot {
  background: rgba(75, 194, 255, 0.08);
  color: var(--text-light, #e7e7e7);
  align-self: flex-start;
}

.chatbot-msg--user {
  background: var(--accent, #4bc2ff);
  color: #fff;
  align-self: flex-end;
}

.chatbot-page .chatbot-widget {
  position: static;
  right: auto;
  bottom: auto;
  align-items: center;
  width: 100%;
}

.chatbot-page .chatbot-panel {
  width: min(960px, 100%);
  min-height: min(70vh, 720px);
  max-height: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.chatbot-page .chatbot-panel__body {
  max-height: none;
  min-height: 360px;
}

.chatbot-page-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  margin-bottom: 1rem;
}

.chatbot-page-shell {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.chatbot-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent, #4bc2ff);
  text-decoration: none;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft, rgba(148, 163, 184, 0.3));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.chatbot-back-link:hover {
  background: rgba(75, 194, 255, 0.1);
}

.chatbot-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.7);
  text-decoration: none;
  font-size: 1.2rem;
  line-height: 1;
  transition: all 0.2s ease;
}

.chatbot-close:hover {
  color: var(--text-light);
  border-color: rgba(75, 194, 255, 0.6);
  background: rgba(75, 194, 255, 0.08);
}

.chatbot-link-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.15rem;
  min-width: 3.25rem;
  min-height: 3.25rem;
  color: #333;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  z-index: 2000;
  transition:
    filter 0.35s ease,
    background 0.35s ease,
    color 0.35s ease,
    opacity 0.35s ease,
    box-shadow 0.35s ease,
    padding 0.35s ease,
    gap 0.3s ease,
    max-width 0.35s ease;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}

.chatbot-link-fab__badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #333;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.chatbot-link-fab__badge--image {
  background: url("/static/images/smily.0be69f857406.webp") center center / cover no-repeat;
  color: transparent;
}

.chatbot-link-fab__text {
  color: #f8fafc;
  font-size: 1rem;
}

.chatbot-link-fab.is-compact {
  padding: 0.55rem;
  gap: 0;
  max-width: 3.5rem;
  width: 3.5rem;
  height: 3.5rem;
  min-width: 3.5rem;
  min-height: 3.5rem;
  justify-content: center;
}

.chatbot-link-fab.is-compact .chatbot-link-fab__text {
  opacity: 0;
  transform: scaleX(0.6);
  width: 0;
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 640px) {
  .chatbot-link-fab {
    right: 1rem;
    top: auto;
    bottom: 1rem;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
  }
}

.chatbot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Manual page */
.manual-page {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 1.5rem 1rem 2.5rem;
  display: grid;
  gap: 1.25rem;
}

.manual-page h1 {
  font-size: clamp(1.2rem, 1.2vw + 0.9rem, 1.6rem);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  word-break: break-word;
  text-align: center;
  hyphens: auto;
}

.manual-section {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: grid;
  gap: 0.65rem;
  margin: 2rem 0 0 0;
}

.manual-section.manual-header {
  margin-top: 0;
  padding: 0;
  margin: 2rem 0 0 0;
}

.manual-section h2 {
  margin: 0 0 0.35rem 0;
  font-size: 1.25rem;
}

.manual-header {
  position: relative;
}

.manual-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.7);
  text-decoration: none;
  font-size: 1.2rem;
  line-height: 1;
  transition: all 0.2s ease;
}

.manual-close:hover {
  color: var(--text-light);
  border-color: rgba(75, 194, 255, 0.6);
  background: rgba(75, 194, 255, 0.08);
}

.manual-section h3 {
  margin: 0.25rem 0;
}

.manual-section ul,
.manual-section ol {
  list-style: none;
  padding-left: 0;
  color: var(--text-muted);
}

.manual-section li {
  margin: 0.6rem 0;
  line-height: 1.7;
  padding: 0 0.4rem;
}

.manual-callout {
  border: 1px solid rgba(56, 189, 248, 0.6);
  background: rgba(56, 189, 248, 0.08);
  border-radius: 0.75rem;
  padding: 0.75rem;
  color: #e0f2fe;
  margin-top: 0.35rem;
}

.manual-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.manual-actions a {
  margin: 0;
  max-width: 100%;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  align-self: center;
}

.lang-inline {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.35rem;
  margin-bottom: 0.5rem;
}

.lang-inline button {
  padding: 0.35rem 0.6rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.8);
  color: #e7e7e7;
  cursor: pointer;
}

.lang-inline button:hover {
  border-color: rgba(56, 189, 248, 0.7);
}

@media (max-width: 32rem) {
  .manual-page {
    padding: 1rem 0.9rem 1.5rem;
  }
  .manual-page h1 {
    font-size: 0.9rem;
    line-height: 1.2;
  }
  .manual-actions {
    gap: 0.35rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    display: flex;
  }
  .manual-actions a {
    width: auto;
    max-width: 86vw;
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 20rem) {
  .manual-page {
    padding: 0.7rem 0.65rem 1rem;
  }
  .manual-page h1 {
    font-size: 0.85rem;
    line-height: 1.2;
  }
  .manual-actions {
    gap: 0.3rem;
  }
  .manual-actions a {
    max-width: 82vw;
    padding: 0.5rem 0.65rem;
    font-size: 0.8rem;
  }
}

.chatbot-btn {
  border: 1px solid var(--border-soft, rgba(148, 163, 184, 0.3));
  background: var(--bg-dark, #0f0f0f);
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
  color: var(--text-light, #e7e7e7);
}

.chatbot-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent, #4bc2ff);
}

.chatbot-input {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.chatbot-input textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--border-soft, rgba(148, 163, 184, 0.35));
  background: var(--bg-dark, #0f0f0f);
  color: var(--text-light, #e7e7e7);
  resize: vertical;
  flex: 1;
}
.chatbot-input button {
  align-self: stretch;
  padding-inline: 1.1rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.chatbot-lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chatbot-lang {
  border: 1px solid var(--border-soft, rgba(148, 163, 184, 0.3));
  background: var(--bg-dark, #0f0f0f);
  padding: 0.35rem 0.6rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-light, #e7e7e7);
}

.chatbot-lang.active {
  background: var(--accent, #4bc2ff);
  color: #fff;
  border-color: var(--accent, #4bc2ff);
}

.chatbot-other-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chatbot-other-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border-soft, rgba(148, 163, 184, 0.3));
  padding: 0.6rem;
  font-family: inherit;
  background: var(--bg-dark, #0f0f0f);
  color: var(--text-light, #e7e7e7);
}

.chatbot-upload-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border: 1px dashed var(--border-soft, rgba(148, 163, 184, 0.35));
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.chatbot-upload__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.6rem;
}

.chatbot-upload__label {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0b1018;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  border: 1px solid rgba(56, 189, 248, 0.6);
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    filter 0.16s ease;
}

.chatbot-upload__label:hover,
.chatbot-upload__label:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0.7rem 1.6rem rgba(56, 189, 248, 0.3);
  filter: brightness(1.05);
  outline: none;
}

.chatbot-upload-form input[type="file"] {
  font-size: 0.9rem;
  color: var(--text-light, #e7e7e7);
}
.chatbot-upload__hint {
  font-size: 0.82rem;
  color: rgba(226, 232, 240, 0.78);
  margin: 0;
}
.chatbot-upload__status {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted, #cbd5e1);
}
.chatbot-upload__status[data-state="pending"] {
  color: #94a3b8;
}
.chatbot-upload__status[data-state="success"] {
  color: #4ade80;
}
.chatbot-upload__status[data-state="error"] {
  color: #ef4444;
}

.form-field--file {
  position: relative;
}

.file-inline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.file-input-hidden {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

.file-inline__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0b1018;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  border: 1px solid rgba(56, 189, 248, 0.6);
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    filter 0.16s ease;
}

.file-inline__button:hover,
.file-inline__button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0.7rem 1.6rem rgba(56, 189, 248, 0.3);
  filter: brightness(1.05);
  outline: none;
}

.file-inline__name {
  font-size: 0.92rem;
  color: var(--text-light);
  min-width: 10rem;
}

.file-inline__preview {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-soft, rgba(148, 163, 184, 0.35));
  background: rgba(15, 23, 42, 0.6);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: none;
}

.file-inline__preview.has-preview {
  display: inline-block;
}
.chatbot-upload__preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 100%;
  padding-top: 0.15rem;
}
.chatbot-upload__preview[hidden] {
  display: none;
}
.chatbot-upload__preview-item {
  display: grid;
  gap: 0.3rem;
  justify-items: center;
  padding: 0.45rem;
  border: 1px solid var(--border-soft, rgba(148, 163, 184, 0.35));
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}
.chatbot-upload__preview-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-soft, rgba(148, 163, 184, 0.35));
}
.chatbot-upload__remove {
  position: absolute;
  top: 6px;
  right: 6px;
  border: none;
  background: rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
  border-radius: 999px;
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
}
.chatbot-upload__remove:hover {
  background: rgba(148, 163, 184, 0.3);
}
.chatbot-upload__preview-icon {
  font-size: 1.4rem;
}
.chatbot-upload__preview-item span {
  font-size: 0.8rem;
  color: var(--text-light, #e7e7e7);
  word-break: break-all;
  text-align: center;
}

/* Auth / Reset pages */
.auth-page {
  min-height: 100vh;
  background: var(--bg, #0b1018);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.auth-shell {
  width: 100%;
  max-width: 480px;
}
.auth-card {
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-light, #e7e7e7);
  padding: 1.75rem;
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.18);
}
.auth-title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}
.auth-subtitle {
  margin: 0 0 1.25rem;
  color: rgba(226, 232, 240, 0.8);
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.auth-input {
  width: 100%;
  padding: 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--border-soft, rgba(148, 163, 184, 0.35));
  background: var(--bg-dark, #0f0f0f);
  color: var(--text-light, #e7e7e7);
}
.auth-btn {
  width: 100%;
  justify-content: center;
}
.auth-footer {
  margin-top: 1.5rem;
  text-align: center;
}
.auth-footer a {
  color: var(--accent, #4bc2ff);
}

@media screen and (max-width: 640px) {
  .chatbot-widget {
    right: 0.75rem;
    bottom: 0.9rem;
    align-items: stretch;
    left: 0.75rem;
    width: auto;
  }

  .chatbot-panel {
    width: 100%;
    max-height: 78vh;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  }

  .chatbot-panel__header {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .chatbot-panel__actions {
    margin-left: auto;
  }

  .chatbot-panel__body {
    max-height: 58vh;
  }
}

@media screen and (max-width: 768px) {
  .btn-primary,
  .btn-ghost {
    width: 100%;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
  .hero-actions,
  .manual-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin: 0 auto;
  }
}

@media screen and (min-width: 426px) and (max-width: 768px) {
  .interp-page {
    padding-top: 10rem;
  }
  .interp-shell {
    margin-top: 0.8rem;
  }
  .interp-grid {
    margin-top: 1.2rem;
  }
}

@media screen and (min-width: 768px) {
  .interp-page {
    padding-top: 5rem;
  }
}

@media screen and (min-width: 1024px) {
  .interp-page {
    align-items: flex-start;
    padding: 3.5rem clamp(2rem, 3vw, 3.25rem);
  }
  .interp-page .chatbot-widget > .interp-shell {
    width: min(1200px, 90vw);
  }
  .interp-filter,
  .interp-grid {
    max-width: 1200px;
  }
  .interp-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
  }
}

@media screen and (min-width: 1440px) {
  .interp-page {
    padding-top: 2.5rem;
  }
}

/* === Override: Interpreter cards one per row (full width) === */
.interp-grid {
  grid-template-columns: 1fr !important;
  max-width: none !important;
  margin: 0 !important;
  justify-items: stretch !important;
}
.notice {
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.12);
  color: var(--text-light);
  margin: 0 0 1rem 0;
}

.notice-success {
  border-color: rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.12);
}
