/*
 * Glembo Events - Editorial Redesign 2026
 * Layered on top of the production stylesheet to keep the existing PHP,
 * rental, blog and admin features intact while modernising the public site.
 */

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/jost-variable-latin.ttf") format("truetype");
}

:root {
  --bg: #f7f1e8;
  --light: #faf6f0;
  --warm: #efe5d4;
  --ink: #1c1c1f;
  --anthracite: #15151f;
  --soft: #3d3d40;
  --muted: #6b6b6f;
  --gold: #b8915a;
  --gold2: #d4b285;
  --gold-text: #8a6228;
  --champagne: #ead9bd;
  --wine: #6e2842;
  --border: #e8e0d3;
  --white: #faf6f0;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", Inter, Arial, sans-serif;
  --content-width: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-space: clamp(84px, 10vw, 144px);
  --transition: 220ms cubic-bezier(.22, 1, .36, 1);
  --shadow-soft: 0 24px 70px rgba(21, 21, 31, .1);
}

html {
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--ink);
}

body.nav-open {
  overflow: hidden;
}

main {
  overflow: clip;
}

p,
li,
input,
select,
textarea,
button {
  font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

img {
  height: auto;
}

a,
button,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold-text);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1001;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--bg);
  font: 600 14px var(--font-body);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100%, var(--content-width));
  max-width: none;
  padding-inline: var(--gutter);
}

.narrow {
  width: min(100%, 920px);
  max-width: none;
  padding-inline: var(--gutter);
}

/* Keep long-form article sidebars readable on wide desktop screens. */
@media (min-width: 1520px) {
  .article-section > .container {
    width: min(100%, 1540px);
    padding-inline: 32px;
  }

  .article-sidebar {
    width: min(328px, calc(100% - 24px));
    margin-left: 24px;
  }
}

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

.section.light {
  background: var(--light);
}

.section.warm {
  background: var(--warm);
}

.eyebrow,
.pill,
.tier,
.label,
.section-label,
.location-meta,
.contact-detail-label,
.review-meta {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--gold-text);
  letter-spacing: .24em;
}

.title {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: .005em;
}

.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.65;
}

.btn,
.nav-cta {
  min-height: 48px;
  justify-content: center;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.btn.dark,
.nav-cta {
  background: var(--ink);
  color: var(--bg);
}

.btn.dark:hover,
.nav-cta:hover {
  background: var(--gold-text);
  color: var(--bg);
}

.btn.gold {
  background: var(--gold);
  color: var(--anthracite);
}

.btn.gold:hover {
  background: var(--gold2);
  color: var(--anthracite);
}

.btn.text-link {
  min-height: 44px;
  padding: 10px 2px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  background: transparent;
}

/* Header and primary navigation */
.header {
  background: rgba(247, 241, 232, .96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav {
  height: 80px;
  gap: 30px;
}

.logo {
  min-height: 44px;
}

.logo-word-live {
  font-size: 21px;
  letter-spacing: .24em;
}

.logo-word-live em {
  margin-left: 1px;
  font-size: 14px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: .22em;
}

.menu {
  gap: clamp(16px, 1.7vw, 28px);
}

.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .055em;
}

.menu a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: var(--gold-text);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.menu a:hover::after,
.menu a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  flex: 0 0 auto;
  padding-inline: 24px;
}

.hamb {
  width: 48px;
  height: 48px;
  padding: 11px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hamb svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

/* Shared inner-page refinements */
.pagehead {
  padding-block: clamp(72px, 9vw, 126px) clamp(48px, 7vw, 88px);
}

.pagehead h1 {
  font-size: clamp(48px, 7vw, 86px);
  line-height: 1;
}

.pagehead p,
.contact-info p,
.legal p,
.legal li,
.card p,
.card li {
  font-family: var(--font-body);
}

.card,
.package,
.testimonial,
.review-card,
.formbox,
.contact-form,
.legal {
  border-radius: 4px;
}

.card p,
.card li {
  font-size: 16px;
  line-height: 1.65;
}

.quote,
.testimonial .quote,
.review-card .quote {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.45;
}

.field label,
.form-legend,
.form-hint {
  font-family: var(--font-body);
}

.field input,
.field select,
.field textarea {
  min-height: 48px;
  font-family: var(--font-body);
  border-radius: 2px;
}

.field textarea {
  min-height: 156px;
}

.consent-field {
  margin-top: 26px;
}

.consent-label {
  display: grid !important;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--soft) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.55;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.consent-label input {
  width: 20px;
  min-height: 20px;
  margin: 2px 0 0;
  accent-color: var(--ink);
}

.consent-label a {
  color: var(--gold-text);
  text-underline-offset: 3px;
}

.faq-item summary {
  min-height: 60px;
  font-family: var(--font-display);
  font-size: 23px;
}

/* Home hero */
.home-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 80px);
  background: var(--anthracite);
  color: var(--bg);
  overflow: hidden;
}

.home-hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.home-hero-media picture,
.home-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.home-hero-media img {
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(.78) contrast(1.02) brightness(.8);
}

.home-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 21, 31, .96) 0%, rgba(21, 21, 31, .83) 43%, rgba(21, 21, 31, .35) 72%, rgba(21, 21, 31, .18) 100%),
    linear-gradient(0deg, rgba(21, 21, 31, .45), transparent 40%);
}

.home-hero-inner {
  min-height: calc(100svh - 80px);
  display: flex;
  align-items: center;
  padding-block: clamp(72px, 8vw, 116px);
}

.home-hero-copy {
  width: min(100%, 670px);
}

.home-hero .eyebrow {
  color: var(--gold2);
  margin-bottom: 24px;
}

.home-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--bg);
  font-size: clamp(58px, 6.2vw, 92px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: .005em;
}

.home-hero h1 em {
  display: block;
  color: var(--gold2);
  font-weight: 300;
}

.home-hero-lead {
  max-width: 620px;
  margin: 30px 0 0;
  color: rgba(247, 241, 232, .87);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
}

.home-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.home-hero .btn.outline {
  border-color: rgba(247, 241, 232, .5);
  color: var(--bg);
}

