/* Bejm Hermes – Pre-Opening
   Layout-System übernommen aus dem Brand Paper:
   Cover mit Split-Bar, alternierende helle/dunkle Sektionen,
   Section-Label-Eyebrows, Signet als Inline-SVG. */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-latin-300-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/inter-latin-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-latin-400-normal.woff2') format('woff2');
}

:root {
  --basalt: #1A1917;
  --dach: #3E3B38;
  --mittel: #7A7167;
  --eifelgruen: #4A5C42;
  --vulkanasche: #9E8A72;
  --rauhputz: #EDEAE2;
  --hell: #F7F5F0;

  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mass: clamp(1.5rem, 5vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--hell);
  color: var(--basalt);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ---------- Signet (Inline-SVG, wie im Brand Paper) ---------- */

.signet { display: block; }

/* ---------- Cover / Hero ---------- */

.cover {
  background: var(--basalt);
  color: var(--rauhputz);
  padding: clamp(2rem, 6vw, 3.5rem) var(--mass) clamp(3rem, 10vw, 5rem);
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background-image:
    linear-gradient(rgba(20,19,17,0.62), rgba(20,19,17,0.62)),
    url('/img/hero.webp');
  background-size: cover;
  background-position: 62% 45%;
}

.cover-top {
  display: flex;
  justify-content: flex-end;
}

.cover-mitte {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2rem, 6vw, 3rem);
}

/* ---------- Sprachumschalter ---------- */

.sprachen {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sprache-aktiv { color: var(--rauhputz); }

.sprache-link {
  color: var(--vulkanasche);
  text-decoration: none;
}

.sprache-link:hover { color: var(--rauhputz); }

.sprache-bald {
  color: var(--vulkanasche);
  opacity: 0.55;
  cursor: default;
}

.sprachen .trenner {
  color: var(--vulkanasche);
  opacity: 0.55;
  margin: 0 0.35em;
}

.lockup {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.lockup .signet { flex-shrink: 0; }

.lockup-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.05rem + 0.6vw, 1.4rem);
  letter-spacing: 0.06em;
  color: var(--rauhputz);
  line-height: 1.2;
}

.lockup-ort {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vulkanasche);
  margin-top: 0.3rem;
}

.headline {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 1.2rem + 3.2vw, 3rem);
  line-height: 1.22;
  letter-spacing: -0.005em;
  margin: 0;
  max-width: 18ch;
  text-wrap: balance;
}

/* Unter 640px: ganzes Foto zeigen statt anschneiden (das Wort HERMES
   spannt fast die volle Bildbreite, cover wuerde es auf einen Streifen
   reduzieren). Bild unten buendig, Basalt sammelt sich nur oben - passt
   optisch zum Signet, das dort ohnehin auf Basalt sitzt. */
@media (max-width: 640px) {
  .cover {
    min-height: 48vh;
    background-size: 100% 100%, contain;
    background-position: center, center bottom;
    background-repeat: no-repeat, no-repeat;
  }
  /* Lockup fest oben auf Basalt, Headline fest unten aufs Foto -
     statt beide als Gruppe zu zentrieren, wo die Mitte zufaellig
     auf der Bild-/Basaltkante landen kann und die Headline zerreisst. */
  .cover-mitte {
    justify-content: space-between;
  }
}

/* Sehr schmale Screens (iPhone SE & aehnlich, ~320px): Die Fotohoehe
   skaliert mit der Viewport-BREITE (background-size: contain), nicht
   mit min-height - bei 320px bleibt daher weniger Fotoflaeche fuer die
   Headline als bei 390px. Zusaetzlich frisst das untere Cover-Padding
   vom nutzbaren Textbereich mit, weil das Bild bis an die Box-Kante
   inkl. Padding malt, der Text (Content-Box) aber davor aufhoert -
   effektiv weniger Platz als die reine Bildhoehe vermuten laesst.
   Padding-unten reduzieren + Schrift kleiner, damit die Headline sicher
   innerhalb des Fotos bleibt statt ins Basalt zu ragen. */
