/* Pichler-Park Coming Soon */

/* Inter Variable Font — self-hosted (kein Google-Fonts-Request, DSGVO-konform) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --pp-green-dark: #687c5b;
  --pp-green-mid: #8aa178;
  --pp-cream: #F5F2EC;
  --pp-cream-warm: #EDE6D6;
  --pp-text: #1f2419;
  --pp-text-muted: #5a5f4e;
  --pp-white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--pp-text);
  background: var(--pp-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ============ HOME / COMING SOON ============ */

.home {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--pp-green-dark);
  color: var(--pp-cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "topbar topbar"
    "text   hero"
    "footer footer";
}

.home .topbar { grid-area: topbar; }
.home .text   { grid-area: text; }
.home .hero   { grid-area: hero; }
.home footer  { grid-area: footer; }

/* Page-load reveal — staggered fade-up */
.home .topbar,
.home .text h1,
.home .text .subtitle,
.home .text .tour-cta,
.home .text .insta-cta,
.home footer {
  animation: pp-reveal 1.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home .topbar       { animation-delay: 0.2s; }
.home .text h1      { animation-delay: 0.5s; }
.home .text .subtitle { animation-delay: 0.8s; }
.home .text .tour-cta { animation-delay: 1.1s; }
.home .text .insta-cta { animation-delay: 1.3s; }
.home footer        { animation-delay: 1.6s; }

.home .hero {
  animation: pp-hero-in 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes pp-reveal {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pp-hero-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .home .topbar,
  .home .text h1,
  .home .text .subtitle,
  .home .text .tour-cta,
  .home .text .insta-cta,
  .home footer,
  .home .hero {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Top bar */
.home .topbar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 4vw;
  min-height: 90px;
  box-sizing: border-box;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pp-cream);
}

.home .topbar .wordmark img {
  display: block;
  width: 75px;
  height: auto;
}

.home .topbar .est {
  display: inline-block;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.95rem;
}

/* Main content */
.home .text {
  padding: 4vh 4vw 6vh 4vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
}

.home .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 2.5rem;
  color: var(--pp-cream);
  opacity: 0.7;
}

.home .eyebrow::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--pp-cream);
  opacity: 0.5;
}

.home .tagline {
  font-style: italic;
  font-weight: 400;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  letter-spacing: 0.005em;
  color: var(--pp-cream);
  opacity: 0.78;
  margin-bottom: 1.8rem;
}

.home h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--pp-cream);
}

.home h1 .accent {
  color: var(--pp-cream);
  opacity: 0.55;
}

.home .subtitle {
  margin-top: 2rem;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 300;
  max-width: 460px;
  color: var(--pp-cream);
  opacity: 0.82;
  line-height: 1.55;
}

.home .tour-cta,
.home .insta-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.5rem 0.9rem 0.9rem;
  background: var(--pp-cream);
  color: var(--pp-green-dark);
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  max-width: 480px;
  box-shadow: 0 8px 30px -10px rgba(0,0,0,0.25);
}

.home .tour-cta  { margin-top: 3rem; margin-bottom: 0.9rem; }
.home .insta-cta { margin-top: 0; }

.home .tour-cta:hover,
.home .insta-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -10px rgba(0,0,0,0.35);
}

.home .tour-cta .icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #c8e6f5 0%, #6eb5e0 55%, #2e7ab2 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.18);
  box-shadow: 0 2px 6px -1px rgba(46, 122, 178, 0.35);
}

.home .tour-cta .label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pp-green-dark);
  opacity: 0.55;
  margin-bottom: 0.15rem;
  font-weight: 600;
}

.home .tour-cta .title {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.3;
  color: var(--pp-green-dark);
}

.home .tour-cta .arrow {
  margin-left: auto;
  display: inline-block;
  font-size: 1.1rem;
  transition: transform 0.25s ease;
  color: var(--pp-green-dark);
  opacity: 0.6;
}

.home .tour-cta:hover .arrow {
  transform: translateX(4px);
  opacity: 1;
}

.home .insta-cta .icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px -1px rgba(214, 36, 159, 0.25);
}

.home .insta-cta .icon svg {
  width: 26px;
  height: auto;
}

.home .insta-cta .label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pp-green-dark);
  opacity: 0.55;
  margin-bottom: 0.15rem;
  font-weight: 600;
}

.home .insta-cta .title {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.3;
  color: var(--pp-green-dark);
}

.home .insta-cta .arrow {
  margin-left: auto;
  display: inline-block;
  font-size: 1.1rem;
  transition: transform 0.25s ease;
  color: var(--pp-green-dark);
  opacity: 0.6;
}

.home .insta-cta:hover .arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* Hero — edge to edge slideshow (JS controlled) */
.home .hero {
  align-self: stretch;
  overflow: hidden;
  position: relative;
  background: #2c3625;
}


.home .hero .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  will-change: opacity;
}

.home .hero .slide.active {
  opacity: 1;
}

.home .hero .slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.home .hero .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.04);
  animation: slide-zoom 60s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes slide-zoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.075); }
}