.home-hero .btn.outline:hover {
  border-color: var(--gold2);
  background: rgba(247, 241, 232, .08);
}

.home-hero-promise {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 34px 0 0;
  color: rgba(247, 241, 232, .64);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-hero-promise::before {
  content: "";
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.home-trustbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.home-trustbar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.home-trust-item {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  border-left: 1px solid var(--border);
  color: var(--soft);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.home-trust-item:last-child {
  border-right: 1px solid var(--border);
}

.home-trust-item span:first-child {
  color: var(--gold-text);
  font-family: var(--font-display);
  font-size: 25px;
  font-style: italic;
}

/* Home content modules */
.home-intro-grid,
.home-split,
.home-about,
.home-region-grid,
.home-guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(48px, 8vw, 108px);
  align-items: center;
}

.home-copy .title {
  max-width: 760px;
}

.home-copy p {
  max-width: 690px;
  margin: 0 0 20px;
  color: var(--soft);
  font-size: 18px;
}

.home-proof-panel {
  padding: clamp(32px, 5vw, 60px);
  background: var(--light);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
}

.home-proof-panel h3 {
  margin-bottom: 28px;
  font-size: 32px;
  line-height: 1.12;
}

.home-proof-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-proof-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  color: var(--soft);
}

.home-proof-list li:last-child {
  padding-bottom: 0;
}

.home-proof-list .roman {
  color: var(--gold-text);
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
}

.home-wedding {
  background: var(--light);
}

.home-image-arch {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
}

.home-image-arch img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin: 30px 0 34px;
  padding: 0;
  list-style: none;
}

.home-checks li {
  position: relative;
  padding-left: 24px;
  color: var(--soft);
  font-size: 15px;
}

.home-checks li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 10px;
  height: 1px;
  background: var(--gold-text);
}

.home-services-head,
.home-reviews-head,
.home-gallery-head,
.home-process-head,
.home-faq-head {
  max-width: 820px;
  margin-bottom: clamp(46px, 6vw, 74px);
}

.home-service-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: repeat(2, minmax(280px, 1fr));
  gap: 18px;
}

.home-service-card {
  position: relative;
  isolation: isolate;
  min-height: 290px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--bg);
  text-decoration: none;
  border-radius: 6px;
}

.home-service-card:first-child {
  grid-row: 1 / 3;
}

.home-service-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.02);
  transition: transform 500ms cubic-bezier(.22, 1, .36, 1), filter 300ms ease;
}

.home-service-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgba(21, 21, 31, .9), rgba(21, 21, 31, .12) 72%);
}

.home-service-card:hover img {
  transform: scale(1.035);
  filter: saturate(.92) contrast(1.04);
}

.home-service-content {
  width: 100%;
  padding: clamp(28px, 4vw, 50px);
}

.home-service-number {
  display: block;
  margin-bottom: 10px;
  color: var(--gold2);
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
}

.home-service-card h3 {
  color: var(--bg);
  font-size: clamp(31px, 3vw, 48px);
}

.home-service-card p {
  max-width: 540px;
  margin: 12px 0 0;
  color: rgba(247, 241, 232, .82);
  font-size: 15px;
}

.home-service-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--gold2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.home-process {
  background: var(--warm);
}

.home-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--gold);
}

.home-process-step {
  min-height: 290px;
  padding: 38px clamp(22px, 3vw, 38px);
  border-right: 1px solid var(--border);
}

.home-process-step:first-child {
  border-left: 1px solid var(--border);
}

.home-process-step .roman {
  display: block;
  margin-bottom: 40px;
  color: var(--gold-text);
  font-family: var(--font-display);
  font-size: 34px;
  font-style: italic;
}

.home-process-step h3 {
  margin-bottom: 14px;
  font-size: 27px;
}

.home-process-step p {
  margin: 0;
  color: var(--soft);
  font-size: 15px;
}

.home-atmosphere {
  background: var(--anthracite);
  color: var(--bg);
}

.home-atmosphere .home-split {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.home-atmosphere .eyebrow,
.home-atmosphere .title em {
  color: var(--gold2);
}

.home-atmosphere .title {
  color: var(--bg);
}

.home-atmosphere p {
  color: rgba(247, 241, 232, .74);
}

.home-atmosphere-photo {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-radius: 6px;
}

.home-atmosphere-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.04);
}

.home-atmosphere-facts {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid rgba(247, 241, 232, .18);
}

.home-atmosphere-fact {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(247, 241, 232, .13);
}

.home-atmosphere-fact span {
  color: var(--gold2);
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
}

.home-atmosphere-fact strong {
  display: block;
  color: var(--bg);
  font-size: 15px;
  font-weight: 500;
}

.home-atmosphere-fact small {
  display: block;
  margin-top: 3px;
  color: rgba(247, 241, 232, .58);
  font-size: 14px;
}

.home-atmosphere-facts + .btn {
  margin-top: 32px;
}

.home-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.home-review {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 4vw, 44px);
  background: var(--light);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
}

.home-review .stars {
  font-family: var(--font-body);
  font-size: 11px;
}

.home-review blockquote {
  margin: 30px 0;
  color: var(--soft);
  font-family: var(--font-display);
  font-size: 25px;
  font-style: italic;
  line-height: 1.4;
}

.home-review footer {
  margin-top: auto;
  color: var(--gold-text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-reviews-action {
  margin-top: 34px;
}

.home-gallery {
  background: var(--light);
}

.home-gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  grid-template-rows: repeat(2, 270px);
  gap: 14px;
}

.home-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

.home-gallery-item:first-child {
  grid-row: 1 / 3;
}

.home-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.22, 1, .36, 1);
}

.home-gallery-item:hover img {
  transform: scale(1.035);
}

.home-gallery-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 44px 24px 20px;
  background: linear-gradient(0deg, rgba(21, 21, 31, .8), transparent);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 24px;
}

.home-about-photo {
  position: relative;
  max-width: 520px;
  margin-inline: auto;
}

.home-about-photo::before {
  content: none;
}

.home-about-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 5px;
}

