/* Kernzone — statisches Frontend
   Klassen: site-header, brand, nav, hero, panel, heading, script,
   stage, split, mosaic, member, prices, price-item, feature,
   partners, poster, notice, footer, modal, cookie */

:root {
  --ink: #2f2f2f;
  --gold: #4a5644;
  --gold-dark: #3a4436;
  --night: #241a19;
  --green: #7a8370;
  --cream: #e7dfd4;
  --paper: #d4d2c8;
  --line: #c9c2b4;
  --white: #fff;
  --font-body: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-script: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1140px;
  --header: 110px;
}

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

html { scroll-behavior: auto; }

section { scroll-margin-top: 90px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus-visible { color: var(--gold-dark); }

p { margin: 0 0 25px; }

address {
  font-style: normal;
  margin: 0 0 25px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
}

.heading {
  text-align: center;
  font-size: 30px;
  line-height: 1.15;
  padding-bottom: 40px;
  margin-bottom: 55px;
  background: url("../assets/divider.png") no-repeat center bottom;
}

.heading--sub {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0;
  padding-top: 20px;
}

.heading--block {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0;
  line-height: 1.3;
  padding-top: 74px;
  margin-bottom: 20px;
}

.script {
  font-family: var(--font-script);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--gold);
  text-align: center;
}

.script--display {
  font-size: 28px;
  line-height: 1.35;
}

.gold {
  color: var(--gold);
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
}

.panel {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 100px 24px 48px;
  text-align: center;
  background: var(--cream);
}

.section--tint { background: var(--cream); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 36px 28px 70px;
  background: transparent;
  transition: padding 0.45s ease, background 0.45s ease;
}

.site-header--solid {
  padding: 8px 28px;
  background: var(--green);
}

.brand img {
  width: 210px;
  height: auto;
  filter: brightness(0) invert(1);
}

.site-header--solid .brand img { width: 150px; }