@media (prefers-reduced-motion: reduce) {
  .home .hero .slide { transition: none; }
  .home .hero .slide img { animation: none; transform: scale(1.04); }
}

/* Footer — same green as the rest, seamless */
.home footer {
  grid-column: 1 / -1;
  padding: 0.8rem 4vw;
  min-height: 90px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  background: transparent;
  color: rgba(245,242,236,0.7);
  letter-spacing: 0.05em;
}

.home footer .legal a {
  color: var(--pp-cream);
  text-decoration: none;
  margin-right: 1.6rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.home footer .legal a:last-child { margin-right: 0; }
.home footer .legal a:hover { opacity: 1; }

.home footer .social,
.home footer .social span {
  color: rgba(245,242,236,0.7);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home footer .social {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
}

.home footer .contact-email {
  color: rgba(245,242,236,0.85);
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.78rem;
  transition: color 0.2s ease;
}
.home footer .contact-email:hover {
  color: var(--pp-cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============ LEGAL PAGES ============ */

.legal-page {
  background: var(--pp-cream);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.legal-page .header {
  padding: 2rem 2rem;
  background: var(--pp-green-dark);
  color: var(--pp-cream);
}

.legal-page .header .container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.legal-page .header .brand {
  display: inline-flex;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.legal-page .header .brand:hover { opacity: 0.85; }

.legal-page .header .brand img {
  width: 140px;
  height: auto;
  display: block;
}

.legal-page .header a.back {
  color: var(--pp-cream);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.legal-page .header a.back:hover { opacity: 1; }

.legal-page main {
  flex: 1;
  padding: 4rem 2rem 6rem;
}

.legal-page .container {
  max-width: 820px;
  margin: 0 auto;
}

.legal-page h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin-bottom: 0.5rem;
  letter-spacing: -0.035em;
  color: var(--pp-green-dark);
  line-height: 1.05;
}

.legal-page .date {
  font-size: 0.72rem;
  color: var(--pp-text-muted);
  margin-bottom: 3rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-page h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--pp-green-dark);
  letter-spacing: -0.015em;
}

.legal-page h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
  color: var(--pp-text);
}

.legal-page p {
  margin-bottom: 1rem;
  color: var(--pp-text);
}

.legal-page ul {
  list-style: none;
  margin-bottom: 1.2rem;
  padding-left: 0;
}

.legal-page ul li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.5rem;
}

.legal-page ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--pp-green-mid);
  border-radius: 50%;
}

.legal-page a {
  color: var(--pp-green-dark);
  text-decoration: underline;
  text-decoration-color: var(--pp-green-mid);
  text-underline-offset: 3px;
}

.legal-page address {
  font-style: normal;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-page .footer {
  padding: 1.5rem 2rem;
  background: transparent;
  font-size: 0.85rem;
  color: var(--pp-text-muted);
  text-align: center;
}

.legal-page .footer a {
  color: var(--pp-text-muted);
  text-decoration: none;
  margin: 0 0.8rem;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 900px) {
  .home {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      "topbar"
      "hero"
      "text"
      "footer";
    align-content: start;
  }

  .home .hero {
    align-self: start;
    height: 0;
    padding-bottom: 100%; /* 1:1 aspect ratio fallback */
    max-height: none;
    width: 100%;
    position: relative;
  }

  .home .text {
    padding: 4vh 6vw 4vh 6vw;
    text-align: center;
    align-self: start;
    display: block;
    height: auto;
  }
  .home .text h1,
  .home .text .subtitle {
    display: block;
    width: 100%;
  }
  .home .topbar {
    padding: 1rem 6vw;
    font-size: 0.68rem;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
    text-align: center;
  }
  .home footer {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 6vw;
    text-align: center;
  }
  .home footer .legal a { margin: 0 0.5rem; }
  .home .tour-cta,
  .home .insta-cta {
    max-width: 100%;
    display: inline-flex;
  }
  .home h1 { letter-spacing: -0.035em; }
  .home .subtitle {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .home h1 { font-size: clamp(2.6rem, 13vw, 4.8rem); line-height: 0.96; }
  .home .topbar .wordmark img { width: 85px; }
  .home .topbar .est { font-size: 0.65rem; }
  .home .tour-cta,
  .home .insta-cta {
    padding: 0.85rem 1.2rem 0.85rem 0.9rem;
    gap: 0.85rem;
  }
  .home .tour-cta .icon,
  .home .insta-cta .icon {
    width: 38px;
    height: 38px;
  }
  .home .tour-cta .icon {
    font-size: 0.66rem;
  }
  .home .insta-cta .icon svg {
    width: 22px;
  }
  .home .tour-cta .title,
  .home .insta-cta .title {
    font-size: 0.88rem;
    line-height: 1.35;
  }
  .home .hero {
    aspect-ratio: 1 / 1;
  }
  .legal-page .header { padding: 1.5rem 1.5rem; }
  .legal-page main { padding: 2rem 1.5rem 4rem; }
}

@media (max-width: 420px) {
  .home .topbar {
    gap: 0.5rem;
  }
}
