/* Startbereich aus Casa-Antic-Upload-2026-10-13-iPhone-PDF.zip. */
@font-face {
  font-family: "Casa Antic Start";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/inter-start-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Casa Antic Start";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/inter-start-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.site-header,
.hero {
  font-family: "Casa Antic Start", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hero {
  order: 1;
}

.site-header {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.18rem clamp(0.75rem, 2.4vw, 1.5rem);
  color: rgb(255, 255, 255);
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}

.site-header.is-elevated {
  color: var(--ink);
  background: rgb(var(--surface-rgb) / 0.94);
  box-shadow: rgba(25, 31, 27, 0.08) 0px 10px 34px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0px;
  min-width: 0px;
  flex: 0 0 auto;
  order: 1;
}

.brand-logo {
  display: block;
  width: clamp(58px, 6.2vw, 86px);
  height: auto;
  filter: drop-shadow(rgba(0, 0, 0, 0.34) 0px 12px 22px);
  opacity: 0;
  transform: translateY(18px) scale(0.92);
  transition: opacity 0.35s, transform 0.35s, filter 0.35s;
  animation: logoBreathe 4.6s ease-in-out infinite;
}

.site-header.is-elevated .brand-logo {
  opacity: 1;
  transform: translateY(0px) scale(1);
}

.brand:hover .brand-logo {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(rgba(200, 154, 67, 0.28) 0px 16px 28px);
}

.desktop-nav {
  display: flex;
  gap: 1.35rem;
  margin-inline: auto;
  font-size: clamp(0.95rem, 1vw, 1.05rem);
  font-weight: 800;
  order: 2;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  position: absolute;
  left: 0px;
  bottom: -0.4rem;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 0px;
  border-radius: 999px;
  padding: 0.46rem 0.78rem;
  font-style: inherit;
  font-variant: inherit;
  font-stretch: inherit;
  font-size: inherit;
  line-height: inherit;
  font-family: inherit;
  font-optical-sizing: inherit;
  font-size-adjust: inherit;
  font-kerning: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-language-override: inherit;
  font-weight: 800;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.nav-cta::after {
  position: absolute;
  inset: 0px;
  content: "";
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.42) 45%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 0.55s;
}

.nav-cta:hover::after {
  transform: translateX(130%);
}

.nav-cta {
  color: rgb(27, 31, 27);
  background: linear-gradient(135deg, #f2cf86, var(--gold));
  box-shadow: rgba(200, 154, 67, 0.26) 0px 14px 34px;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  order: 3;
}

.language-switcher > button,
.header-whatsapp {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
}

.language-switcher > button {
  border: 1px solid rgba(200, 154, 67, 0.28);
  color: var(--ink);
  background: rgb(var(--surface-rgb) / 0.92);
  box-shadow: rgba(32, 38, 35, 0.1) 0px 12px 30px;
  backdrop-filter: blur(16px);
}

.header-whatsapp {
  color: #fff;
  background: #187f52;
  transition: background 0.2s;
}

.header-whatsapp:hover {
  background: #146e47;
}

.header-whatsapp:focus-visible {
  outline: 2px solid #edc575;
  outline-offset: 3px;
}

.header-whatsapp svg {
  width: 1.62rem;
  height: 1.62rem;
}

.language-switcher {
  position: relative;
  z-index: 70;
  flex: 0 0 auto;
}

.nav-cta {
  order: 4;
}

.language-switcher > button {
  padding: 0px;
  font-size: 1.25rem;
  cursor: pointer;
}

.language-switcher [data-language-flag] {
  display: grid;
  place-items: center;
}

.flag-icon {
  display: block;
  flex: none;
  width: 1.45rem;
  height: 1.45rem;
  overflow: hidden;
  border: 1px solid rgba(23, 32, 28, 0.16);
  border-radius: 999px;
  box-shadow: rgba(255, 255, 255, 0.28) 0px 0px 0px 1px inset;
}

.flag-de {
  background: linear-gradient(rgb(17, 17, 17) 0px, rgb(17, 17, 17) 33.33%, rgb(215, 31, 42) 33.33%, rgb(215, 31, 42) 66.66%, rgb(255, 216, 74) 66.66%);
}

.flag-gb {
  background: linear-gradient(33deg, transparent 42%, rgb(255, 255, 255) 42%, rgb(255, 255, 255) 48%, rgb(200, 16, 46) 48%, rgb(200, 16, 46) 53%, rgb(255, 255, 255) 53%, rgb(255, 255, 255) 59%, transparent 59%), linear-gradient(147deg, transparent 42%, rgb(255, 255, 255) 42%, rgb(255, 255, 255) 48%, rgb(200, 16, 46) 48%, rgb(200, 16, 46) 53%, rgb(255, 255, 255) 53%, rgb(255, 255, 255) 59%, transparent 59%), linear-gradient(90deg, transparent 42%, rgb(255, 255, 255) 42%, rgb(255, 255, 255) 58%, transparent 58%), linear-gradient(0deg, transparent 38%, rgb(255, 255, 255) 38%, rgb(255, 255, 255) 62%, transparent 62%), linear-gradient(90deg, transparent 46%, rgb(200, 16, 46) 46%, rgb(200, 16, 46) 54%, transparent 54%), linear-gradient(0deg, transparent 43%, rgb(200, 16, 46) 43%, rgb(200, 16, 46) 57%, transparent 57%), rgb(1, 33, 105);
}

.flag-pl {
  background: linear-gradient(rgb(255, 255, 255) 0px, rgb(255, 255, 255) 50%, rgb(220, 20, 60) 50%);
}

.flag-cz {
  background: linear-gradient(32deg, rgb(17, 69, 126) 0px, rgb(17, 69, 126) 49%, transparent 50%), linear-gradient(148deg, rgb(17, 69, 126) 0px, rgb(17, 69, 126) 49%, transparent 50%), linear-gradient(rgb(255, 255, 255) 0px, rgb(255, 255, 255) 50%, rgb(215, 20, 26) 50%);
}

.language-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0px;
  display: grid;
  min-width: 150px;
  z-index: 80;
  border: 1px solid rgba(200, 154, 67, 0.35);
  border-radius: 8px;
  padding: 0.35rem;
  background: var(--surface);
  box-shadow: rgba(32, 38, 35, 0.16) 0px 18px 45px;
  backdrop-filter: blur(16px);
}

.language-menu[hidden] {
  display: none !important;
}

.language-menu button {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 0px;
  border-radius: 6px;
  padding: 0.55rem 0.65rem;
  background: transparent;
  color: var(--ink);
  font-style: inherit;
  font-variant: inherit;
  font-stretch: inherit;
  font-size: inherit;
  line-height: inherit;
  font-family: inherit;
  font-optical-sizing: inherit;
  font-size-adjust: inherit;
  font-kerning: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-language-override: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.language-menu button:hover {
  background: rgba(200, 154, 67, 0.12);
}

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

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 86vh;
  overflow: visible;
  padding: 8rem clamp(1rem, 5vw, 5rem) 4rem;
  color: rgb(255, 255, 255);
}

.hero-gallery,
.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0px;
}

.hero-gallery {
  overflow: hidden;
  background: radial-gradient(circle at 18% 24%, rgba(200, 154, 67, 0.28), transparent 22%), radial-gradient(circle at 82% 18%, rgba(142, 165, 143, 0.32), transparent 24%), linear-gradient(135deg, rgb(18, 32, 26), rgb(46, 63, 53) 52%, rgb(146, 113, 61));
}

.hero-photo {
  width: 100%;
  height: 100%;
  opacity: 0;
  background: linear-gradient(90deg, rgba(11, 17, 14, 0.26), rgba(11, 17, 14, 0.04)) center center / cover, radial-gradient(circle at 24% 28%, rgba(255, 255, 255, 0.18), transparent 18%), linear-gradient(135deg, rgba(200, 154, 67, 0.36), rgba(142, 165, 143, 0.42));
  animation: heroPhotoFlow 60s ease-in-out infinite;
  transform: translateY(calc(var(--hero-parallax, 0) * 1px)) scale(1.08);
}

.hero-photo.has-image {
  background-blend-mode: normal;
}

.hero-gallery.is-synced .hero-photo {
  opacity: 0;
  animation: none;
  transform: translateY(calc(var(--hero-parallax, 0) * 1px)) scale(1.1);
  transition: opacity 1s, transform 1.6s;
}

.hero-gallery.is-synced .hero-photo.is-active {
  opacity: 1;
  transform: translateY(calc(var(--hero-parallax, 0) * 1px)) scale(1.045);
}

.hero-photo.photo-two {
  animation-delay: 10s;
}

.hero-photo.photo-three {
  animation-delay: 20s;
}

.hero-photo.photo-four {
  animation-delay: 30s;
}

.hero-photo.photo-five {
  animation-delay: 40s;
}

.hero-photo.photo-six {
  animation-delay: 50s;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(15, 20, 18, 0.76), rgba(15, 20, 18, 0.2) 58%, rgba(15, 20, 18, 0.36)), linear-gradient(0deg, rgba(23, 32, 28, 0.55), transparent 45%);
}

