/* Pallas Haus Wiesbaden — premium editorial minimalism */
:root {
  --bg: #f5f3ef;
  --bg-elevated: #ffffff;
  --bg-dark: #1a1f1d;
  --text: #141413;
  --text-muted: #6e6e68;
  --accent: #2f4f45;
  --accent-soft: rgba(47, 79, 69, 0.08);
  --champagne: #a8956f;
  --border: rgba(20, 20, 19, 0.09);
  --shadow-sm: 0 4px 24px rgba(20, 20, 19, 0.04);
  --shadow-md: 0 12px 48px rgba(20, 20, 19, 0.08);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --font-display: "Newsreader", "Georgia", serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 80px;
  --container: min(1240px, 92vw);
  --section-pad: clamp(4rem, 8vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 9999;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: var(--container); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Header ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: height 0.45s var(--ease), background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.header.compact { --header-h: 68px; }
.header.scrolled {
  background: rgba(245, 243, 239, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); font-style: italic; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(47, 79, 69, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(47, 79, 69, 0.3); }
.btn-primary .arrow { transition: transform 0.35s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-elevated);
  cursor: pointer;
  font-size: 1.2rem;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: calc(var(--header-h) + 3rem) clamp(4vw, 6vw, 8vw) 4rem;
  position: relative;
}
.hero-content { max-width: 560px; z-index: 2; }
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease) 0.1s forwards;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.65s var(--ease) 0.2s forwards;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-desc {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.65s var(--ease) 0.35s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.65s var(--ease) 0.45s forwards;
}
.hero-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.hero-link:hover { color: var(--accent); border-color: var(--accent); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.65s var(--ease) 0.55s forwards;
}
.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--accent);
}
.hero-meta span { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.hero-visual {
  position: relative;
  opacity: 0;
  animation: fadeScale 0.8s var(--ease) 0.3s forwards;
}
.hero-visual img {
  width: 100%;
  height: clamp(420px, 72vh, 680px);
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: -12px -12px 12px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  z-index: -1;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeScale {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* ── Trust strip ── */
.trust {
  padding: 2rem 0;
  border-block: 1px solid var(--border);
  background: var(--bg-elevated);
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); }
.trust-logos { display: flex; gap: 2.5rem; align-items: center; flex-wrap: wrap; }
.trust-logos span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ── Section common ── */
.section { padding: var(--section-pad) 0; }
.section-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 520px;
}

/* ── Bento ── */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.bento-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
}
.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(47, 79, 69, 0.15);
}
.bento-card.span-7 { grid-column: span 7; min-height: 380px; }
.bento-card.span-5 { grid-column: span 5; min-height: 380px; }
.bento-card.span-4 { grid-column: span 4; min-height: 280px; }
.bento-card.span-8 { grid-column: span 8; min-height: 280px; }
.bento-card.span-6 { grid-column: span 6; min-height: 300px; }
.bento-card.span-3 { grid-column: span 3; min-height: 220px; }
.bento-card.has-img { position: relative; padding: 0; }
.bento-card.has-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  min-height: inherit;
  transition: transform 0.7s var(--ease);
}
.bento-card.has-img:hover img { transform: scale(1.05); }
.bento-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,20,19,0.75) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.8rem;
  color: #fff;
}
.bento-overlay h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
.bento-overlay p { font-size: 0.88rem; opacity: 0.85; margin-top: 0.3rem; }
.bento-stat {
  padding: 2rem;
  display: flex; flex-direction: column; justify-content: center;
}
.bento-stat strong {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
}
.bento-stat span { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.5rem; }
.bento-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid; place-items: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.bento-text { padding: 2rem; }
.bento-text h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 0.5rem; }
.bento-text p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ── Sticky experience ── */
.experience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.experience-left {
  display: flex;
  flex-direction: column;
}
.experience-steps { display: flex; flex-direction: column; gap: 0; }
.experience-step {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0;
  opacity: 0.35;
  transition: opacity 0.6s var(--ease);
}
.experience-step.active { opacity: 1; }
.experience-step h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}
.experience-step p { color: var(--text-muted); line-height: 1.8; max-width: 400px; }
.experience-visual {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  height: calc(100vh - var(--header-h) - 4rem);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.experience-visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
}
.experience-visual img.active {
  opacity: 1;
  transform: scale(1);
}

