/* Studio subdomains (fotostudio / musikstudio) – page layout on top of bude.css */

/* Hero */
.lp-hero { padding-top: clamp(28px, 4vw, 56px); overflow: hidden; }
/* Text left (title, lead, buttons), photo right, both vertically centred. */
.lp-title { margin: 18px 0 0; font-size: clamp(2.4rem, 1rem + 3.6vw, 5.4rem); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-areas: "head media" "copy media"; column-gap: clamp(32px, 4.4vw, 72px); row-gap: clamp(18px, 2vw, 28px); align-items: center; }
.lp-hero-head { grid-area: head; align-self: end; }
.lp-hero-copy { grid-area: copy; align-self: start; }
.lp-hero-grid .hero-media { grid-area: media; }
.lp-hero-copy .lead { margin-bottom: 26px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 18px 0 0; border-top: var(--line-thin); list-style: none; font-weight: 700; font-size: 15px; }
.trust li::before { content: "✓ "; font-weight: 900; }
.trust a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: underline; text-underline-offset: 3px; }
.lp-sticker { position: absolute; z-index: 4; top: -40px; left: -40px; margin: 0; }
.lp-marquee { margin-top: clamp(48px, 6vw, 88px); }

/* Carousel inside the hero frame (behaviour: landing.js) */
.hero-media { aspect-ratio: 16 / 10; }
.carousel-track { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--radius) - 3px); touch-action: pan-y; }
.carousel-slide { position: absolute; inset: 0; margin: 0; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.carousel-slide.is-active { opacity: 1; pointer-events: auto; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s var(--ease); transform-origin: center; }
.portrait-hero .carousel-slide img { object-position: center 58%; }
.media-label { position: absolute; left: 16px; bottom: 16px; z-index: 3; }
.media-label { display: inline-flex; padding: 7px 12px; border: var(--line-thin); border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.carousel-controls, .carousel-zoom { position: absolute; z-index: 3; display: flex; align-items: center; gap: 4px; padding: 4px; border: var(--line-thin); border-radius: 999px; background: var(--paper); }
.carousel-controls { right: 16px; bottom: 16px; }
.carousel-controls button, .carousel-zoom button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; font-size: 18px; font-weight: 800; cursor: pointer; }
.carousel-controls button:hover, .carousel-zoom button:hover { background: var(--acid); }
.carousel-controls span { min-width: 48px; text-align: center; font-size: 14px; font-weight: 800; }
.carousel-zoom { display: none; top: 16px; right: 16px; }
.hero-carousel.is-expanded { position: fixed; inset: 16px; z-index: 300; aspect-ratio: auto; background: var(--ink); }
.hero-carousel.is-expanded .carousel-slide img { object-fit: contain; }
.hero-carousel.is-expanded .carousel-zoom { display: flex; }
.hero-carousel.is-expanded .lp-sticker { display: none; }
body.carousel-open { overflow: hidden; }

/* Quick facts */
.facts { padding-top: clamp(56px, 7vw, 100px); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { padding: 20px 22px; border: var(--line); border-radius: var(--radius-sm); background: var(--paper); box-shadow: 4px 4px 0 var(--ink); }
.fact:nth-child(even) { background: var(--acid); }
.fact small { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fact strong { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { padding: 24px 24px 26px; border: var(--line); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); transition: transform .3s var(--bounce); }
.benefit:nth-child(3n+2) { transform: rotate(-.8deg); }
.benefit:nth-child(3n) { transform: rotate(.8deg); }
.benefit:hover { transform: translate(-3px, -3px); }
.benefit-num { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 28px; border: var(--line-thin); border-radius: 50%; background: var(--acid); font-weight: 800; }
.benefit h3 { margin: 0 0 8px; font-size: 22px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.benefit p { margin: 0; color: var(--muted); font-weight: 500; }

/* Studio A vs D (music studio) */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vw, 44px); }
.compare-card { display: flex; flex-direction: column; border: var(--line); border-radius: 26px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.compare-card-acid { background: var(--acid); transform: rotate(1deg); }
.compare-media { margin: 0; aspect-ratio: 16 / 10; border-bottom: var(--line); overflow: hidden; }
.compare-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.compare-body { flex: 1; display: grid; align-content: start; gap: 12px; padding: clamp(20px, 2.6vw, 34px); }
.compare-body .tag, .compare-body .btn { justify-self: start; }
.compare-body h3 { margin: 4px 0 0; font-size: clamp(1.9rem, 1rem + 2vw, 3rem); }
.compare-body p { margin: 0; font-weight: 500; }
.compare-body .btn { margin-top: 8px; }
.compare-card-acid .chips li { background: rgba(255, 255, 255, .7); }

/* So läuft's / FAQ spacing */
.process + .section { padding-top: 0; }
.faq-section { padding-top: 0; }
.faq-layout { display: grid; grid-template-columns: minmax(260px, .75fr) 1.5fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head .section-title { margin-bottom: 20px; }
.faq-head a { display: inline-block; padding-block: 10px; color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.faq-layout .faq { max-width: none; }

/* Gallery (lightbox: landing.js uses ".section .gallery img") */
.section.soft { background: var(--paper-2); border-block: var(--line); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.gallery figure { margin: 0; aspect-ratio: 4 / 3; border: var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); transition: transform .3s var(--bounce), box-shadow .3s; }
.gallery figure:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.gallery img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery img:focus-visible { outline: 3px solid var(--acid); outline-offset: -6px; }

.gallery-lightbox { position: fixed; inset: 0; z-index: 30000; display: none; align-items: center; justify-content: center; padding: 64px 88px; background: rgba(11, 11, 11, .94); color: var(--paper); }
.gallery-lightbox.is-open { display: flex; }
.gallery-lightbox-figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; width: min(1180px, 100%); height: min(82vh, 900px); margin: 0; }
.gallery-lightbox-image { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.gallery-lightbox-caption { text-align: center; font-weight: 700; }
.gallery-lightbox-close, .gallery-lightbox-arrow { position: absolute; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border: var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 22px; font-weight: 800; cursor: pointer; }
.gallery-lightbox-close:hover, .gallery-lightbox-arrow:hover { background: var(--acid); }
.gallery-lightbox-close { top: 18px; right: 18px; }
.gallery-lightbox-prev { left: 18px; }
.gallery-lightbox-next { right: 18px; }
.gallery-lightbox-count { position: absolute; right: 24px; bottom: 22px; font-weight: 800; }
body.gallery-lightbox-open { overflow: hidden; }

/* Equipment (photo studio) */
.equipment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vw, 44px); align-items: stretch; }
.equipment-photo { min-height: 420px; }
.equipment-card { display: grid; align-content: start; gap: 16px; padding: clamp(24px, 3.4vw, 44px); border: var(--line); border-radius: 26px; background: var(--acid); box-shadow: var(--shadow); }
.equipment-card .tag { justify-self: start; }
.equipment-card h2 { margin: 4px 0 0; font-size: clamp(2.2rem, 1rem + 3vw, 4rem); }
.equipment-card p { margin: 0; font-weight: 600; }
.check-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.check-list li { display: flex; gap: 8px; padding-top: 10px; border-top: var(--line-thin); font-weight: 700; }
.check-list li::before { content: "✓"; font-weight: 900; }

/* Location */
.equipment + .section { padding-top: 0; }
.location-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(22px, 3vw, 44px); align-items: stretch; }
.location-card { display: grid; align-content: start; gap: 14px; padding: clamp(24px, 3.4vw, 44px); border: var(--line); border-radius: 26px; background: var(--paper); box-shadow: var(--shadow); }
.location-card .tag, .location-card .btn { justify-self: start; }
.location-card h2 { margin: 4px 0 0; font-size: clamp(2.2rem, 1rem + 3vw, 4rem); }
.location-card .address { margin: 4px 0 0; font-size: clamp(1.4rem, 1rem + 1vw, 2rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.location-card p { margin: 0; font-weight: 500; color: var(--muted); }
.location-card p.address { color: var(--ink); }
.map-frame { min-height: 400px; overflow: hidden; }
.map { display: block; width: 100%; height: 100%; min-height: 400px; border: 0; border-radius: calc(var(--radius) - 3px); filter: grayscale(1) contrast(1.05); }

/* Final call to action */
.final .tag { margin-bottom: 26px; }
.final-text { max-width: 52ch; margin: -18px 0 34px; color: #d6d6d0; font-weight: 500; }

/* Footer */
.site-footer .footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-block: 44px 28px; }
.footer-brand img { width: 116px; height: auto; filter: invert(1); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.legal-compact { padding-bottom: 8px; font-size: 14px; }
.legal-compact details { border-top: 1px solid #333; padding-top: 10px; }
.legal-compact summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--paper); font-weight: 800; }
.legal-compact p { max-width: 80ch; }

/* Booking dialog: limit studio choices per subdomain */
.photo-studio-page .booking-studio-choice[data-picker-group="a"],
.photo-studio-page .booking-studio-choice[data-picker-group="d"],
.photo-studio-page .booking-service-choice[data-picker-group="a"],
.photo-studio-page .booking-service-choice[data-picker-group="d"],
.photo-studio-page [data-booking-studio-info="a"],
.photo-studio-page [data-booking-studio-info="d"],
.music-studio-page .booking-studio-choice[data-picker-group="photo"],
.music-studio-page .booking-service-choice[data-picker-group="photo"] { display: none !important; }
.photo-studio-page .booking-package-studios { grid-template-columns: 1fr !important; }
.music-studio-page .booking-package-studios { grid-template-columns: repeat(2, 1fr) !important; }

@media (max-width: 1000px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .site-nav { display: none; }
  .lp-hero-grid, .equipment-grid, .location-grid, .compare-grid, .faq-layout { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .compare-card-acid { transform: none; }
  .lp-hero-grid { grid-template-areas: "head" "media" "copy"; row-gap: 28px; }
  .lp-sticker { top: -24px; left: auto; right: -8px; }
  .media-label { display: none; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-lightbox { padding: 72px 12px 90px; }
  .gallery-lightbox-arrow { top: auto; bottom: 16px; }
  .gallery-lightbox-prev { left: calc(50% - 64px); }
  .gallery-lightbox-next { right: calc(50% - 64px); }
  .gallery-lightbox-count { bottom: 30px; right: 16px; }
}
@media (max-width: 560px) {
  .benefits, .check-list { grid-template-columns: 1fr; }
  .benefit:nth-child(n) { transform: none; }
  .benefit { padding: 18px 18px 20px; }
  .benefit-num { width: 36px; height: 36px; margin-bottom: 12px; font-size: 14px; }
  .benefit h3 { font-size: 19px; }
  .btn-row .btn { width: 100%; }
  .facts-grid { gap: 10px; }
  .fact { padding: 14px 16px; }
}

/* Equipment price list (photo studio). */
.equipment-prices { margin-top: clamp(48px, 6vw, 88px); }
.equipment-prices .offer-subtitle { margin-top: 0; }
.equipment-prices-intro { max-width: 70ch; margin: 14px 0 28px; color: var(--muted); }
.price-table-wrap { border: var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; background: var(--paper); }
.price-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.price-table th, .price-table td { padding: 14px clamp(14px, 2.4vw, 28px); border-bottom: var(--line-thin); text-align: left; vertical-align: top; }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table thead th { background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.price-table td { width: 1%; white-space: nowrap; font-weight: 800; text-align: right; }
.price-table thead th:not(:first-child) { text-align: right; white-space: nowrap; }
.price-table tbody th { font-weight: 700; }
.price-table tbody th small { display: block; margin-top: 2px; color: var(--muted); font-weight: 500; font-size: 14px; }
.price-table .is-included { background: var(--acid); }
.price-table .is-included td { text-align: right; }
@media (max-width: 600px) {
  .price-table { font-size: 15px; }
  .price-table th, .price-table td { padding: 12px 8px; }
  .price-table th:first-child { padding-left: 14px; }
  .price-table td:last-child, .price-table th:last-child { padding-right: 14px; }
  .price-table thead th { font-size: 11px; letter-spacing: .02em; }
  .price-table thead th:not(:first-child) { white-space: normal; }
  .price-table tbody th { overflow-wrap: anywhere; }
}

/* Calmer image sizes on desktop. */
@media (min-width: 901px) {
  .compare-media { aspect-ratio: 2 / 1; }
}

/* Compact sections ("weniger ist mehr"). */
.benefits { gap: 14px; }
.benefit { padding: 18px 20px 20px; }
.benefit-num { width: 34px; height: 34px; margin-bottom: 12px; font-size: 13px; }
.benefit h3 { font-size: 18px; margin-bottom: 4px; }
.benefit p { font-size: 15px; }
@media (min-width: 701px) { .benefits { grid-template-columns: repeat(3, 1fr); } }
.equipment-photo { min-height: 0; aspect-ratio: 4 / 3; align-self: start; }
.equipment-card { gap: 12px; padding: clamp(20px, 2.4vw, 32px); }
.equipment-card h2 { font-size: clamp(1.8rem, 1rem + 1.8vw, 2.8rem); }
.equipment-card p { font-weight: 500; }
.equipment-card .check-list { display: none; }
.price-details > summary { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: var(--line); border-radius: var(--radius-sm); background: var(--paper); box-shadow: 4px 4px 0 var(--ink); font-weight: 800; cursor: pointer; list-style: none; }
.price-details > summary::-webkit-details-marker { display: none; }
.price-details > summary::after { content: "+"; font-size: 20px; line-height: 1; }
.price-details[open] > summary::after { content: "−"; }
.price-details > summary:hover { background: var(--acid); }
.price-details[open] > summary { margin-bottom: 20px; }
.map-placeholder { display: grid; place-content: center; justify-items: center; gap: 14px; height: 100%; min-height: 400px; padding: 24px; text-align: center; color: var(--muted); font-size: 15px; }
.map-placeholder p { max-width: 34ch; margin: 0; }

/* The photo label would collide with the carousel controls on medium widths. */
@media (max-width: 1100px) { .lp-hero .media-label { display: none; } }