/* A single quiet image treatment for editorial photography. */
:where(
  .home-image-arch,
  .home-atmosphere-photo,
  .home-about-photo,
  .article-hero-image,
  .article-image-inline,
  .region-media-frame,
  .reference-story-media
) img,
.about .portrait {
  outline: 1px solid rgba(212, 178, 133, .82);
  outline-offset: clamp(-24px, -2vw, -12px);
}

.article-hero-image,
.article-image-inline {
  border: 0;
}

.home-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 34px;
}

.home-value {
  padding: 9px 13px;
  border: 1px solid var(--border);
  color: var(--soft);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-region {
  background: var(--warm);
}

.home-region-map {
  padding: clamp(34px, 5vw, 58px);
  background: var(--bg);
  border: 1px solid var(--border);
}

.home-region-map h3 {
  margin-bottom: 22px;
  font-size: 32px;
}

.home-region-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-region-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.home-region-links a:hover {
  border-color: var(--gold);
  background: var(--light);
  color: var(--gold-text);
}

.home-faq .faq-list {
  max-width: none;
}

.home-guide {
  background: var(--light);
}

.home-guide-grid {
  grid-template-columns: minmax(230px, .55fr) minmax(0, 1.45fr);
}

.home-guide-cover {
  max-width: 320px;
  margin: 0 auto;
  transform: rotate(-1.4deg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.home-guide-cover img {
  display: block;
  width: 100%;
}

.home-final-cta {
  position: relative;
  isolation: isolate;
  padding-block: clamp(92px, 11vw, 150px);
  overflow: hidden;
  background: var(--anthracite);
  color: var(--bg);
  text-align: center;
}

.home-final-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(184, 145, 90, .18), transparent 34%),
    radial-gradient(circle at 14% 90%, rgba(110, 40, 66, .16), transparent 38%);
}

.home-final-cta .eyebrow {
  color: var(--gold2);
}

.home-final-cta h2 {
  max-width: 900px;
  margin: 0 auto 24px;
  color: var(--bg);
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 400;
  line-height: 1;
}

.home-final-cta p {
  max-width: 660px;
  margin: 0 auto 34px;
  color: rgba(247, 241, 232, .72);
  font-size: 18px;
}

/* Footer and mobile conversion rail */
.footer {
  background: var(--anthracite);
}

.footer,
.footer p,
.footer li,
.bottom {
  font-family: var(--font-body);
}

.footgrid {
  gap: clamp(28px, 4vw, 54px);
}

.footer a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.footer a:hover {
  color: var(--gold2);
}

.global-mobile-cta {
  display: none;
}

@media (max-width: 1180px) {
  .menu {
    gap: 14px;
  }

  .menu a {
    font-size: 11px;
  }

  .nav-cta {
    padding-inline: 18px;
  }
}

@media (max-width: 1060px) {
  .hamb {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .nav-cta {
    margin-left: auto;
  }

  .menu {
    position: fixed;
    z-index: 98;
    top: 80px;
    right: 0;
    left: 0;
    max-height: calc(100dvh - 80px);
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 22px var(--gutter) 34px;
    overflow-y: auto;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity var(--transition), transform var(--transition);
  }

  .menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu li {
    border-bottom: 1px solid var(--border);
  }

  .menu a {
    width: 100%;
    min-height: 52px;
    justify-content: space-between;
    padding-block: 8px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0;
  }

  .menu a::after {
    content: "→";
    position: static;
    width: auto;
    height: auto;
    color: var(--gold-text);
    background: none;
    font-size: 18px;
    transform: none;
  }

  .home-trustbar-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-trust-item:nth-child(3) {
    border-top: 1px solid var(--border);
  }

  .home-trust-item:nth-child(4) {
    border-top: 1px solid var(--border);
  }

  .home-trust-item:nth-child(even) {
    border-right: 1px solid var(--border);
  }

  .home-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-process-step:nth-child(3),
  .home-process-step:nth-child(4) {
    border-top: 1px solid var(--border);
  }

  .home-process-step:nth-child(3) {
    border-left: 1px solid var(--border);
  }

  .home-review-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-review:last-child {
    grid-column: 1 / -1;
    min-height: auto;
  }
}

@media (max-width: 820px) {
  .home-intro-grid,
  .home-split,
  .home-about,
  .home-region-grid,
  .home-guide-grid,
  .home-atmosphere .home-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .home-image-arch,
  .home-atmosphere-photo {
    min-height: 520px;
  }

  .home-about-photo {
    max-width: 460px;
  }

  .home-region-map {
    order: 2;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
    --section-space: 78px;
  }

  html {
    scroll-padding-top: 80px;
  }

  body {
    font-size: 16px;
  }

  .nav {
    height: 72px;
    gap: 12px;
  }

  .logo-word-live {
    font-size: 19px;
  }

  .logo-word-live em {
    font-size: 13px;
  }

  .nav-cta {
    display: none;
  }

  .menu {
    top: 72px;
    max-height: calc(100dvh - 72px);
  }

  .home-hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .home-hero-media {
    position: relative;
    z-index: 0;
    height: min(54svh, 520px);
    min-height: 360px;
    order: 1;
  }

  .home-hero-media img {
    object-position: center 48%;
    filter: saturate(.82) contrast(1.02) brightness(.82);
  }

  .home-hero::before {
    z-index: 1;
    top: 0;
    bottom: auto;
    height: min(54svh, 520px);
    min-height: 360px;
    background: linear-gradient(0deg, var(--anthracite) 0%, rgba(21, 21, 31, .12) 52%);
    pointer-events: none;
  }

  .home-hero-inner {
    min-height: 0;
    order: 2;
    padding-top: 26px;
    padding-bottom: 64px;
    background: var(--anthracite);
  }

  .home-hero .eyebrow {
    margin-bottom: 16px;
    font-size: 10px;
    line-height: 1.55;
  }

  .home-hero h1 {
    max-width: 520px;
    font-size: clamp(46px, 13vw, 64px);
    line-height: .98;
  }

  .home-hero-lead {
    margin-top: 22px;
    font-size: 17px;
  }

  .home-hero-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 28px;
  }

  .home-hero-actions .btn {
    width: 100%;
  }

  .home-hero-promise {
    align-items: flex-start;
    margin-top: 28px;
    font-size: 10px;
    line-height: 1.6;
  }

  .home-hero-promise::before {
    margin-top: 8px;
  }

  .home-trustbar-inner {
    grid-template-columns: 1fr;
  }

  .home-trust-item {
    min-height: 68px;
    padding: 15px 4px;
    border-right: 0;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .home-trust-item:first-child {
    border-top: 0;
  }

  .home-trust-item:nth-child(even) {
    border-right: 0;
  }

  .home-image-arch,
  .home-atmosphere-photo {
    min-height: 440px;
  }

  .home-checks {
    grid-template-columns: 1fr;
  }

  .home-service-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .home-service-card,
  .home-service-card:first-child {
    grid-row: auto;
    min-height: 390px;
  }

  .home-process-grid,
  .home-review-grid {
    grid-template-columns: 1fr;
  }

  .home-process-step,
  .home-process-step:first-child {
    min-height: auto;
    padding: 28px 22px 32px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-left: 1px solid var(--border);
  }

  .home-process-step:nth-child(3),
  .home-process-step:nth-child(4) {
    border-top: 0;
  }

  .home-process-step .roman {
    margin-bottom: 18px;
  }

  .home-review,
  .home-review:last-child {
    min-height: 0;
    grid-column: auto;
  }

  .home-gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 320px);
  }

  .home-gallery-item:first-child {
    grid-row: auto;
  }

  .home-final-cta {
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }

  .home-final-cta h2 {
    font-size: clamp(46px, 13vw, 64px);
  }

  .global-mobile-cta {
    position: fixed;
    z-index: 97;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(21, 21, 31, .96);
    border-top: 1px solid rgba(184, 145, 90, .38);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .global-mobile-cta a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--gold);
    color: var(--anthracite);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
  }

  body:has(.contact-form) .global-mobile-cta,
  body:has(.vl-cart-fab) .global-mobile-cta,
  body:has(.sticky-cta) .global-mobile-cta {
    display: none;
  }

  body:not(:has(.contact-form)):not(:has(.vl-cart-fab)):not(:has(.sticky-cta)) .footer {
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
  }
}

