@font-face { font-family: 'Cormorant Garamond'; font-weight: 300; font-display: swap; src: url('/fonts/cormorant-300.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 300; font-display: swap; unicode-range: U+0370-03FF; src: url('/fonts/greek-300.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-display: swap; src: url('/fonts/cormorant-500.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 300; font-display: swap; src: url('/fonts/dmsans-300.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-display: swap; src: url('/fonts/dmsans-500.woff2') format('woff2'); }

:root {
  --forest: #2D3E2D;
  --grey-green: #656B63;   /* 5.1:1 on the background: readable without glasses */
  --bg: #F6F8F4;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--forest);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--forest); color: var(--bg); }
a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }

/* ============ HERO ============ */
.hero {
  height: 100vh;
  height: 100svh;
  min-height: 420px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #1e261c;
  background-image: url('/bg.jpg');
  background-size: cover;
  background-position: center 40%;
}
.hero::after { content: ''; position: absolute; inset: 0; background: rgba(12, 18, 10, 0.55); }
.hero-content { position: relative; z-index: 1; text-align: center; padding: 3rem 2rem; max-width: 92vw; }
.hero-quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(0.95rem, min(5.4vw, 5.5vh), 4.2rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3), 0 1px 4px rgba(0,0,0,0.2);
}
.hero-line2 { white-space: nowrap; }

/* ============ CONTENT ============ */
/* main + footer together: tall enough that, fully scrolled, no part of the quote stays in view */
.sheet { min-height: 64vh; min-height: 64svh; display: flex; flex-direction: column; }
.sheet .site-footer { margin-top: auto; }
.content {
  display: flex;
  flex-direction: column;
  padding: clamp(3rem, 6vh, 5rem) clamp(1.5rem, 5vw, 4rem) 0;
  text-align: center;
}
.content-method {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(0.8rem, 0.55rem + 0.55vw, 1.3rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--forest);
}
.content-subline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1rem, 0.7rem + 0.7vw, 1.55rem);
  color: var(--grey-green);
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
  margin-bottom: 9rem;
}
.content-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 1rem + 1vw, 2.4rem);
  color: var(--forest);
  letter-spacing: 0.02em;
  margin-bottom: 1.2rem;
}
.content-email {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(0.88rem, 0.6rem + 0.35vw, 1.05rem);
  letter-spacing: 0.06em;
  color: var(--grey-green);
  min-height: 1.4em;
}

/* ============ FOOTER ============ */
.site-footer {
  text-align: center;
  padding: clamp(6rem, 16vh, 9rem) 1.5rem calc(1.6rem + env(safe-area-inset-bottom, 0px));
}
.footer-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--grey-green); margin: 0 auto; opacity: 0.35; }
.footer-place {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.05rem, 0.8rem + 0.3vw, 1.25rem);
  letter-spacing: 0.04em;
  color: var(--grey-green);
  margin-top: 1.1rem;
}
.footer-links {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(0.62rem, 0.5rem + 0.15vw, 0.72rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-green);
  margin-top: 0.9rem;
}
.footer-links .sep { margin: 0 0.6em; opacity: 0.6; }

/* ============ TEXT PAGES (Impressum, 404) ============ */
.page {
  max-width: 34rem;
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 5rem) 1.5rem 0;
}
.page-home {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: clamp(3rem, 8vh, 5rem);
}
.page h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 4vw, 2rem);
  letter-spacing: 0.02em;
  margin-bottom: 2.2rem;
}
.page h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 2.6rem 0 0.9rem;
}
.page p, .page li {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #3d4a3d;
}
.page p + p { margin-top: 0.9rem; }
.page ul { list-style: none; }
.page .stand { margin-top: 2.6rem; font-size: 0.78rem; color: var(--grey-green); }
.page-center { text-align: center; }
.nowrap { white-space: nowrap; }
mark.todo { background: #fff3b0; color: #6b4f00; padding: 0 0.2em; }

/* ============ SMALL SCREENS ============ */
@media (max-width: 640px) {
  .hero { background-image: url('/bg-mobile.jpg'); background-position: center; }
  .hero-content { padding: 2.5rem 1.5rem; }
}
@media (max-width: 380px) { .content-method { font-size: 0.7rem; letter-spacing: 0.22em; } }
@media (max-width: 300px) { .content-method { font-size: 0.62rem; letter-spacing: 0.14em; } }
/* the English title is one letter longer */
@media (max-width: 640px) { html[lang="en"] .content-method { letter-spacing: 0.2em; } }
@media (max-width: 380px) { html[lang="en"] .content-method { letter-spacing: 0.15em; } }
@media (max-width: 300px) { html[lang="en"] .content-method { letter-spacing: 0.08em; } }

@media print {
  .hero { height: auto; min-height: 0; background: none; }
  .hero::after { display: none; }
  .hero-quote { color: #000; text-shadow: none; }
  .page-center { text-align: center; }
.nowrap { white-space: nowrap; }
mark.todo { background: none; }
}
