/* Artur Sahakyan – zentrales Layoutsystem.
   Alle Hauptseiten teilen Sidebar, Hero und Inhaltsachsen über diese Variablen. */
/* Oswald (SIL Open Font License, lokal unter assets/fonts/) für Überschriften und Beschriftungen,
   angelehnt an den schmalen Logo-Schriftzug. Fließtext und Preise bleiben in der Systemschrift. */
@font-face { font-family: "Oswald"; src: url("fonts/oswald-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("fonts/oswald-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
:root {
  --font-display: "Oswald", "Arial Narrow", Arial, sans-serif;
  --color-black: #000;
  --dark-surface: #111;
  --surface-color: #f4f2ee;
  --color-text: #222;
  --color-muted: #59534c;
  --text-on-dark: #f1ede7;
  --text-on-dark-muted: #d2ccc3;
  --nav-color: #b9b2a8;
  --accent-color: #b2916f;
  --accent-hover: #c0a385;
  --accent-text: #7a5a3a;
  --border: #d8d2c8;
  --border-dark: #2a2a2a;

  --sidebar-width: min(37.5vw, 960px);
  --sidebar-content: 440px;
  --content-max-width: 2000px;
  --page-padding: clamp(40px, 4vw, 72px);
  --content-axis: max(var(--page-padding), calc((100% - var(--content-max-width)) / 2));
  --intro-max-width: clamp(440px, 30vw, 560px);

  --hero-height-desktop: clamp(560px, 60vh, 760px);
  --hero-height-tablet: clamp(640px, 66vh, 760px);
  --hero-height-mobile: clamp(620px, 87vh, 740px);
  --hero-height: var(--hero-height-desktop);
  --hero-pad-top: clamp(64px, 9vh, 120px);
  --hero-pad-bottom: 48px;
  --h1-size: clamp(34px, 2.6vw, 50px);

  --header-height: 72px;
  --header-gap: max(8px, env(safe-area-inset-top, 0px));
  --action-height: 60px;
  --focus-light: var(--accent-text);
  --focus-dark: var(--accent-color);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: var(--color-text);
  background: var(--surface-color);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
@supports (height: 1svh) {
  :root { --hero-height-mobile: clamp(620px, 87svh, 740px); }
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.65; background: var(--surface-color); }
body.scroll-locked { position: fixed; width: 100%; overflow: hidden; }
a { color: inherit; text-decoration: none; transition: color 160ms ease, background-color 160ms ease; }
button { font: inherit; color: inherit; cursor: pointer; border-radius: 0; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus-light); outline-offset: 3px; }
.sidebar a:focus-visible, .sidebar button:focus-visible, .page-hero a:focus-visible,
.site-footer a:focus-visible, .lightbox button:focus-visible, .mobile-actions a:focus-visible { outline-color: var(--focus-dark); }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
svg { flex-shrink: 0; }
.icon, .icon-box { width: 18px; height: 18px; flex: 0 0 18px; }
.icon-box { display: grid; place-items: center; }
ul, dl { margin: 0; padding: 0; }
ul { list-style: none; }
dd { margin: 0; }
address { font-style: normal; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; }
h1, h2, h3, .eyebrow, .text-link, .primary-nav a, .booking-link, .hero-booking, .sidebar-info__title,
.page-hero__tagline, .consultation__head, .map-activate, .mobile-actions > a { font-family: var(--font-display); }
.page-hero__title, .welcome__copy h2, .location h2, .hours h2, .legal-section h2, .contact-card__name { font-weight: 300; }
p + p { margin-top: 14px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 40; top: 16px; left: 16px; padding: 12px 20px; background: #fff; color: #000; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.container { width: 100%; max-width: calc(var(--content-max-width) + 2 * var(--page-padding)); margin-inline: auto; padding-inline: var(--page-padding); }
.accent-line { display: block; width: 56px; height: 3px; background: var(--accent-color); margin: 24px 0; }
.accent-line--short { width: 40px; height: 2px; margin: 14px 0 16px; }
.eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 6px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.text-link .icon-box { transition: transform 160ms ease; }
.text-link:hover .icon-box { transform: translateX(3px); }

/* --- Shell und Desktop-Sidebar -------------------------------------------- */
.site-shell { display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--color-black); color: #fff; position: relative; z-index: 20; }
.sidebar__inner { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; padding: clamp(28px, 5vh, 72px) max(40px, calc((100% - var(--sidebar-content)) / 2)) 28px; }
/* Vektorlogo ohne Innenabstand: Breite entspricht dem sichtbaren Logo. */
.sidebar__logo { display: block; width: min(80%, max(160px, 40vh - 96px)); margin: clamp(8px, 2.5vh, 32px) auto clamp(28px, 5.5vh, 72px); }
.logo-full { width: 100%; }
.logo-compact, .menu-toggle { display: none; }
.primary-nav li + li { margin-top: 2px; }
.primary-nav a { position: relative; display: flex; align-items: center; min-height: 40px; padding: 6px 0 6px 22px; color: var(--nav-color); font-size: 14px; line-height: 1.35; letter-spacing: .14em; text-transform: uppercase; }
.primary-nav a::before { content: ""; position: absolute; left: 0; top: 50%; width: 2px; height: 22px; transform: translateY(-50%); background: transparent; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: #fff; }
.primary-nav a[aria-current="page"]::before { background: var(--accent-color); }
.booking-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; min-height: 52px; padding: 0 18px; background: var(--accent-color); color: #000; font-size: 13px; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; }
.booking-link:hover { background: var(--accent-hover); }
.social-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.sidebar-social { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--border-dark); }
.sidebar-info { margin-top: auto; padding-top: 32px; color: var(--nav-color); font-size: 13px; line-height: 1.5; }
.sidebar-info__title { margin-bottom: 8px; color: var(--accent-color); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.sidebar-info dl > div { display: flex; justify-content: space-between; gap: 16px; max-width: 220px; }
.sidebar-info dd { font-variant-numeric: tabular-nums; }
.sidebar-info a { display: inline-flex; align-items: center; min-height: 32px; margin-top: 4px; color: #fff; letter-spacing: .04em; }
.sidebar-info a:hover { color: var(--accent-hover); }
.social-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--nav-color); font-size: 12px; letter-spacing: .04em; }
.social-link .icon, .social-link .icon-box { width: 16px; height: 16px; flex-basis: 16px; }
.social-link:hover { color: #fff; }
.page-main { min-width: 0; display: flex; flex-direction: column; }
.page-main > main { flex: 1 0 auto; }

/* --- Gemeinsames Hero-System ----------------------------------------------- */
.page-hero { position: relative; min-height: var(--hero-height); background: #151311; color: var(--text-on-dark); overflow: hidden; isolation: isolate; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.12) saturate(.94); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 8 6 / .76) 0%, rgb(10 8 6 / .52) 42%, rgb(10 8 6 / .18) 100%); }
.page-hero__content { padding: var(--hero-pad-top) var(--page-padding) var(--hero-pad-bottom) var(--content-axis); }
.page-hero__title { font-size: var(--h1-size); line-height: 1.15; letter-spacing: .06em; text-transform: uppercase; color: #fff; text-wrap: balance; hyphens: manual; overflow-wrap: break-word; }
.page-hero__eyebrow { display: block; font-size: .5em; letter-spacing: .12em; line-height: 1.3; margin-bottom: .45em; color: var(--text-on-dark); }
.page-hero__name { display: block; }
.page-hero__intro { max-width: var(--intro-max-width); font-size: 17px; line-height: 1.65; }
.page-hero__tagline { position: absolute; left: var(--content-axis); bottom: 32px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-on-dark-muted); }
.tagline-sep { color: var(--accent-color); }
.hero-booking { display: none; }

/* Home: Porträt von Artur als Bildfläche, Text auf dunklem Grund (gleiche Höhe und Achsen wie alle Heros). */
.page-hero--portrait { background: #0b0907; --portrait-fade: transparent 0%, rgb(0 0 0 / .02) 6%, rgb(0 0 0 / .06) 11%, rgb(0 0 0 / .13) 16%, rgb(0 0 0 / .24) 21%, rgb(0 0 0 / .38) 26%, rgb(0 0 0 / .54) 31%, rgb(0 0 0 / .70) 35%, rgb(0 0 0 / .84) 39%, rgb(0 0 0 / .94) 43%, #000 47%; }
.page-hero--portrait .page-hero__media img { filter: none; }
/* Höhere Spezifität, damit die mobile Abdunklung aller Heros hier nicht greift. */
.page-hero.page-hero--portrait::after { background: linear-gradient(0deg, rgb(10 8 6 / .62) 0%, rgb(10 8 6 / 0) 30%); }
@media (min-width: 1200px) {
  .page-hero--portrait .page-hero__media { left: auto; width: min(calc(100% - var(--content-axis) - var(--intro-max-width) - 32px), calc(var(--hero-height) * 1.3)); -webkit-mask-image: linear-gradient(90deg, var(--portrait-fade)); mask-image: linear-gradient(90deg, var(--portrait-fade)); }
}

/* Preise: Beratung im Textfluss des Heros */
.consultation { max-width: var(--intro-max-width); margin-top: 20px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .22); }
.consultation__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 16px; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.consultation__sep { width: 2px; height: 26px; background: var(--accent-color); }
.consultation__price { font-size: 24px; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.consultation p { margin-top: 8px; font-size: 14px; color: var(--text-on-dark-muted); }

/* Kontakt: kompakte Kontaktdaten im Hero */
.contact-card { margin-top: 28px; }
.contact-card__name { font-size: 26px; line-height: 1.3; color: #fff; margin-bottom: 12px; }
.contact-card__grid { display: grid; grid-template-columns: repeat(2, max-content); gap: 4px 48px; }
.contact-card__item { display: flex; align-items: flex-start; gap: 12px; min-height: 32px; line-height: 1.55; }
.contact-card__item .icon-box { margin-top: 3px; color: var(--accent-color); }
.contact-card__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.text-link--light { margin-top: 12px; color: #fff; }
.text-link--light:hover { color: var(--accent-hover); }

/* --- Home ------------------------------------------------------------------- */
.welcome { padding-block: clamp(40px, 4vw, 72px); }
.welcome__inner { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(0, 2fr); gap: clamp(40px, 5vw, 96px); align-items: start; }
.welcome__copy { padding-top: 8px; }
.welcome__copy h2 { font-size: clamp(32px, 2.3vw, 42px); line-height: 1.2; letter-spacing: .02em; }
.welcome__copy p { max-width: 46ch; color: var(--color-muted); }
.welcome__images { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.welcome__image img { width: 100%; aspect-ratio: 5 / 8; object-fit: cover; }

/* --- Anwendungen und Preise ------------------------------------------------ */
.price-menu { padding-block: 72px 88px; }
.price-menu .container { container-type: inline-size; }
.price-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.price-group { display: grid; grid-template-columns: clamp(104px, 10cqw, 148px) minmax(0, 1fr); grid-template-rows: auto auto 1fr; grid-template-rows: subgrid; grid-row: span 3; column-gap: clamp(20px, 2.4cqw, 36px); padding-block: 40px; }
.price-group__image { grid-column: 1; grid-row: 1 / span 3; }
.price-group__body { display: contents; }
.price-group h2 { grid-column: 2; grid-row: 1; align-self: end; }
.price-group .accent-line--short { grid-column: 2; grid-row: 2; }
.price-list { grid-column: 2; grid-row: 3; }
.price-group:nth-child(odd) { padding-right: clamp(28px, 3.5cqw, 64px); border-right: 1px solid var(--border); }
.price-group:nth-child(even) { padding-left: clamp(28px, 3.5cqw, 64px); }
.price-group:nth-child(-n+2) { padding-top: 8px; }
.price-group:nth-child(n+3) { border-top: 1px solid var(--border); }
.price-group__image img { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.price-group h2 { font-size: 20px; line-height: 1.35; letter-spacing: .07em; text-transform: uppercase; text-wrap: balance; }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; padding-block: 10px; border-bottom: 1px solid var(--border); }
.price-row:first-child { padding-top: 0; }
.price-row__value { white-space: nowrap; font-variant-numeric: tabular-nums; }
.from { color: var(--color-muted); font-size: 14px; }
.price-row__note { grid-column: 1 / -1; max-width: 52ch; margin-top: 4px; color: var(--color-muted); font-size: 14px; line-height: 1.55; }
.brands { max-width: 760px; margin-top: 48px; color: var(--color-muted); }
.cancellation { max-width: 760px; margin-top: 32px; padding-left: 24px; border-left: 2px solid var(--accent-color); }
.cancellation h2 { font-size: 20px; line-height: 1.4; margin-bottom: 8px; }
.cancellation p { color: var(--color-muted); }
@container (max-width: 900px) {
  .price-groups { grid-template-columns: minmax(0, 720px); justify-content: center; }
  .price-group, .price-group:nth-child(odd), .price-group:nth-child(even) { padding-inline: 0; border-right: 0; }
  .price-group:nth-child(-n+2) { padding-top: 40px; }
  .price-group:first-child { padding-top: 8px; }
  .price-group:nth-child(n+2) { border-top: 1px solid var(--border); }
  .price-group { grid-template-columns: 128px minmax(0, 1fr); }
  .cancellation, .brands { margin-inline: auto; max-width: 720px; }
  /* Einspaltig: Die Trennlinie zwischen den Gruppen genügt, keine zweite Linie unter der letzten Zeile. */
  .price-row:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* --- Galerie ---------------------------------------------------------------- */
.gallery { padding-block: clamp(16px, 1.6vw, 32px) 88px; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.gallery-grid__item { position: relative; min-height: 0; }
.gallery-grid__item--tall { grid-column: span 3; aspect-ratio: 3 / 4; }
.gallery-grid__item--wide { grid-column: span 6; }
.gallery-item { position: absolute; inset: 0; display: block; overflow: hidden; background: #ddd8cf; }
.gallery-item picture, .gallery-item img { width: 100%; height: 100%; }
.gallery-item img { object-fit: cover; transition: opacity 200ms ease; }
.gallery-item:hover img { opacity: .9; }
.gallery-item:focus-visible { outline-offset: -4px; outline-color: #fff; outline-width: 3px; }
.lightbox { margin: 0; border: 0; padding: 24px 80px; width: 100%; height: 100%; max-width: none; max-height: none; background: #000; color: #fff; overflow: hidden; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: #000; }
.lightbox figure { margin: 0; max-width: 100%; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lightbox-image { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 160px); object-fit: contain; touch-action: pan-y; }
.lightbox-caption { color: #ccc; text-align: center; font-size: 14px; max-width: 640px; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; background: #000; border: 0; color: #fff; }
.lightbox button .icon { width: 24px; height: 24px; }
.lightbox button:hover { color: var(--accent-color); }
.lightbox-close { right: 16px; top: max(16px, env(safe-area-inset-top, 0px)); }
.lightbox-prev { left: 8px; top: calc(50% - 24px); }
.lightbox-next { right: 8px; top: calc(50% - 24px); }
.lightbox-count { position: absolute; bottom: 24px; left: 0; width: 100%; text-align: center; font-size: 12px; letter-spacing: .1em; pointer-events: none; }

/* --- Das Konzept ------------------------------------------------------------ */
.concept-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #151311; }
.concept-images__item { aspect-ratio: 16 / 10; overflow: hidden; }
.concept-images__item img { width: 100%; height: 100%; object-fit: cover; }

/* --- Kontakt ---------------------------------------------------------------- */
.contact-info { padding-block: 64px 88px; }
.contact-info__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.location { padding-right: clamp(32px, 4vw, 80px); border-right: 1px solid var(--border); }
.hours { padding-left: clamp(32px, 4vw, 80px); }
.location h2, .hours h2 { font-size: clamp(28px, 2vw, 34px); line-height: 1.3; }
.map-area { position: relative; height: 280px; margin-top: 24px; background-color: #e6e1d8; background-image: linear-gradient(#d9d3c8 1px, transparent 1px), linear-gradient(90deg, #d9d3c8 1px, transparent 1px); background-size: 48px 48px; overflow: hidden; }
.map-preview { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.map-preview__pin { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #000; color: var(--accent-color); }
.map-preview__pin .icon { width: 22px; height: 22px; }
.map-preview__address { padding: 10px 18px; background: var(--surface-color); line-height: 1.5; }
.map-area iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-note { margin-top: 12px; font-size: 13px; line-height: 1.55; color: var(--color-muted); }
.map-actions { display: grid; gap: 8px; margin-top: 16px; }
.map-activate { display: none; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 20px; background: #000; color: #fff; border: 0; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.js .map-activate { display: flex; }
.map-activate:hover { background: #2a2622; }
.map-hide { justify-self: start; min-height: 44px; padding: 0; border: 0; background: none; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.map-external { justify-self: start; color: var(--color-text); font-size: 13px; text-transform: none; letter-spacing: .02em; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--accent-color); }
.map-external:hover, .map-hide:hover { color: var(--accent-text); }
.opening-hours { margin-top: 24px; }
.opening-hours > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--border); font-size: 17px; }
.opening-hours > div:first-child { padding-top: 0; }
.opening-hours dd { white-space: nowrap; font-variant-numeric: tabular-nums; }
.hours .accent-line { margin-top: 32px; }
.hours__note { max-width: 46ch; color: var(--color-muted); }

/* --- Rechtsseiten (gleiches Hero-System, Text plus Randspalte) ---------- */
.legal-content { padding-block: 64px 88px; }
.legal-content > .container { container-type: inline-size; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: 0 clamp(40px, 5cqw, 96px); align-items: start; }
.legal-layout--single { grid-template-columns: minmax(0, 1fr); }
.legal-text { max-width: 820px; overflow-wrap: anywhere; }
.legal-section { padding-block: 32px; border-top: 1px solid var(--border); }
.legal-section:first-child { padding-top: 0; border-top: 0; }
.legal-section h2 { font-size: clamp(26px, 1.9vw, 30px); line-height: 1.3; }
.legal-section h3 { margin: 28px 0 8px; font-size: 20px; line-height: 1.4; }
.legal-section h4 { margin: 20px 0 6px; font-size: 16px; font-weight: 700; line-height: 1.4; }
.legal-section .accent-line--short + h3 { margin-top: 8px; }
.legal-section p, .legal-section li { color: var(--color-muted); }
.legal-section ul { list-style: disc; padding-left: 22px; margin-top: 10px; }
.legal-section li + li { margin-top: 6px; }
.legal-section ul + p, .legal-section p + ul { margin-top: 14px; }
.legal-section a { color: var(--color-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-color); }
.legal-section strong { font-weight: 700; color: var(--color-text); }
.legal-aside { position: sticky; top: 32px; padding-left: clamp(24px, 3cqw, 48px); border-left: 1px solid var(--border); font-size: 15px; }
.legal-aside__block + .legal-aside__block { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.legal-aside .eyebrow { margin-bottom: 10px; }
.legal-aside li + li { margin-top: 6px; }
.legal-aside a { display: inline-flex; align-items: center; min-height: 28px; }
.legal-aside a:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
@container (max-width: 960px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-aside { position: static; margin-top: 16px; padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 40px; }
  .legal-aside__block + .legal-aside__block { margin-top: 0; padding-top: 0; border-top: 0; }
}

/* --- Footer und mobile Aktionen ------------------------------------------- */
.site-footer { background: var(--color-black); color: var(--nav-color); font-size: 14px; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 32px; padding-block: 20px; }
.site-footer__break { display: none; }
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: 0 24px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover, .site-footer a[aria-current] { color: #fff; }
.mobile-actions { display: none; }

/* --- Kompakt: Floating Header bis 1199 px ---------------------------------- */
@media (max-width: 1199px) {
  :root { --hero-height: var(--hero-height-tablet); --page-padding: 40px; --h1-size: 40px; --hero-pad-top: calc(var(--header-gap) + var(--header-height) + 48px); }
  html { scroll-padding-top: calc(var(--header-gap) + var(--header-height) + 16px); }
  .site-shell { display: block; }
  .sidebar__inner { position: static; min-height: 0; padding: 0; }
  .js .sidebar { position: fixed; top: var(--header-gap); left: max(8px, env(safe-area-inset-left, 0px)); right: max(8px, env(safe-area-inset-right, 0px)); height: var(--header-height); border: 1px solid rgb(255 255 255 / .14); border-radius: 8px; }
  .sidebar__inner { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; height: 100%; padding: 0 10px 0 14px; }
  html:not(.js) .sidebar__inner { flex-wrap: wrap; padding: 12px 16px; }
  .sidebar__logo { width: auto; margin: 0; min-width: 0; }
  .logo-full, .sidebar-info { display: none; }
  .logo-compact { display: flex; align-items: center; gap: 6px; }
  .logo-signature { width: auto; height: calc(var(--header-height) - 16px); }
  .logo-wordmark { width: clamp(150px, 44vw, 270px); }
  .js .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; flex: 0 0 44px; padding: 0; border: 0; background: transparent; }
  .menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; transition: transform 160ms ease, opacity 160ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-8px) rotate(-45deg); }
  html:not(.js) .menu-panel { width: 100%; padding-block: 16px; }
  .js .menu-panel { display: none; }
  .js .menu-panel.is-open { display: block; position: absolute; top: calc(100% - 8px); left: -1px; right: -1px; padding: 24px 24px 16px; background: #000; border: 1px solid rgb(255 255 255 / .14); border-top: 0; border-radius: 0 0 8px 8px; max-height: calc(100dvh - var(--header-height) - var(--header-gap) - 16px); overflow-y: auto; overscroll-behavior: contain; }
  .primary-nav a { min-height: 48px; }
  .booking-link { margin-top: 24px; max-width: 480px; }
  .sidebar-social { max-width: 480px; justify-content: flex-start; gap: 4px 28px; }
  .menu-open .mobile-actions { visibility: hidden; }
  :root { --intro-max-width: 620px; }
  .page-hero__content { padding-right: var(--page-padding); }
  /* Das Porträt beginnt frühestens bei 30 % der Hero-Höhe und immer erst unter dem Intro-Text,
     damit kein heller Bildbereich hinter der weißen Schrift liegt (Zeilenzahl je nach Breite und Schrift). */
  .page-hero--portrait { display: grid; grid-template-rows: minmax(calc(var(--hero-height) * var(--portrait-top)), auto) 1fr; --portrait-top: .3; }
  .page-hero--portrait .page-hero__content { grid-area: 1 / 1; padding-bottom: 16px; }
  .page-hero--portrait .page-hero__media img { position: absolute; inset: 0; object-position: 35% 20%; }
  .page-hero--portrait .page-hero__media { position: relative; inset: auto; grid-area: 2 / 1; -webkit-mask-image: linear-gradient(180deg, var(--portrait-fade)); mask-image: linear-gradient(180deg, var(--portrait-fade)); }
  .hero-booking { position: absolute; z-index: 1; left: var(--content-axis); bottom: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(420px, calc(100% - 2 * var(--page-padding))); min-height: 52px; padding: 0 18px; background: var(--accent-color); color: #000; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
  .hero-booking:hover { background: var(--accent-hover); }
  .welcome__inner { grid-template-columns: 1fr; gap: 32px; }
  .welcome__copy p { max-width: 62ch; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; }
  .gallery-grid__item--tall { grid-column: span 1; }
  .gallery-grid__item--wide { grid-column: span 2; aspect-ratio: 16 / 10; }
}

/* Tablet quer: Porträt wie am Desktop rechts neben dem Text. Darunter wäre der Bildstreifen so flach,
   dass der Buchungsbutton über dem Gesicht läge. Bildquelle ist hier der Desktop-Zuschnitt (templates.mjs). */
@media (min-width: 1000px) and (max-width: 1199px) and (orientation: landscape) {
  .page-hero--portrait { display: block; }
  .page-hero--portrait .page-hero__media { position: absolute; inset: 0 0 0 auto; width: min(calc(100% - var(--content-axis) - var(--intro-max-width) - 32px), calc(var(--hero-height) * 1.3)); -webkit-mask-image: linear-gradient(90deg, var(--portrait-fade)); mask-image: linear-gradient(90deg, var(--portrait-fade)); }
  .page-hero--portrait .page-hero__media img { object-position: 40% 20%; } /* wie heroes.home.wide */
}

/* --- Smartphone ------------------------------------------------------------- */
@media (max-width: 767px) {
  :root { --hero-height: var(--hero-height-mobile); --page-padding: 20px; --header-height: 64px; --h1-size: 32px; --hero-pad-top: calc(var(--header-gap) + var(--header-height) + 32px); --hero-pad-bottom: 32px; }
  body { line-height: 1.6; }
  .page-hero::after { background: linear-gradient(180deg, rgb(10 8 6 / .78) 0%, rgb(10 8 6 / .66) 55%, rgb(10 8 6 / .36) 100%); }
  .accent-line { margin: 20px 0; }
  .page-hero__intro { font-size: 16px; line-height: 1.6; }
  .page-hero__tagline { bottom: 24px; gap: 4px 10px; font-size: 12px; letter-spacing: .12em; }
  /* Kurzer Übergang: Das Porträt beginnt ohnehin unter dem Text. Ausschnitt und kompakter Button (Kundenwunsch 17.10.)
     lassen Gesicht und Kamm frei, auch bei 620 px Hero-Höhe (iPhone mit Safari-Leisten). */
  .page-hero--portrait { --portrait-top: .32; --portrait-fade: transparent 0%, rgb(0 0 0 / .02) 2%, rgb(0 0 0 / .06) 3.5%, rgb(0 0 0 / .13) 5%, rgb(0 0 0 / .24) 6.5%, rgb(0 0 0 / .38) 8.5%, rgb(0 0 0 / .54) 10%, rgb(0 0 0 / .70) 11.5%, rgb(0 0 0 / .84) 12.5%, rgb(0 0 0 / .94) 13.5%, #000 15%; }
  .page-hero--portrait .page-hero__media img { object-position: 35% 30%; }
  .hero-booking { bottom: 52px; width: auto; min-height: 44px; gap: 14px; padding: 0 14px; font-size: 13px; }
  .contact-card { margin-top: 24px; }
  .contact-card__grid { grid-template-columns: 1fr; gap: 4px; }
  .welcome__images { gap: 8px; }
  .price-menu { padding-block: 48px 64px; }
  .price-group, .price-group:nth-child(n) { grid-template-columns: 88px minmax(0, 1fr); column-gap: 20px; align-items: center; }
  .price-group__image { grid-row: 1 / span 2; }
  .price-group h2 { font-size: 18px; }
  .price-group .accent-line--short { align-self: start; margin-bottom: 0; }
  .price-list { grid-column: 1 / -1; margin-top: 20px; }
  .cancellation { padding-left: 16px; }
  .gallery-grid { gap: 8px; }
  .concept-images { grid-template-columns: 1fr; }
  .concept-images__item { aspect-ratio: 4 / 3; }
  .contact-info { padding-block: 48px 64px; }
  .contact-info__grid { grid-template-columns: 1fr; }
  .location { padding: 0 0 40px; border-right: 0; border-bottom: 1px solid var(--border); }
  .hours { padding: 40px 0 0; }
  .map-area { height: 220px; }
  .lightbox { padding: 64px 16px 104px; }
  .lightbox-image { max-height: calc(100dvh - 224px); }
  .lightbox-prev, .lightbox-next { top: auto; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .lightbox-prev { left: 24px; }
  .lightbox-next { right: 24px; }
  .lightbox-count { bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
  .site-footer__inner { flex-direction: column; align-items: flex-start; padding-block: 24px; }
  .site-footer__address span { display: none; }
  .site-footer__break { display: inline; }
}
@media (max-width: 767px), (max-width: 1199px) and (max-height: 500px) and (pointer: coarse) {
  body { padding-bottom: calc(var(--action-height) + env(safe-area-inset-bottom, 0px)); }
  .mobile-actions { position: fixed; z-index: 10; bottom: 0; left: 0; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #1c1c1c; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .mobile-actions > a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--action-height); color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
  .mobile-actions .action-booking { background: var(--accent-color); color: #000; }
  .mobile-actions .action-booking:hover { background: var(--accent-hover); }
  .mobile-actions > a:focus-visible { outline-offset: -6px; }
  .mobile-actions .icon, .mobile-actions .icon-box { width: 20px; height: 20px; flex-basis: 20px; }
}
@media (max-height: 500px) and (max-width: 1199px) {
  .js .menu-panel.is-open { padding-top: 16px; }
  .primary-nav a { min-height: 44px; }
  .lightbox-image { max-height: calc(100dvh - 120px); }
}
/* Sehr niedrige Desktopfenster: Sidebar scrollt mit, statt abgeschnitten zu werden. */
@media (min-width: 1200px) and (max-height: 720px) {
  .sidebar__inner { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .sidebar, .site-footer, .mobile-actions, .map-area, .map-actions, .page-hero__media { display: none; }
  .site-shell { display: block; }
  body { padding: 0; }
  .page-hero { min-height: 0; color: #000; background: none; }
  .page-hero::after { display: none; }
  .page-hero__title, .contact-card__name, .consultation__head { color: #000; }
  .price-group { break-inside: avoid; }
}

/* Bildausschnitte (generiert aus src/content.mjs) */
.op-50-40{object-position:50% 40%}
.op-50-50{object-position:50% 50%}
.op-45-30{object-position:45% 30%}
.op-60-45{object-position:60% 45%}
.op-55-52{object-position:55% 52%}
.op-35-58{object-position:35% 58%}
.op-40-60{object-position:40% 60%}
.op-45-45{object-position:45% 45%}
.op-40-50{object-position:40% 50%}
.op-55-45{object-position:55% 45%}
.op-50-45{object-position:50% 45%}
.op-55-40{object-position:55% 40%}
.op-45-40{object-position:45% 40%}
.op-50-75{object-position:50% 75%}
.op-50-28{object-position:50% 28%}
.op-50-90{object-position:50% 90%}
.op-50-44{object-position:50% 44%}
.op-50-60{object-position:50% 60%}
.op-50-85{object-position:50% 85%}
.op-50-22{object-position:50% 22%}
.op-50-38{object-position:50% 38%}
.op-50-55{object-position:50% 55%}
.op-35-30{object-position:35% 30%}
.op-38-50{object-position:38% 50%}
.op-45-55{object-position:45% 55%}
.op-45-50{object-position:45% 50%}
.op-58-45{object-position:58% 45%}
@media (min-width: 768px){
.opw-40-20{object-position:40% 20%}
.opw-50-0{object-position:50% 0%}
.opw-50-45{object-position:50% 45%}
.opw-50-58{object-position:50% 58%}
.opw-50-35{object-position:50% 35%}
.opw-50-55{object-position:50% 55%}
.opw-50-40{object-position:50% 40%}
}