/* Editorial reference overview and the short location story on every report. */
.reference-showcase {
  background: var(--light);
}

.reference-showcase-head {
  max-width: 820px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.reference-showcase-head h2 {
  margin: 12px 0 18px;
  font-size: clamp(44px, 5.8vw, 82px);
}

.reference-showcase-head p {
  max-width: 680px;
  margin: 0;
  color: var(--soft);
  font-size: clamp(16px, 1.5vw, 19px);
}

.reference-story-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: 330px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.reference-story-tile {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--anthracite);
}

.reference-story-tile--lead,
.reference-story-tile--wide {
  grid-column: span 2;
}

.reference-story-tile--tall {
  grid-row: span 2;
}

.reference-story-tile > a {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 100%;
  align-items: flex-end;
  color: var(--bg);
  text-decoration: none;
}

.reference-story-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.22, 1, .36, 1), filter 400ms ease;
}

.reference-story-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 12, 17, .02) 26%, rgba(13, 12, 17, .84) 100%);
}

.reference-story-card-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  padding: clamp(24px, 3vw, 38px);
}

.reference-story-card-meta {
  display: block;
  margin-bottom: 9px;
  color: var(--gold2);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.reference-story-card-copy h3 {
  margin: 0 0 10px;
  color: var(--bg);
  font-size: clamp(30px, 3.1vw, 48px);
  line-height: .98;
}

.reference-story-tile:not(.reference-story-tile--lead):not(.reference-story-tile--wide) h3 {
  font-size: clamp(28px, 2.4vw, 38px);
}

.reference-story-card-copy p {
  max-width: 620px;
  margin: 0;
  color: rgba(247, 241, 232, .82);
  font-size: 14px;
  line-height: 1.55;
}

.reference-story-card-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--bg);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.reference-story-tile:hover img {
  filter: saturate(1.05);
  transform: scale(1.035);
}

.reference-story-tile > a:focus-visible {
  outline: 3px solid var(--gold2);
  outline-offset: -3px;
}

.reference-story-section {
  background: var(--warm);
}

.reference-story-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
}

.reference-story-media {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  background: var(--anthracite);
  box-shadow: var(--shadow-soft);
}

.reference-story-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-story-copy {
  max-width: 660px;
}

.reference-story-copy h2 {
  margin: 14px 0 24px;
  font-size: clamp(44px, 5vw, 72px);
  line-height: .98;
}

.reference-story-copy > p {
  margin: 0;
  color: var(--soft);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.75;
}

.reference-story-points {
  display: grid;
  gap: 0;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.reference-story-points li {
  position: relative;
  padding: 15px 0 15px 27px;
  border-bottom: 1px solid var(--border);
  color: var(--soft);
  font-size: 14px;
  line-height: 1.5;
}

.reference-story-points li::before {
  content: "✦";
  position: absolute;
  left: 2px;
  color: var(--gold-text);
}

@media (max-width: 1060px) {
  .reference-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 320px;
  }

  .reference-story-layout {
    gap: 48px;
  }

  .reference-story-media {
    min-height: 500px;
  }
}

@media (max-width: 760px) {
  .reference-story-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 12px;
  }

  .reference-story-tile,
  .reference-story-tile--lead,
  .reference-story-tile--wide,
  .reference-story-tile--tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 390px;
  }

  .reference-story-tile--tall {
    min-height: 500px;
  }

  .reference-story-card-copy {
    padding: 26px 22px;
  }

  .reference-story-card-copy h3,
  .reference-story-tile:not(.reference-story-tile--lead):not(.reference-story-tile--wide) h3 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .reference-story-layout {
    grid-template-columns: 1fr;
  }

  .reference-story-media {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }
}

/* Immersive inner-page hero system: main pages, editorial articles and rentals. */
.pagehead {
  position: relative;
  isolation: isolate;
  min-height: clamp(540px, 72svh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--anthracite);
  color: var(--bg);
}

