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

:root {
  --bg: #F5EFE6;
  --bg-warm: #EDE3D2;
  --sand: #E8DCC4;
  --ink: #1A1A1A;
  --ink-soft: #2A2A2A;
  --muted: #6B6357;
  --gold: #B8935A;
  --gold-light: #C9A66B;
  --dark: #2C3A2E;
  --line: rgba(26,26,26,0.12);
  --line-soft: rgba(26,26,26,0.08);
  --line-light: rgba(245,239,230,0.18);
  --font-serif: 'Fraunces', 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --max: 1440px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans); background: var(--bg); color: var(--ink);
  line-height: 1.55; font-size: 16px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
section { scroll-margin-top: 90px; }
::selection { background: var(--gold); color: var(--bg); }

.italic { font-style: italic; }
.eyebrow {
  font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.24em; font-weight: 500;
  color: var(--muted); display: inline-block;
}
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

.img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--sand);
}

/* HEADER */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.5rem 0; transition: all 0.4s var(--ease);
  background: transparent;
}
.header.scrolled {
  background: rgba(245, 239, 230, 0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.header.solid {
  background: rgba(245, 239, 230, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: flex; justify-content: space-between; align-items: center; gap: 2rem;
}
.logo {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500;
  letter-spacing: -0.02em; white-space: nowrap;
}
.logo .dot { color: var(--gold); }
.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; }
.nav-links a {
  font-size: 0.875rem; font-weight: 400;
  position: relative; padding: 0.25rem 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--gold); transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { font-weight: 500; color: var(--ink); }
.lang {
  display: flex; gap: 0.4rem; font-size: 0.7rem; letter-spacing: 0.1em;
  margin-left: 0.5rem; padding-left: 1.25rem; border-left: 1px solid var(--line);
}
.lang button { opacity: 0.4; transition: opacity 0.2s; padding: 0.25rem 0.1rem; }
.lang button.active { opacity: 1; font-weight: 600; }
.lang button:hover { opacity: 1; }
.lang-sep { opacity: 0.3; user-select: none; }
.burger { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; z-index: 110; }
.burger span {
  width: 26px; height: 1.5px; background: var(--ink);
  transition: all 0.3s; transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .lang { display: none; }
}
.mobile-nav {
  position: fixed; inset: 0; background: var(--bg); z-index: 99;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 1.5rem; opacity: 0; pointer-events: none;
  transform: translateY(-20px); transition: all 0.4s var(--ease);
}
.mobile-nav.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.mobile-nav a {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 6vw, 2.5rem); letter-spacing: -0.02em;
}
.mobile-lang {
  margin-top: 1.5rem; display: flex; gap: 0.5rem;
  font-size: 0.8rem; letter-spacing: 0.15em;
}
.mobile-lang button {
  padding: 0.5rem 0.75rem; border: 1px solid var(--line);
  border-radius: 999px; opacity: 0.5; transition: all 0.2s;
}
.mobile-lang button.active { opacity: 1; background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  border: 1px solid var(--ink); border-radius: 999px;
  font-size: 0.825rem; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 500;
  background: transparent; color: var(--ink);
  transition: all 0.35s var(--ease);
  white-space: nowrap; align-self: flex-start;
}
.btn:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.3s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-light { border-color: var(--bg); color: var(--bg); }
.btn-light:hover { background: var(--bg); color: var(--ink); }
.btn-filled { background: var(--ink); color: var(--bg); }
.btn-filled:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-lg { padding: 1.25rem 2.5rem; font-size: 0.9rem; letter-spacing: 0.12em; }

/* SECTIONS BASE */
.section { padding: clamp(5rem, 11vw, 8rem) 0; position: relative; }
.section-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center;
}
.section-grid.reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .section-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .section-grid.reverse > :first-child { order: 0; }
}
.section-content { position: relative; min-width: 0; }
.section-content .eyebrow { margin-bottom: 1.5rem; }
.section-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  line-height: 1.05; font-weight: 400;
  letter-spacing: -0.025em;
  margin: 0 0 1.75rem;
}
.section-headline .italic { color: var(--gold); font-weight: 300; }
.section-text {
  font-size: clamp(0.95rem, 1.05vw, 1.0625rem);
  line-height: 1.75; color: var(--ink-soft); max-width: 34rem;
}
.section-text + .section-text { margin-top: 1.25rem; }
.section-image-wrap {
  aspect-ratio: 4/5; overflow: hidden;
  position: relative; background: var(--sand);
}
.section-image {
  position: absolute; inset: 0;
  transition: transform 1.2s var(--ease);
}
.section-image-wrap:hover .section-image { transform: scale(1.04); }

