/* SkyPix Tirol – Website-Styles */

@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* Farbvarianten aus den Logo-Entwürfen. 01 Gletscher ist der Standard. */
:root {
  --night: #0a1c29;
  --night-2: #102736;
  --brand: #133a51;
  --accent: #00c9b1;
  --accent-ink: #04786f;
  --paper: #f3f5f3;
  --paper-2: #e6eae7;
  --ink: #10222e;
  --ink-soft: #4b5c66;
  --on-night: #f4f7f6;
  --on-night-soft: #a9b9c2;
  --line-night: rgba(255, 255, 255, .14);
  --line-paper: rgba(16, 34, 46, .14);
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
:root[data-variant="alpengluehen"] {
  --night: #0d1b26; --night-2: #152936; --brand: #183748;
  --accent: #e08a4d; --accent-ink: #a2562a;
  --paper: #f6f3ef; --paper-2: #ebe6df;
}
:root[data-variant="bergwald"] {
  --night: #141a17; --night-2: #1e2622; --brand: #333b36;
  --accent: #46c079; --accent-ink: #2d6a4f;
  --paper: #f3f4f0; --paper-2: #e6e8e1; --ink: #1c2420; --ink-soft: #525c56;
  --on-night-soft: #b0bab3;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--on-night);
  font: 400 clamp(16px, .35vw + 15px, 18px)/1.65 "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--night); padding: 10px 16px; font-weight: 600; }
.skip:focus { left: 12px; }

/* Typografie */
h1, h2, h3 { font-weight: 700; letter-spacing: -.03em; line-height: 1.04; text-wrap: balance; }
.display { font-size: clamp(2.75rem, 8.4vw, 7.4rem); letter-spacing: -.04em; line-height: .98; }
.h-xl { font-size: clamp(2.1rem, 5.2vw, 4.4rem); }
.h-lg { font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.12; }
.h-md { font-size: clamp(1.2rem, 1.6vw, 1.45rem); letter-spacing: -.02em; line-height: 1.2; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: clamp(1.1rem, 1.55vw, 1.4rem); line-height: 1.5; font-weight: 500; }
.soft { color: var(--on-night-soft); }
.light .soft { color: var(--ink-soft); }
.stack > * + * { margin-top: 1.1em; }

/* Noch zu ersetzende Angaben sind bewusst sichtbar markiert */
h1:has(mark.ph) { line-height: 1.24; }
mark.ph { background: #ffe680; color: #2a2300; padding: .05em .35em; border-radius: 3px; font-weight: 500; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .7em;
  padding: .95em 1.5em; border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--night); }
.btn-primary:hover { background: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--night); border-color: #fff; }
.light .btn-primary { background: var(--brand); color: #fff; }
.light .btn-primary:hover { background: var(--accent-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: .6em; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Kopfzeile */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 92px; transition: height .3s var(--ease); }
/* Unschärfe auf dem Pseudo-Element, sonst wird die Kopfzeile zum Bezugsrahmen des fixierten Mobilmenüs */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: color-mix(in srgb, var(--night) 95%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-night); transition: opacity .3s var(--ease); }
.site-header.is-solid::before { opacity: 1; }
.site-header.is-solid .wrap { height: 70px; }
.brand { display: block; flex: none; }
.brand img { height: 68px; width: auto; transition: height .3s var(--ease); }
.is-solid .brand img { height: 52px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: .65em 1.2em; font-size: .9rem; }
.nav .btn::after { display: none; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-btn span { display: block; width: 26px; height: 2px; background: #fff; transition: transform .25s var(--ease); }
.menu-btn span + span { margin-top: 7px; }
.menu-open .menu-btn span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 820px) {
  .site-header .wrap { height: 76px; }
  .brand img { height: 56px; }
  .is-solid .brand img { height: 48px; }
  .menu-btn { display: block; position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 14px; padding: 0 var(--gutter); background: var(--night);
    opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s;
  }
  .nav a:not(.btn) { font-size: 2rem; font-weight: 700; letter-spacing: -.03em; }
  .nav .btn { margin-top: 18px; font-size: 1rem; padding: .9em 1.5em; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .site-header .brand { position: relative; z-index: 2; }
}

/* Abschnitte */
.section { padding-block: clamp(72px, 10vw, 150px); position: relative; }
.light { background: var(--paper); color: var(--ink); }
.light .eyebrow { color: var(--accent-ink); }
.topo { position: relative; isolation: isolate; }
.topo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/hoehenlinien.svg") center/1200px; }
.night-2 { background: var(--night-2); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; animation: drift 28s ease-out both; }
@keyframes drift { from { transform: scale(1.1) translateY(-1.5%); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 14, 22, .58) 0%, rgba(5, 14, 22, .08) 32%, rgba(5, 14, 22, .22) 55%, var(--night) 100%); }
.hero-inner { padding-block: 130px clamp(40px, 6vw, 80px); }
.hero .eyebrow { margin-bottom: 1.4em; color: #fff; }
.hero .display { max-width: 12.5ch; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; margin-top: clamp(24px, 3.5vw, 44px); }
.hero-foot .lead { max-width: 40ch; }
@media (max-width: 760px) { .hero-foot { grid-template-columns: 1fr; } }

/* Seitenkopf der Unterseiten */
.page-head { position: relative; padding-block: clamp(150px, 20vw, 240px) clamp(48px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.page-head.has-img { min-height: 62vh; display: flex; align-items: flex-end; }
.page-head.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-head.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 14, 22, .6), rgba(5, 14, 22, .18) 40%, var(--night)); }
.page-head.has-img .eyebrow { color: #fff; }
.page-head h1 { margin-top: .35em; max-width: 16ch; }
.page-head .lead { margin-top: 1.1em; max-width: 44ch; }

/* Spezialgebiet */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-text > * + * { margin-top: 1.2em; }
.frame { position: relative; overflow: hidden; border-radius: 4px; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-tall { aspect-ratio: 4 / 5; }
.frame-tall img { object-position: 50% 85%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .frame-tall { aspect-ratio: 4 / 3; } }

.facts { display: grid; gap: 0; border-top: 1px solid var(--line-paper); }
.facts li { padding: 1em 0; border-bottom: 1px solid var(--line-paper); display: grid; grid-template-columns: 2.2em 1fr; font-weight: 500; }
.facts b { color: var(--accent-ink); font-weight: 700; font-variant-numeric: tabular-nums; font-size: .85em; line-height: 1.95; }
.section:not(.light) .facts, .section:not(.light) .facts li { border-color: var(--line-night); }
.section:not(.light) .facts b { color: var(--accent); }

/* Leistungsliste */
.svc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 5vw, 64px); }
.svc-list { border-top: 1px solid var(--line-night); }
.svc-row {
  display: grid; grid-template-columns: 3.5rem minmax(0, 1.1fr) minmax(0, 1.2fr) auto; gap: clamp(12px, 3vw, 40px); align-items: center;
  padding: clamp(20px, 2.6vw, 32px) 0; border-bottom: 1px solid var(--line-night); text-decoration: none; position: relative;
  transition: padding .3s var(--ease);
}
.svc-row:hover { padding-left: 14px; }
.svc-row .num { color: var(--accent); font-weight: 600; font-size: .85rem; font-variant-numeric: tabular-nums; }
.svc-row .arrow { width: 22px; height: 22px; color: var(--accent); transition: transform .3s var(--ease); }
.svc-row:hover .arrow { transform: translateX(6px); }
@media (max-width: 760px) {
  .svc-row { grid-template-columns: 2.4rem minmax(0, 1fr) auto; }
  .svc-row p { grid-column: 2 / -1; grid-row: 2; }
}

/* Portfolio-Raster */
.grid-work { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.work { position: relative; overflow: hidden; border-radius: 4px; background: var(--night-2); grid-column: span 4; aspect-ratio: 4 / 3; cursor: pointer; border: 0; padding: 0; text-align: left; display: block; width: 100%; color: #fff; text-decoration: none; }
.work.w-8 { grid-column: span 8; aspect-ratio: auto; min-height: 100%; }
.work.w-6 { grid-column: span 6; aspect-ratio: 3 / 2; }
.work.w-12 { grid-column: span 12; aspect-ratio: 21 / 9; }
.work img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.work:hover img, .work:focus-visible img { transform: scale(1.05); }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(5, 14, 22, .92)); }
.work-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(14px, 1.6vw, 24px); display: grid; gap: 2px; }
.work-cap .cat { font-size: .72rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); }
.work-cap .ttl { font-weight: 600; letter-spacing: -.015em; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.25; }
.work[hidden] { display: none; }
@media (max-width: 860px) {
  .work, .work.w-8, .work.w-6 { grid-column: span 6; aspect-ratio: 4 / 3; min-height: 0; }
  .work.w-12, .work.w-8 { grid-column: span 12; aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) { .work, .work.w-6 { grid-column: span 12; aspect-ratio: 16 / 10; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3vw, 40px); }
.chip { background: none; border: 1.5px solid var(--line-night); border-radius: 999px; padding: .5em 1.05em; font-weight: 500; font-size: .9rem; cursor: pointer; transition: all .2s var(--ease); }
.chip:hover { border-color: #fff; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--night); font-weight: 600; }
.note { font-size: .88rem; color: var(--on-night-soft); margin-top: clamp(20px, 2.5vw, 32px); }

/* Kennzeichen „Echt aufgenommen“: nur auf echten Aufnahmen verwenden */
.echt { position: absolute; left: clamp(8px, 1vw, 14px); top: clamp(8px, 1vw, 14px); z-index: 1; width: clamp(118px, 11vw, 152px); height: auto; pointer-events: none; }
.work img.echt, .work:hover img.echt, .work:focus-visible img.echt { inset: clamp(8px, 1vw, 14px) auto auto clamp(8px, 1vw, 14px); width: clamp(118px, 11vw, 152px); height: auto; object-fit: contain; transform: none; }

/* Lightbox */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1400px); width: 100%; color: #fff; }
dialog.lightbox::backdrop { background: rgba(4, 10, 16, .93); }
.lightbox img, .lightbox video { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 4px; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 14px; }
.lightbox-close { background: none; border: 1.5px solid rgba(255, 255, 255, .4); color: #fff; border-radius: 999px; padding: .45em 1.1em; font-weight: 500; cursor: pointer; }
.lightbox-close:hover { background: #fff; color: var(--night); }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 44px); counter-reset: step; }
.step { border-top: 2px solid var(--brand); padding-top: 18px; counter-increment: step; }
.step::before { content: "0" counter(step); display: block; font-size: .85rem; font-weight: 700; color: var(--accent-ink); margin-bottom: 1.6em; }
.step p { margin-top: .7em; color: var(--ink-soft); font-size: .96rem; }
.section:not(.light) .step { border-color: var(--line-night); }
.section:not(.light) .step::before { color: var(--accent); }
.section:not(.light) .step p { color: var(--on-night-soft); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Leistungs-Detail */
.detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line-paper); scroll-margin-top: 80px; }
.detail:nth-child(even) .frame { order: 2; }
.detail .frame { aspect-ratio: 4 / 3; }
.detail ul { margin-top: 1.2em; display: grid; gap: .35em; }
.detail li { padding-left: 1.3em; position: relative; color: var(--ink-soft); }
.detail li::before { content: ""; position: absolute; left: 0; top: .72em; width: .55em; height: 2px; background: var(--accent-ink); }
.detail .h-lg + p { margin-top: .9em; }
.tag-lead { display: inline-block; margin-bottom: .9em; font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--accent-ink); }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; } .detail:nth-child(even) .frame { order: 0; } }