.hero-content {
  position: relative;
  max-width: 770px;
  z-index: 2;
}

.hero-logo {
  position: relative;
  top: -0.55rem;
  width: min(310px, 58vw);
  height: auto;
  margin-inline-start: -0.4rem;
  margin-bottom: 0.5rem;
  opacity: 0;
  filter: drop-shadow(rgba(0, 0, 0, 0.34) 0px 16px 28px);
  animation: heroLogoRise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both,
    heroLogoFloat 5.5s ease-in-out 1.1s infinite;
}

.hero .eyebrow {
  margin: 0px 0px 0.8rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0px;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 0px;
}

.hero h1 {
  font-weight: 700;
}

.hero h1 {
  max-width: 850px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.35rem, 6.2vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0px;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-apartments {
  --hero-apartment-width: min(390px, 30vw);
  position: absolute;
  left: calc(100vw - var(--hero-apartment-width) - clamp(1rem, 5vw, 5rem) - clamp(1rem, 5vw, 5rem));
  top: 50%;
  bottom: auto;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  width: var(--hero-apartment-width);
  min-height: 280px;
  margin-top: 0px;
  transform: translateY(-12%);
}

.hero-apartments > button {
  position: relative;
  display: grid;
  gap: 0.25rem;
  min-height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 1rem 1.05rem 1rem 1.25rem;
  font: inherit;
  text-align: left;
  background: rgba(15, 20, 18, 0.42);
  box-shadow: rgba(0, 0, 0, 0.24) 0px 22px 56px;
  backdrop-filter: blur(10px);
  visibility: visible;
  opacity: 0.52;
  transform: translateX(18px) scale(0.94);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.75s, opacity 0.75s, visibility 0.75s;
}

.hero-apartments > button:hover {
  border-color: rgba(245, 216, 138, 0.9);
  opacity: 1;
  transform: translateX(0px) scale(1);
}

.hero-apartments > button::before {
  position: absolute;
  left: 0.72rem;
  top: 0.95rem;
  bottom: 0.95rem;
  width: 3px;
  border-radius: 999px;
  content: "";
  background: rgba(245, 216, 138, 0.9);
  opacity: 0;
  transform: scaleY(0.4);
  transition: opacity 0.28s, transform 0.38s;
}

.hero-apartments > button.is-active {
  border-color: rgba(245, 216, 138, 0.95);
  background: linear-gradient(135deg, rgba(245, 216, 138, 0.22), rgba(255, 255, 255, 0.2)), rgba(14, 19, 16, 0.56);
  visibility: visible;
  opacity: 1;
  transform: translateX(0px) scale(1.05);
  box-shadow: rgba(0, 0, 0, 0.34) 0px 28px 70px;
}

.hero-apartments > button.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.hero-apartments span {
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 900;
}

.hero-apartments strong {
  color: rgb(255, 255, 255);
  font-size: clamp(1.12rem, 1.55vw, 1.38rem);
  line-height: 1.15;
}

.hero-booking-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.35rem;
  color: #efefec;
  font-size: 0.9rem;
  font-weight: 700;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.86);
}