/* FOOTER */
.footer {
  background: var(--ink); color: var(--bg);
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem); margin-bottom: 4rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.75rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo { display: inline-block; margin-bottom: 1.25rem; }
.footer-tagline {
  font-size: 0.9rem; color: rgba(245,239,230,0.6);
  line-height: 1.65; max-width: 20rem;
}
.footer-col h4 {
  font-size: 0.7rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 1.25rem; font-weight: 500;
}
.footer-col p, .footer-col a {
  font-size: 0.9rem; color: rgba(245,239,230,0.7);
  line-height: 2; display: block; transition: color 0.2s;
}
.footer-col a:hover { color: var(--bg); }
.footer-bottom {
  border-top: 1px solid var(--line-light); padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1.25rem;
  font-size: 0.75rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(245,239,230,0.45);
}
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--gold-light); }

/* ANIMATIONS */
.fade-up {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.reveal-img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.4s var(--ease);
}
.reveal-img.visible { clip-path: inset(0 0 0 0); }
.scale-in {
  transform: scale(1.15);
  transition: transform 1.6s var(--ease);
}
.scale-in.visible { transform: scale(1); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal-img { clip-path: inset(0 0 0 0); }
  .scale-in { transform: scale(1); }
}


.about-hero {
  padding-top: clamp(7rem, 14vw, 10rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.about-img-wrap {
  aspect-ratio: 4/5; overflow: hidden;
  position: relative; background: var(--sand);
  border-radius: 2px;
}
.about-img { position: absolute; inset: 0; }
.about-content { padding-top: 1rem; }
.about-content .eyebrow { margin-bottom: 1.25rem; display: block; }
.about-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1; font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.about-headline .italic { color: var(--gold); font-weight: 300; }
.about-text {
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  line-height: 1.8; color: var(--ink-soft);
  max-width: 36rem;
}
.about-text + .about-text { margin-top: 1.25rem; }
.about-tagline {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--gold); margin: 2.5rem 0 2rem;
  letter-spacing: -0.01em;
}
.about-values {
  margin: clamp(4rem, 8vw, 6rem) 0 0;
  padding-top: clamp(3rem, 6vw, 4rem);
  border-top: 1px solid var(--line);
}
.about-values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  max-width: 64rem; margin: 2rem auto 0;
}
@media (max-width: 800px) {
  .about-values-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.about-value h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.75vw, 1.5rem);
  font-weight: 400; letter-spacing: -0.015em;
  margin-bottom: 0.875rem; line-height: 1.2;
}
.about-value h3 .italic { color: var(--gold); }
.about-value p {
  font-size: 0.95rem;
  line-height: 1.65; color: var(--ink-soft);
}
.about-values-head {
  text-align: center; max-width: 36rem;
  margin: 0 auto;
}
.about-values-head .eyebrow { margin-bottom: 1.25rem; display: block; }
.about-values-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 400; letter-spacing: -0.025em;
  line-height: 1.1;
}
.about-values-head h2 .italic { color: var(--gold); }

.img-hostel { background-image: image-set(url('/berlin/images/img-hostel.webp') type('image/webp'), url('/berlin/images/img-hostel.jpg') type('image/jpeg')) }