@media (max-width: 380px) {
  .cover {
    padding-bottom: 1.25rem;
  }
  .headline {
    font-size: 1.35rem;
    line-height: 1.15;
  }
}


/* Split-Bar: Sockel/Rauhputz-Metapher aus dem Brand Paper */
.split-bar {
  height: 6px;
  background: linear-gradient(to right, var(--basalt) 50%, var(--rauhputz) 50%);
}

/* ---------- Sektionen ---------- */

.section {
  padding: clamp(2.75rem, 8vw, 4.5rem) var(--mass);
}

.section--hell { background: var(--hell); color: var(--basalt); }
.section--dach { background: var(--dach); color: var(--rauhputz); }
.section--basalt { background: var(--basalt); color: var(--rauhputz); }

.section-inner { max-width: 38rem; }

.section-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--vulkanasche);
  margin-bottom: 1.1rem;
}

.section--dach .section-label,
.section--basalt .section-label {
  color: rgba(158, 138, 114, 0.85);
}

.section h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
  line-height: 1.25;
  margin: 0 0 1.25rem;
}

.section p {
  margin: 0 0 1.1em;
  max-width: 34rem;
}

.section--hell p { color: var(--dach); }
.section--dach p,
.section--basalt p { color: rgba(237, 234, 226, 0.88); }

/* ---------- Ausstattungs-Liste ---------- */

.liste {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 34rem;
  columns: 2;
  column-gap: 2.5rem;
}

.liste li {
  position: relative;
  padding-left: 1.1em;
  margin-bottom: 0.65em;
  break-inside: avoid;
  font-size: 0.92rem;
}

.liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background: var(--vulkanasche);
}

/* ---------- Eckdaten ---------- */

.eckdaten {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(7rem, max-content) 1fr;
  gap: 0.35rem 1.75rem;
  font-size: 0.95rem;
  max-width: 30rem;
}

.eckdaten dt {
  color: var(--vulkanasche);
  font-weight: 400;
}

.eckdaten dd {
  margin: 0;
  color: var(--rauhputz);
}

/* ---------- Kontakt ---------- */

.kontakt-block { margin-top: 2rem; }

.kontakt-block a {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  text-decoration: underline;
  text-decoration-color: var(--vulkanasche);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 160ms ease;
}

.kontakt-block a:hover { text-decoration-color: var(--rauhputz); }

a:focus-visible {
  outline: 2px solid var(--vulkanasche);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ---------- Fuß ---------- */

.fuss {
  padding: 1.5rem var(--mass) 2.25rem;
  background: var(--basalt);
  font-size: 0.82rem;
  color: var(--mittel);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  align-items: baseline;
  border-top: 1px solid rgba(237, 234, 226, 0.1);
}

.fuss .sprachen { margin-left: auto; }

.fuss a { color: var(--mittel); text-decoration: underline; text-decoration-color: rgba(122,113,103,.5); text-underline-offset: 0.2em; }
.fuss a:hover { color: var(--rauhputz); }

/* ---------- Rechtsseiten ---------- */

.recht {
  padding: clamp(2.5rem, 8vw, 4rem) var(--mass);
  max-width: 38rem;
  background: var(--hell);
  color: var(--basalt);
}

.recht h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  margin: 0 0 1.5rem;
}

.recht h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
}

.recht p { color: var(--dach); margin: 0 0 1.1em; max-width: 34rem; }
.recht address { font-style: normal; margin-bottom: 1.25em; color: var(--dach); }

.recht-kopf {
  background: var(--basalt);
  padding: clamp(1.5rem, 5vw, 2.25rem) var(--mass);
}

.zurueck {
  display: inline-block;
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: var(--mittel);
  text-decoration: underline;
  text-decoration-color: var(--vulkanasche);
}

.platzhalter {
  background: rgba(158, 138, 114, 0.16);
  color: var(--vulkanasche);
  padding: 0.05em 0.35em;
  border-radius: 2px;
}

@media (max-width: 640px) {
  .liste { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