/* ── Gallery mosaic ── */
.gallery-mosaic {
  columns: 3;
  column-gap: 1rem;
  margin-top: 3rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after {
  content: "⊕";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(20,20,19,0.35);
  color: #fff;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery-item:hover::after { opacity: 1; }

/* ── Stats ── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 3rem;
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  color: #fff;
}
.stat-item { text-align: center; padding: 1rem; }
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 400;
  color: var(--champagne);
  line-height: 1;
}
.stat-item span { font-size: 0.8rem; opacity: 0.65; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.6rem; display: block; }

/* ── Reviews ── */
.reviews-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0 2rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.reviews-scroll::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 min(380px, 85vw);
  scroll-snap-align: start;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.review-stars { color: var(--champagne); font-size: 0.9rem; margin-bottom: 1rem; }
.review-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.review-author { display: flex; align-items: center; gap: 1rem; }
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent);
}
.review-author strong { display: block; font-size: 0.9rem; }
.review-author span { font-size: 0.78rem; color: var(--text-muted); }

/* ── CTA ── */
.cta-block {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}
.cta-block img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.cta-block::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,20,19,0.85), rgba(20,20,19,0.45));
}
.cta-content { position: relative; z-index: 1; color: #fff; max-width: 560px; }
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1rem;
}
.cta-content p { opacity: 0.85; margin-bottom: 2rem; line-height: 1.75; }
.cta-content .btn-primary { background: #fff; color: var(--accent); }

/* ── Footer ── */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.75);
  padding: 5rem 0 2rem;
  margin-top: var(--section-pad);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand .logo { color: #fff; margin-bottom: 1rem; display: inline-block; }
.footer-brand p { font-size: 0.9rem; line-height: 1.75; opacity: 0.65; max-width: 280px; }
.footer-col h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--champagne);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { font-size: 0.88rem; opacity: 0.7; transition: opacity 0.3s; }
.footer-col a:hover { opacity: 1; }
.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 400;
  color: rgba(255,255,255,0.04);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 2rem 0;
  user-select: none;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Lightbox ── */
.lightbox {
  position: fixed; inset: 0;
  z-index: 5000;
  background: rgba(20,20,19,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ── Legal / pages ── */
.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 3rem;
  border-bottom: 1px solid var(--border);
}
.legal-page { padding: 2rem 0 4rem; max-width: 760px; }
.legal-page h2 { font-family: var(--font-display); color: var(--accent); margin: 2rem 0 0.8rem; font-size: 1.2rem; }
.legal-page p, .legal-page li { color: var(--text-muted); margin-bottom: 0.8rem; font-size: 0.95rem; line-height: 1.75; }
.legal-meta { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.06em; margin-bottom: 0.5rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2rem 0 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.legal-nav a { font-size: 0.8rem; padding: 0.45rem 1rem; border: 1px solid var(--border); border-radius: 100px; color: var(--text-muted); transition: all 0.3s; }
.legal-nav a:hover, .legal-nav a.active { border-color: var(--accent); color: var(--accent); }
.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.85rem; }
.legal-table th, .legal-table td { border: 1px solid var(--border); padding: 0.65rem; text-align: left; color: var(--text-muted); }
.legal-table th { background: var(--bg-elevated); color: var(--text); }

/* ── Mobile menu ── */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 2000;
  background: var(--bg);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text);
}
.mobile-menu-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 1.2rem;
  cursor: pointer;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 2rem); }
  .hero-visual { order: -1; }
  .hero-visual img { height: 50vh; }
  .bento-card.span-7, .bento-card.span-5, .bento-card.span-8,
  .bento-card.span-6, .bento-card.span-4, .bento-card.span-3 { grid-column: span 12; min-height: 260px; }
  .experience { grid-template-columns: 1fr; }
  .experience-left { order: 2; }
  .experience-sticky { position: static; }
  .experience-visual {
    position: relative;
    top: auto;
    height: 50vh;
    order: -1;
    margin-bottom: 2rem;
  }
  .experience-step { min-height: auto; padding: 1.5rem 0; opacity: 1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery-mosaic { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .header .btn-primary { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .stats { grid-template-columns: 1fr 1fr; padding: 2rem 1.5rem; }
  .gallery-mosaic { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-inner { justify-content: center; text-align: center; }
}