.pagehead:not(.pagehead-img):not(.article-head):not(.rental-detail-head)::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: url("dj-package-1448.webp");
  background-position: center 45%;
  background-size: cover;
}

.article-head:not(:has(.article-hero-image))::before,
.rental-detail-head:not(.pagehead-img)::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: url("dj-package-1448.webp") center 45% / cover no-repeat;
}

body:has(.location-card) .pagehead:not(.pagehead-img)::before {
  background-image: url("lkh-hero-1400.webp");
}

body:has(.about .portrait) .pagehead:not(.pagehead-img)::before {
  background-image: url("ueber-mich-smile-1123.webp");
  background-position: center 28%;
}

.pagehead-img::before {
  content: none;
}

.pagehead::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15, 15, 24, .9) 0%, rgba(15, 15, 24, .66) 48%, rgba(15, 15, 24, .24) 100%),
    linear-gradient(0deg, rgba(15, 15, 24, .72) 0%, transparent 58%);
}

.pagehead > .pagehead-bg,
.article-head .article-hero-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pagehead > .pagehead-bg,
.pagehead > .pagehead-bg img,
.article-head .article-hero-image img {
  object-fit: cover;
  object-position: center 45%;
}

.pagehead > div.pagehead-bg picture,
.pagehead > div.pagehead-bg img {
  display: block;
  width: 100%;
  height: 100%;
}

.article-head .article-hero-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.pagehead > .narrow {
  position: relative;
  z-index: 2;
  width: min(100%, var(--content-width));
  max-width: none;
  margin-inline: auto;
  padding: clamp(92px, 10vw, 148px) var(--gutter) clamp(64px, 7vw, 96px);
}

.pagehead .crumb,
.pagehead .crumb a,
.pagehead .article-meta {
  color: var(--gold2);
}

.pagehead h1,
.pagehead h1 em {
  max-width: 980px;
  margin-bottom: 18px;
  color: var(--bg);
  text-wrap: balance;
}

.pagehead h1 em {
  color: var(--gold2);
}

.pagehead p,
.pagehead .blog-summary {
  max-width: 760px;
  margin: 0;
  color: rgba(247, 241, 232, .84);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.68;
}

.article-head {
  min-height: clamp(580px, 62svh, 740px);
}

.article-head > .narrow {
  position: static;
  z-index: auto;
  width: min(100%, var(--content-width));
}

.article-head > .narrow > :not(.article-hero-image) {
  position: relative;
  z-index: 2;
  display: block;
  width: min(100%, 980px);
  margin-right: auto;
}

.article-head .article-hero-image {
  margin: 0;
  overflow: hidden;
  outline: 0;
  border: 0;
  box-shadow: none;
  background: var(--anthracite);
}

.article-head .article-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  outline: 0;
  filter: saturate(.92) contrast(1.03);
}

.article-head::after {
  background:
    linear-gradient(90deg, rgba(15, 15, 24, .96) 0%, rgba(15, 15, 24, .84) 62%, rgba(15, 15, 24, .46) 100%),
    linear-gradient(0deg, rgba(15, 15, 24, .78) 0%, transparent 68%);
}

.article-head h1,
.article-head .blog-summary {
  text-shadow: 0 2px 28px rgba(0, 0, 0, .42);
}

.blog-pagehead {
  min-height: clamp(540px, 68svh, 760px);
}

.rental-detail-head {
  min-height: clamp(480px, 55svh, 640px);
}

.rental-detail-head::after {
  background:
    linear-gradient(90deg, rgba(15, 15, 24, .93) 0%, rgba(15, 15, 24, .72) 52%, rgba(15, 15, 24, .34) 100%),
    linear-gradient(0deg, rgba(15, 15, 24, .7), transparent 62%);
}

.rental-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
}

.rental-hero-price {
  color: var(--gold2);
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

.rental-hero-price small {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rental-detail-head .btn {
  min-height: 50px;
}

main:has(.legal) > .pagehead,
main:has(.guide-confirmation) > .pagehead {
  min-height: clamp(420px, 48svh, 560px);
}

@media (max-width: 760px) {
  .pagehead,
  .blog-pagehead,
  .article-head,
  .rental-detail-head {
    min-height: max(620px, 72svh);
  }

  .pagehead > .narrow {
    padding-top: 84px;
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
  }

  .pagehead h1,
  .article-head h1 {
    font-size: clamp(42px, 11.2vw, 58px);
    line-height: .98;
  }

  .pagehead p,
  .pagehead .blog-summary {
    font-size: 16px;
    line-height: 1.62;
  }

  .pagehead::after,
  .article-head::after,
  .rental-detail-head::after {
    background:
      linear-gradient(90deg, rgba(15, 15, 24, .9), rgba(15, 15, 24, .54)),
      linear-gradient(0deg, rgba(15, 15, 24, .82), rgba(15, 15, 24, .08) 72%);
  }

  .pagehead > .pagehead-bg,
  .article-head .article-hero-image img {
    object-position: center 42%;
  }

  .rental-hero-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  main:has(.legal) > .pagehead,
  main:has(.guide-confirmation) > .pagehead {
    min-height: max(500px, 58svh);
  }
}

/* Technik & Licht landing page */
.tech-pagehead .eyebrow {
  margin-bottom: 14px;
  color: var(--gold2);
}

.tech-hero-actions,
.tech-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.tech-section-head {
  max-width: 820px;
  margin-bottom: clamp(42px, 6vw, 72px);
}

.tech-section-head h2 {
  margin: 12px 0 20px;
  font-size: clamp(46px, 6vw, 80px);
  line-height: .98;
}

.tech-section-head p {
  max-width: 690px;
  margin: 0;
  color: var(--soft);
  font-size: 18px;
}

.tech-intro {
  background: var(--light);
}

.tech-principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--border);
}