.nav {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav__link:hover,
.nav__link:focus-visible { color: #959595; }

.nav__link--active { color: var(--cream); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.hero {
  min-height: 100vh;
  background: url("../assets/hero.jpg") center bottom / cover no-repeat #d5d5d5;
  position: relative;
}

.hero__next {
  position: absolute;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: transparent url("../assets/arrow.png") center 58% / 22px no-repeat;
}

.hero__next:hover { background-color: rgba(255, 255, 255, 0.12); }

.next {
  display: flex;
  justify-content: center;
  margin: 10px 0 0;
}

.next img { width: 300px; }

.stage {
  min-height: 600px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.stage--panorama {
  min-height: 600px;
  background-image: url("../assets/panorama.jpg");
  background-position: center bottom;
}

.stage--wash {
  min-height: 800px;
  background-image: url("../assets/ambiente-1.jpg");
}

.stage--room { background-image: url("../assets/ambiente-2.jpg"); }
.stage--detail { background-image: url("../assets/ambiente-3.jpg"); }

.stage--poster {
  height: 700px;
  background-image: url("../assets/filler.jpg");
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split__copy {
  padding: 100px 120px;
  text-align: center;
}

.mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  min-height: 600px;
}

.quote-panel {
  display: grid;
  place-items: center;
  padding: 40px 24px;
  text-align: center;
}

.member {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  margin: 48px 0 10px;
  text-align: left;
}

.member__photo img { width: 100%; }

.member__body {
  padding: 30px 50px 10px;
  text-align: center;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
}

.member__hours {
  font-style: normal;
}

.prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
  text-align: center;
}

.price-item {
  margin: 0 0 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.price-item p { margin: 0 0 4px; }

.price-item__sizes {
  margin: 0;
  letter-spacing: 0.12em;
}

.price {
  margin: 0;
  color: var(--gold);
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
}

.price-note {
  grid-column: 1 / -1;
  margin-top: 10px;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
}

.feature__copy {
  padding: 70px 80px;
  background: var(--cream);
  text-align: justify;
}

.feature__copy .heading--block {
  padding-top: 0;
  text-align: left;
}

.feature__copy .heading--block + .heading--block,
.feature__copy p + .heading--block { padding-top: 36px; }

.feature__media {
  min-height: 320px;
}

.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature__inline {
  width: 100%;
  height: auto;
  margin-top: 10px;
}

.feature__copy p { font-size: 16px; }

.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 10px 24px 20px;
}

.partner {
  display: grid;
  place-items: center;
  width: 250px;
  height: 70px;
  border: 1px solid var(--ink);
  opacity: 0.4;
  transition: opacity 0.4s ease;
}

.partner:hover,
.partner:focus-visible { opacity: 1; }

.partner img {
  max-height: 35px;
  width: auto;
  max-width: 80%;
}

.poster { background: var(--cream); }

.notice p { margin-bottom: 16px; }

.contact__phone {
  font-size: 42px;
  font-weight: 400;
  line-height: 1.2;
}

.social img {
  width: 150px;
  margin: 0 auto 25px;
}

.footer {
  padding: 50px 24px 36px;
  text-align: center;
}

.footer p { margin: 0 0 12px; }

.footer__copy {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink);
}

.btn {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 18px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  color: var(--gold-dark);
  border-color: var(--gold-dark);
  background: var(--cream);
}

.btn--dark {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
  font-weight: 700;
}

.btn--dark:hover { color: var(--white); background: #646b5b; }

.booking { margin: 28px 0 8px; }

.btn--book {
  text-transform: none;
  letter-spacing: 0.03em;
  font-size: 14px;
  padding: 12px 22px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.55);
}

.modal[hidden] { display: none; }

.modal__panel {
  position: relative;
  width: min(520px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: var(--cream);
  padding: 28px 28px 22px;
  text-align: center;
}

.modal--legal .modal__panel {
  width: min(860px, 100%);
  text-align: left;
}

.modal--legal .modal__body p { font-size: 16px; }

.modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.modal__body img { margin: 0 auto; }

.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 20px;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
}

.cookie[hidden] { display: none; }

.cookie p { margin: 0; max-width: 820px; }

.cookie__btn {
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  padding: 6px 12px;
  cursor: pointer;
}

.cookie__btn:hover { background: rgba(255, 255, 255, 0.25); }

@media (max-width: 1480px) {
  .split__copy { padding: 70px; }
  .script--display { font-size: 26px; }
  .feature__copy { padding: 70px; }
}

@media (max-width: 991px) {
  .hero { background-image: url("../assets/hero-mobile.jpg"); }
  .split,
  .mosaic,
  .member,
  .prices,
  .feature { grid-template-columns: 1fr; }
  .stage,
  .stage--panorama,
  .stage--wash,
  .stage--poster,
  .mosaic { min-height: 300px; }
  .stage--poster { height: 300px; }
  .split__copy,
  .feature__copy { padding: 48px 28px 36px; }
  .member__body { border-right: 0; padding: 24px 16px; }
  .quote-panel { min-height: 220px; }
  .site-header { padding-left: 24px; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .site-header,
  .site-header--solid {
    padding: 10px 16px;
  }
  .brand img,
  .site-header--solid .brand img { width: 140px; }
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    background: var(--green);
  }
  .nav.is-open { display: flex; }
  .nav__link { display: block; padding: 10px 20px; }
  .heading { font-size: 22px; }
  .heading--block { font-size: 22px; }
  .script--display { font-size: 24px; }
  .hero__next {
    width: 50px;
    height: 50px;
    bottom: 18px;
    background-size: 16px;
  }
  .contact__phone { font-size: 30px; }
  .cookie { flex-wrap: wrap; text-align: left; }
}

.reveal {
  opacity: 0;
  transform: translateY(3.75rem);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.9s ease-in-out,
    transform 0.9s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header, a, .partner { transition: none; }
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