/* FAQ */
.faq { border-top: 1px solid var(--line-night); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line-night); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15em 2.4em 1.15em 0; font-weight: 600; position: relative; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: .85em; font-size: 1.5em; font-weight: 400; color: var(--accent); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.3em; color: var(--on-night-soft); max-width: 66ch; }

/* Über mich */
.portrait { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: visible; max-width: 480px; margin-inline: auto; width: 100%; }
.portrait-inner { position: absolute; inset: 6%; border-radius: 50%; overflow: hidden; background: var(--paper-2); display: grid; place-items: center; text-align: center; color: var(--ink-soft); font-size: .92rem; }
.portrait-inner img { width: 100%; height: 100%; object-fit: cover; }
.portrait svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.portrait .a { stroke: #fff; }
.portrait .b { stroke: var(--accent); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.values h3 { margin-bottom: .6em; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.kit { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(24px, 4vw, 56px); }
.kit div { display: flex; justify-content: space-between; gap: 16px; padding: .85em 0; border-bottom: 1px solid var(--line-night); flex-wrap: wrap; }
.kit dt { color: var(--on-night-soft); }
.kit dd { font-weight: 500; }
@media (max-width: 700px) { .kit { grid-template-columns: 1fr; } }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85em 1em; background: #fff; border: 1.5px solid var(--line-paper); border-radius: 6px; color: var(--ink); transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-ink) 20%, transparent); }
.field textarea { min-height: 160px; resize: vertical; }
.form-note { grid-column: 1 / -1; font-size: .86rem; color: var(--ink-soft); }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.contact-side > * + * { margin-top: 2em; }
.contact-side h2 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--accent-ink); margin-bottom: .6em; }
.contact-side a { font-weight: 600; }

/* Shop */
.room { position: relative; }
.room img { width: 100%; height: auto; border-radius: 4px; }
.room figcaption { margin-top: 10px; font-size: .84rem; color: var(--on-night-soft); }
.prints { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4.5vw, 64px) clamp(20px, 3vw, 44px); }
.print { display: flex; flex-direction: column; align-items: flex-start; gap: .45em; scroll-margin-top: 110px; }
.print-img { position: relative; width: 100%; margin-bottom: 1em; transition: transform .5s var(--ease); }
.print-img > img:first-child { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-radius: 1px; box-shadow: 0 1px 2px rgba(16, 34, 46, .25), 0 18px 34px -14px rgba(16, 34, 46, .5); }
.print:hover .print-img { transform: translateY(-4px); }
.print-img { cursor: pointer; }
.print .link-arrow { margin-top: .6em; color: var(--accent-ink); }
.print-custom { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; align-items: center; column-gap: clamp(20px, 4vw, 56px); background: var(--paper-2); padding: clamp(24px, 3vw, 40px); border-radius: 4px; }
.print-custom .link-arrow { margin-top: 0; }
@media (max-width: 900px) { .print-custom { grid-template-columns: 1fr; row-gap: .8em; justify-items: start; } }
@media (max-width: 900px) { .prints { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .prints { grid-template-columns: 1fr; } }

dialog.inquiry { border: 0; padding: 0; width: min(1200px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); max-width: none; border-radius: 8px; overflow: auto; }
dialog.inquiry[open] { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
dialog.inquiry.no-media[open] { display: block; width: min(620px, calc(100vw - 32px)); }
dialog.inquiry::backdrop { background: rgba(4, 10, 16, .82); }
.inq-media { background: var(--night); align-content: center; display: grid; }
.inq-media[hidden] { display: none; }
/* Raumvorschau: Masse in cm, Faktoren aus der Kamera der Szene (Bild = 6,05 m Wandbreite) */
.inq-room { position: relative; container-type: inline-size; overflow: hidden; }
.inq-room-bg { width: 100%; height: auto; }
.inq-canvas { position: absolute; left: 47.5%; top: 27%; width: calc(var(--w, 90) * .1654%); height: calc(var(--h, 60) * .294%); transform: translate(-50%, -50%); box-shadow: .9cqw .5cqw 1.5cqw rgba(35, 24, 12, .5), .15cqw .1cqw .2cqw rgba(35, 24, 12, .55); transition: width .3s var(--ease), height .3s var(--ease); }
.inq-canvas img { width: 100%; height: 100%; object-fit: cover; }
.inq-canvas::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, #f4e9d8, #e4d6c1); mix-blend-mode: multiply; }
.inq-cap { padding: 12px clamp(16px, 2vw, 24px) 14px; font-size: .84rem; color: var(--on-night-soft); }
.inquiry .form { padding: clamp(20px, 3vw, 36px); gap: 14px; }
.inquiry .full { grid-column: 1 / -1; }
.inq-head .h-lg { margin-top: .3em; }
.inquiry .field textarea { min-height: 84px; }
.inquiry .field input, .inquiry .field select, .inquiry .field textarea { padding: .65em .85em; }
.inq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.inq-close { background: none; border: 0; padding: .4em 0; font-weight: 500; color: var(--ink-soft); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) {
  dialog.inquiry[open] { display: block; }
}

/* Rechtstexte */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.3rem; letter-spacing: -.015em; margin: 2em 0 .5em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p + p { margin-top: .8em; }
.legal ul { list-style: disc; padding-left: 1.2em; margin-top: .6em; }
.callout { background: #fff8d6; color: #4a3f00; border-radius: 6px; padding: 1em 1.2em; font-size: .92rem; margin-bottom: 2em; }

/* Abschluss-CTA */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: left; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 14, 22, .86), rgba(5, 14, 22, .35)); }
.cta .h-xl { max-width: 15ch; margin-bottom: .4em; }
.cta .lead { max-width: 40ch; margin-bottom: 1.6em; }