.tech-principles article {
  min-height: 300px;
  padding: clamp(28px, 3vw, 42px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tech-principles article > span,
.tech-path-number {
  display: block;
  margin-bottom: 44px;
  color: var(--gold-text);
  font-family: var(--font-display);
  font-size: 34px;
  font-style: italic;
}

.tech-principles h3 {
  margin-bottom: 14px;
  font-size: 29px;
}

.tech-principles p,
.tech-paths p,
.tech-audio-grid p {
  margin: 0;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.7;
}

.tech-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(52px, 7vw, 110px);
  align-items: center;
}

.tech-feature-grid-reverse .tech-feature-copy {
  order: 1;
}

.tech-feature-grid-reverse .tech-feature-media {
  order: 2;
}

.tech-feature-media {
  position: relative;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.tech-feature-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  outline: 1px solid rgba(212, 178, 133, .82);
  outline-offset: -20px;
}

.tech-feature-copy h2 {
  margin: 14px 0 24px;
  font-size: clamp(46px, 5.4vw, 76px);
  line-height: .98;
}

.tech-feature-copy > p {
  margin: 0;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.75;
}

.tech-checks {
  margin: 30px 0 34px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.tech-checks li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--border);
  color: var(--soft);
  font-size: 15px;
}

.tech-checks li::before {
  content: "✦";
  position: absolute;
  left: 2px;
  color: var(--gold-text);
}

.tech-ambient {
  background: var(--anthracite);
  color: var(--bg);
}

.tech-ambient .eyebrow,
.tech-ambient h2 em {
  color: var(--gold2);
}

.tech-ambient h2 {
  color: var(--bg);
}

.tech-ambient .tech-feature-copy > p {
  color: rgba(247, 241, 232, .72);
}

.tech-facts {
  display: grid;
  margin-top: 30px;
  border-top: 1px solid rgba(247, 241, 232, .17);
}

.tech-facts div {
  padding: 17px 0;
  border-bottom: 1px solid rgba(247, 241, 232, .14);
}

.tech-facts strong,
.tech-facts span {
  display: block;
}

.tech-facts strong {
  margin-bottom: 3px;
  color: var(--bg);
  font-size: 15px;
}

.tech-facts span {
  color: rgba(247, 241, 232, .58);
  font-size: 14px;
}

.tech-ambient .btn.outline,
.tech-rental-card .btn.outline {
  color: var(--bg);
  border-color: rgba(247, 241, 232, .42);
}

.tech-audio {
  background: var(--warm);
}

.tech-audio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--border);
}

.tech-audio-grid article {
  min-height: 210px;
  padding: clamp(28px, 4vw, 46px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tech-audio-grid h3 {
  margin-bottom: 14px;
  font-size: 34px;
}

.tech-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tech-paths article {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 4vw, 48px);
  background: var(--light);
  border: 1px solid var(--border);
}

.tech-paths h3 {
  margin-bottom: 14px;
  font-size: 34px;
}

.tech-paths a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 26px;
  color: var(--gold-text);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.tech-rental-bridge {
  background: var(--light);
}

.tech-rental-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .8fr);
  gap: clamp(44px, 6vw, 90px);
  align-items: center;
  padding: clamp(36px, 6vw, 82px);
  overflow: hidden;
  background: var(--anthracite);
  color: var(--bg);
}

.tech-rental-card h2 {
  margin: 14px 0 20px;
  color: var(--bg);
  font-size: clamp(46px, 5.3vw, 72px);
}

.tech-rental-card h2 em,
.tech-rental-card .eyebrow {
  color: var(--gold2);
}

.tech-rental-card p {
  max-width: 660px;
  margin: 0;
  color: rgba(247, 241, 232, .7);
  font-size: 17px;
}

.tech-rental-card img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  outline: 1px solid rgba(212, 178, 133, .72);
  outline-offset: -16px;
}

/* Editorial rental catalog redesign; functional JS hooks stay unchanged. */
body:has(#verleih-system) {
  background: var(--light);
}