.hero :is(button, a):focus-visible {
  outline: 2px solid #f5d88a;
  outline-offset: 3px;
}

.hero-booking-note .pulse {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgb(158, 230, 165);
  box-shadow: rgba(158, 230, 165, 0.7) 0px 0px 0px 0px;
  animation: pulse 1.7s ease infinite;
}

.hero .reveal {
  opacity: 0;
  filter: blur(3px);
  transform: translate3d(-42px, 30px, 0px) scale(0.985);
  transition: opacity 0.68s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.68s, transform 0.68s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero .reveal.from-right {
  transform: translate3d(42px, 30px, 0px) scale(0.985);
}

.hero .reveal.from-left {
  transform: translate3d(-42px, 30px, 0px) scale(0.985);
}

.hero .reveal.is-visible {
  opacity: 1;
  filter: blur(0px);
  transform: translate3d(0px, 0px, 0px) scale(1);
}

.hero .delay-1 {
  transition-delay: 0.12s;
}

@keyframes heroPhotoFlow { 
  0% { opacity: 0; transform: translateY(calc(var(--hero-parallax, 0) * 1px)) translateX(4%) scale(1.08); }
  7% { opacity: 1; }
  25% { opacity: 1; transform: translateY(calc(var(--hero-parallax, 0) * 1px)) translateX(-3%) scale(1.14); }
  32%, 100% { opacity: 0; transform: translateY(calc(var(--hero-parallax, 0) * 1px)) translateX(-6%) scale(1.16); }
}

@keyframes logoBreathe { 
  0%, 100% { box-shadow: rgba(200, 154, 67, 0) 0px 0px 0px; }
  50% { box-shadow: rgba(200, 154, 67, 0.34) 0px 0px 26px; }
}

@keyframes heroLogoRise { 
  0% { opacity: 0; transform: translateY(54px) scale(0.94); }
  100% { opacity: 1; transform: translateY(0px) scale(1); }
}

@keyframes heroLogoFloat { 
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse { 
  100% { box-shadow: rgba(158, 230, 165, 0) 0px 0px 0px 12px; }
}

@media (max-width: 1180px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-apartments {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    grid-template-columns: repeat(3, minmax(0px, 1fr));
    width: min(820px, 100%);
    min-height: 92px;
    margin-top: 1rem;
    transform: none;
  }

  .hero-apartments > button {
    min-height: 82px;
    transform: none;
  }
}

@media (min-width: 941px) and (max-height: 950px) {
  .hero {
    padding-block: 6.25rem 2.5rem;
  }

  .hero-logo {
    width: 16rem;
  }
}

@media (max-width: 940px) {
  .hero .reveal,
  .hero .reveal.from-left,
  .hero .reveal.from-right,
  .hero .reveal:nth-of-type(2n) {
    transform: translate3d(0px, 28px, 0px) scale(0.985);
  }

  .hero .reveal.is-visible {
    transform: translate3d(0px, 0px, 0px) scale(1);
  }

  .site-header {
    min-height: 58px;
    padding: 0.5rem 1rem;
  }

  .brand-logo {
    width: 78px;
  }

  .desktop-nav {
    display: none;
  }

  .header-contact {
    margin-inline-start: auto;
  }

  .hero {
    min-height: auto;
    padding: 7rem 1.25rem 2.5rem;
  }

  .hero-logo {
    width: min(240px, 52vw);
  }

  .hero-content {
    max-width: 660px;
  }

  .hero-apartments {
    position: relative;
    inset: auto;
    grid-template-columns: repeat(3, minmax(0px, 1fr));
    width: min(760px, 100%);
    min-height: 92px;
    margin-top: 1rem;
    transform: none;
  }

  .hero-apartments > button {
    min-height: 82px;
    transform: none;
  }

  .hero h1 {
    max-width: 720px;
    font-size: clamp(2rem, 7.2vw, 3.45rem);
    line-height: 1.04;
  }
}

@media (max-width: 620px) {
  .hero .reveal,
  .hero .reveal.from-left,
  .hero .reveal.from-right {
    filter: none;
  }

  .site-header {
    min-height: 54px;
    padding: 0.35rem 0.75rem;
  }

  .brand-logo {
    width: 68px;
  }

  .brand small,
  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 4.2rem 1rem 1.8rem;
    align-items: end;
  }

  .language-menu {
    top: 3rem;
    right: 0px;
    left: auto;
  }

  .hero-logo {
    width: min(176px, 52vw);
  }

  .hero h1 {
    font-size: 2.05rem;
    line-height: 1.04;
    overflow-wrap: normal;
  }

  .hero .eyebrow {
    font-size: 0.72rem;
  }

  .hero-booking-note {
    font-size: 0.88rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-top: 1.25rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-apartments {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    width: 100%;
    min-height: 0px;
  }

  .hero-apartments > button {
    min-height: auto;
    width: 100%;
    overflow: hidden;
    padding: 0.72rem 0.78rem;
    grid-template-columns: minmax(0, 1fr);
    transform: none;
  }

  .hero-apartments > button.is-active {
    transform: none;
  }

  .hero-apartments > button::before {
    display: none;
  }

  .hero-apartments strong {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: auto;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .hero h1 {
    font-size: 1.875rem;
  }
}

@media (max-width: 375px) {
  .hero h1 {
    font-size: 1.75rem;
  }
}

@media (max-width: 340px) {
  .hero h1 {
    font-size: 1.55rem;
  }
}

@media (max-width: 420px) and (max-height: 700px) {
  .hero {
    padding-block: 3.4rem 1rem;
  }

  .hero-logo {
    width: 5.4rem;
    margin-bottom: 0.4rem;
  }

  .hero-booking-note {
    margin-bottom: 0.85rem;
    font-size: 0.82rem;
  }

  .hero h1 {
    margin-bottom: 0.6rem;
    font-size: 1.45rem;
  }

  .hero-apartments,
  .hero-actions {
    margin-top: 0.45rem;
  }

  .hero-apartments > button {
    padding-block: 0.38rem;
  }

  .hero-actions .button {
    min-height: 44px;
    margin: 0;
    max-width: 100%;
    justify-content: center;
    padding-inline: 0.45rem;
    font-size: 0.8rem;
  }
}

@media (min-width: 941px) and (max-width: 1180px) and (max-height: 850px) {
  .hero {
    padding-block: 5.65rem 1.65rem;
  }

  .hero-logo {
    width: 12rem;
  }

  .hero h1 {
    font-size: 3.3rem;
  }
}