/* Fußzeile */
.site-footer { background: var(--night); padding-block: clamp(56px, 7vw, 96px) 76px; border-top: 1px solid var(--line-night); }
.foot-grid { display: grid; grid-template-columns: minmax(180px, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.foot-logo { width: 170px; }
.foot-grid h2 { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--on-night-soft); margin-bottom: 1em; }
.foot-grid li + li { margin-top: .45em; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--accent); }
.foot-base { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: clamp(40px, 5vw, 64px); padding-top: 20px; border-top: 1px solid var(--line-night); font-size: .86rem; color: var(--on-night-soft); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* Höhenmesser: von 120 m (Obergrenze offene Kategorie) bis zur Landung */
.alt { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 40; height: 44vh; width: 54px; color: #fff; mix-blend-mode: difference; pointer-events: none; font-size: .7rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.alt::before { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 8px; background: repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 10%); opacity: .55; }
.alt-mark { position: absolute; right: 0; top: 0; display: flex; align-items: center; gap: 6px; white-space: nowrap; transform: translateY(-50%); }
.alt-mark::after { content: ""; width: 16px; height: 2px; background: currentColor; }
@media (max-width: 1180px) { .alt { display: none; } }

/* Vorschau-Schalter für die Farbvarianten */
.variant { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 6px; padding: 6px 8px 6px 14px; background: rgba(8, 16, 22, .9); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; font-size: .75rem; font-weight: 500; color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.variant button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; background: var(--c); }
.variant button[aria-pressed="true"] { border-color: #fff; }
@media (max-width: 520px) { .variant span { display: none; } .variant { padding-left: 8px; left: auto; right: 16px; } }

/* Einblenden beim Scrollen, nur wenn JS läuft */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