body:has(#verleih-system) .menu a[href="technik-licht.html"]::after,
body:has(.vl-detail) .menu a[href="technik-licht.html"]::after {
  transform: scaleX(1);
}

body:has(#verleih-system) .vl-datebar {
  top: 80px;
  padding: 16px max(24px, calc((100vw - 1440px) / 2));
  background: var(--anthracite);
  color: var(--bg);
  border-bottom: 1px solid rgba(212, 178, 133, .3);
}

body:has(#verleih-system) .vl-datebar .vl-dt-field {
  min-height: 58px;
  border-color: rgba(247, 241, 232, .22);
  border-radius: 2px;
  background: rgba(247, 241, 232, .06);
}

body:has(#verleih-system) .vl-datebar .vl-dt-field:hover,
body:has(#verleih-system) .vl-datebar .vl-dt-field.is-active {
  border-color: var(--gold2);
  background: rgba(247, 241, 232, .1);
  box-shadow: none;
}

body:has(#verleih-system) .vl-datebar .vl-dt-label,
body:has(#verleih-system) .vl-datebar .vl-picker-lbl {
  color: var(--gold2);
}

body:has(#verleih-system) .vl-datebar .vl-dt-value,
body:has(#verleih-system) .vl-datebar .vl-duration,
body:has(#verleih-system) .vl-db-urgent {
  color: rgba(247, 241, 232, .82);
}

body:has(#verleih-system) .vl-db-urgent .vl-btn-sec {
  color: var(--bg) !important;
  border-color: rgba(247, 241, 232, .42) !important;
}

body:has(#verleih-system) .vl-db-urgent .vl-btn-sec:hover {
  color: var(--bg) !important;
  background: rgba(247, 241, 232, .1) !important;
  border-color: var(--gold2) !important;
}

body:has(#verleih-system) .vl-subbar {
  top: calc(80px + var(--vl-datebar-h, 88px));
  padding-inline: max(24px, calc((100vw - 1440px) / 2));
  background: rgba(247, 241, 232, .96);
  backdrop-filter: blur(16px);
}

body:has(#verleih-system) .vl-search,
body:has(#verleih-system) .vl-sort {
  min-height: 48px;
  border-radius: 2px;
  background: var(--bg);
}

body:has(#verleih-system) .vl-quickchips,
body:has(#verleih-system) .vl-shell {
  width: min(100%, 1500px);
  margin-inline: auto;
}

body:has(#verleih-system) .vl-shell {
  grid-template-columns: 230px minmax(0, 1fr) 270px;
  gap: 22px;
  padding: 44px 30px 80px;
}

body:has(#verleih-system) .vl-sidebar,
body:has(#verleih-system) .vl-rail-card {
  border-radius: 2px;
  box-shadow: none;
  background: var(--bg);
}

body:has(#verleih-system) .vl-pill {
  min-height: 40px;
  border-radius: 2px;
  background: transparent;
}

body:has(#verleih-system) .vl-pill.is-active {
  background: var(--anthracite);
}

body:has(#verleih-system) .vl-catalog-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

body:has(#verleih-system) .vl-group-label,
body:has(#verleih-system) .section-label {
  color: var(--gold-text);
  font-size: 12px;
  letter-spacing: .18em;
}

body:has(#verleih-system) .vl-item-card {
  border-radius: 2px;
  box-shadow: none;
  background: var(--bg);
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

body:has(#verleih-system) .vl-item-card:hover {
  border-color: rgba(184, 145, 90, .7);
  box-shadow: 0 18px 46px rgba(21, 21, 31, .1);
  transform: translateY(-3px);
}

body:has(#verleih-system) .vl-item-img,
body:has(#verleih-system) .vl-img-placeholder {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 68% 22%, rgba(184, 145, 90, .2), transparent 28%),
    var(--warm);
}

body:has(#verleih-system) .vl-item-img-link {
  color: inherit;
  text-decoration: none;
}

body:has(#verleih-system) .vl-img-placeholder {
  display: grid;
  place-items: center;
}

body:has(#verleih-system) .vl-img-placeholder::before {
  content: "G";
  color: rgba(184, 145, 90, .38);
  font-family: var(--font-display);
  font-size: 72px;
}

body:has(#verleih-system) .vl-item-body {
  padding: 24px;
  gap: 12px;
}

body:has(#verleih-system) .vl-item-body h4 {
  font-size: 27px;
  line-height: 1.08;
}

body:has(#verleih-system) .vl-price {
  color: var(--gold-text);
  font-size: 25px;
}

body:has(#verleih-system) .vl-badge,
body:has(#verleih-system) .vl-usecase-chip {
  border-radius: 2px;
}

body:has(#verleih-system) .vl-qty-input {
  min-height: 44px;
  border-radius: 2px;
  background: var(--light);
}

body:has(#verleih-system) .vl-add-btn {
  min-height: 44px;
  border-radius: 2px;
}

/* Rental cart: editorial request drawer */
body:has(#verleih-system) .vl-cart-modal {
  padding: 0;
  justify-content: flex-end;
  align-items: stretch;
  background: rgba(14, 13, 18, .72);
  backdrop-filter: blur(7px);
}

body:has(#verleih-system) .vl-cart-modal.is-open {
  justify-content: flex-end;
  align-items: stretch;
}

body:has(#verleih-system) .vl-cart-modal .vl-cart-box {
  width: min(100%, 520px);
  max-width: none;
  min-height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: clamp(78px, 9vh, 112px) clamp(30px, 4vw, 58px) 38px;
  overflow: hidden;
  color: var(--bg);
  background: var(--anthracite);
  border: 0;
  border-left: 1px solid rgba(212, 178, 133, .48);
  border-radius: 0;
  box-shadow: -28px 0 80px rgba(0, 0, 0, .2);
  animation: vlCartDrawerIn 260ms ease-out both;
}

@keyframes vlCartDrawerIn {
  from { opacity: .75; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}

body:has(#verleih-system) .vl-cart-modal .vl-anfrage-modal-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  color: var(--bg);
  background: transparent;
  border: 1px solid rgba(247, 241, 232, .34);
  border-radius: 50%;
  box-shadow: none;
  transition: color 200ms ease, background 200ms ease, border-color 200ms ease;
}

body:has(#verleih-system) .vl-cart-modal .vl-anfrage-modal-close:hover,
body:has(#verleih-system) .vl-cart-modal .vl-anfrage-modal-close:focus-visible {
  color: var(--anthracite);
  background: var(--gold2);
  border-color: var(--gold2);
}

body:has(#verleih-system) .vl-cart-box::before {
  content: "EQUIPMENT-AUSWAHL";
  flex: none;
  margin-bottom: 14px;
  color: var(--gold2);
  font: 700 11px/1.3 var(--font-sans);
  letter-spacing: .2em;
}

body:has(#verleih-system) .vl-cart-box h3 {
  margin: 0 0 28px;
  color: var(--bg);
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 52px);
  line-height: .95;
}

body:has(#verleih-system) .vl-cart-list {
  padding-right: 8px;
}

body:has(#verleih-system) .vl-cart-empty {
  padding: 26px 0 30px;
  color: rgba(247, 241, 232, .72);
  border-top: 1px solid rgba(247, 241, 232, .16);
  border-bottom: 1px solid rgba(247, 241, 232, .16);
  font-size: 15px;
  line-height: 1.75;
}

body:has(#verleih-system) .vl-cart-item {
  gap: 20px;
  padding: 18px 0;
  border-color: rgba(247, 241, 232, .16);
}

body:has(#verleih-system) .vl-cart-item-info {
  color: var(--bg);
  font-size: 15px;
  line-height: 1.45;
}

body:has(#verleih-system) .vl-cart-price {
  color: var(--gold2);
  font-size: 22px;
}

body:has(#verleih-system) .vl-remove-btn {
  min-width: 44px;
  min-height: 44px;
  color: rgba(247, 241, 232, .68);
  border: 1px solid rgba(247, 241, 232, .18);
  border-radius: 50%;
}

body:has(#verleih-system) .vl-remove-btn:hover,
body:has(#verleih-system) .vl-remove-btn:focus-visible {
  color: var(--bg);
  border-color: var(--gold2);
}

body:has(#verleih-system) .vl-cart-total {
  margin-top: 22px;
  padding-top: 20px;
  color: rgba(247, 241, 232, .82);
  border-top: 1px solid rgba(247, 241, 232, .22);
  font-size: 14px;
  line-height: 1.65;
}

body:has(#verleih-system) .vl-cart-actions {
  gap: 12px;
  margin-top: 24px;
}

body:has(#verleih-system) .vl-cart-actions .btn {
  min-height: 56px;
  justify-content: center;
  border-radius: 2px;
}

body:has(#verleih-system) .vl-cart-actions .btn[disabled] {
  color: rgba(21, 21, 31, .62);
  background: rgba(212, 178, 133, .5);
  opacity: 1;
}

body:has(#verleih-system) .vl-cart-actions .vl-btn-sec {
  color: var(--bg) !important;
  border-color: rgba(247, 241, 232, .28) !important;
}

body:has(#verleih-system) .vl-cart-actions .vl-btn-sec:hover {
  color: var(--bg) !important;
  background: rgba(247, 241, 232, .08) !important;
  border-color: var(--gold2) !important;
}

@media (max-width: 600px) {
  body:has(#verleih-system) .vl-cart-modal .vl-cart-box {
    width: 100%;
    padding: 76px 20px max(24px, env(safe-area-inset-bottom));
    border-left: 0;
  }

  body:has(#verleih-system) .vl-cart-modal .vl-anfrage-modal-close {
    top: 14px;
    right: 14px;
  }

  body:has(#verleih-system) .vl-cart-box h3 {
    margin-bottom: 22px;
    font-size: 40px;
  }

  body:has(#verleih-system) .vl-cart-item {
    align-items: flex-start;
  }
}

/* Rental product details */
body:has(.vl-detail) > main > .section {
  background: var(--light);
}

body:has(.vl-detail) .vl-detail {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(46px, 6vw, 88px);
  max-width: 1280px;
  margin: 0 auto;
}

body:has(.vl-detail) .vl-gallery-main {
  position: sticky;
  top: 104px;
  overflow: hidden;
  border: 0;
  background: var(--warm);
  box-shadow: var(--shadow-soft);
}

body:has(.vl-detail) .vl-gallery-main-img {
  outline: 1px solid rgba(212, 178, 133, .75);
  outline-offset: -18px;
}

body:has(.vl-detail) .vl-detail-info {
  padding: clamp(28px, 4vw, 48px);
  background: var(--bg);
  border-top: 1px solid var(--gold);
}

body:has(.vl-detail) .vl-detail-lead {
  font-size: 19px;
  line-height: 1.7;
}

body:has(.vl-detail) .vl-spec-table th,
body:has(.vl-detail) .vl-spec-table td {
  padding-block: 13px;
}

body:has(.vl-detail) .vl-detail-cta-row .btn {
  min-height: 48px;
  border-radius: 2px;
}

body:has(.vl-detail) .vl-related {
  max-width: 1280px;
  margin-inline: auto;
}

body:has(.vl-detail) .vl-related-card {
  padding: 16px;
  background: var(--bg);
}

@media (min-width: 1061px) {
  .nav {
    gap: 18px;
  }

  .menu {
    gap: clamp(9px, 1vw, 17px);
  }

  .menu a {
    font-size: 11px;
  }

  .nav-cta {
    padding-inline: 18px;
  }
}

@media (max-width: 1100px) {
  .tech-principles {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-paths {
    grid-template-columns: 1fr;
  }

  .tech-paths article {
    min-height: 280px;
  }

  body:has(#verleih-system) .vl-shell {
    grid-template-columns: 1fr;
  }

  body:has(#verleih-system) .vl-item-card {
    padding: 12px;
  }

  body:has(#verleih-system) .vl-item-img,
  body:has(#verleih-system) .vl-img-placeholder {
    width: 112px;
    height: 112px;
    border-radius: 2px;
  }
}

@media (max-width: 820px) {
  .tech-feature-grid,
  .tech-rental-card {
    grid-template-columns: 1fr;
  }

  .tech-feature-grid-reverse .tech-feature-copy,
  .tech-feature-grid-reverse .tech-feature-media {
    order: initial;
  }

  .tech-feature-media {
    min-height: 520px;
  }

  .tech-rental-card img {
    min-height: 280px;
  }

  body:has(.vl-detail) .vl-detail {
    grid-template-columns: 1fr;
  }

  body:has(.vl-detail) .vl-gallery-main {
    position: static;
  }
}

@media (max-width: 760px) {
  .tech-hero-actions,
  .tech-inline-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tech-hero-actions .btn,
  .tech-inline-actions .btn {
    justify-content: center;
    width: 100%;
  }

  .tech-principles,
  .tech-audio-grid {
    grid-template-columns: 1fr;
  }

  .tech-principles article {
    min-height: 230px;
  }

  .tech-principles article > span,
  .tech-path-number {
    margin-bottom: 24px;
  }

  .tech-feature-media {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .tech-rental-card {
    padding: 28px 22px;
  }

  body:has(#verleih-system) .vl-datebar {
    padding: 13px 20px;
  }

  body:has(#verleih-system) .vl-db-summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    color: var(--bg);
    font-size: 18px;
  }

  body:has(#verleih-system) .vl-subbar {
    padding-inline: 20px;
  }

  body:has(#verleih-system) .vl-shell {
    padding: 20px 20px 92px;
  }

  body:has(#verleih-system) .vl-item-card {
    gap: 14px;
    padding: 12px;
  }

  body:has(#verleih-system) .vl-item-body {
    padding: 0;
  }

  body:has(#verleih-system) .vl-item-body h4 {
    font-size: 22px;
  }

  body:has(.vl-detail) .vl-detail-info {
    padding: 26px 20px;
  }
}

@media (max-width: 390px) {
  .logo-word-live {
    font-size: 17px;
    letter-spacing: .2em;
  }

  .logo-word-live em {
    font-size: 12px;
  }

  .home-hero h1 {
    font-size: 44px;
  }

  .home-service-card {
    min-height: 350px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-service-card img,
  .home-gallery-item img,
  .reference-story-tile img,
  .menu,
  .skip-link {
    transition: none;
  }
}
