/* raphaelschoen.net – Seiten Start, Buch, Arbeit, Presse (November 2026).
   Design "Redaktionell" (Instrument Serif + DM Sans) mit den Inhalten aus dem neuen Lebenslauf.
   Impressum, Datenschutz und 404 nutzen weiter site.css. */
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dm-sans.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
:root { --bg:#F6F3EE; --s1:#EDE8E0; --tx:#1A1714; --mu:#6E665D; --bd:#D9D2C8; --ac:#B4400F; --on:#FBF8F3; color-scheme: light; }
:root[data-theme="dark"] { --bg:#141210; --s1:#1F1C19; --tx:#EFEAE3; --mu:#A39A8F; --bd:#3A342E; --ac:#F59A55; --on:#141210; color-scheme: dark; }
:root[data-lang="de"] body [lang="en"], :root[data-lang="en"] body [lang="de"] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--tx); font-family: "DM Sans", system-ui, sans-serif; font-size: 16px; line-height: 1.55; transition: background-color .3s, color .3s; }
.site { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); overflow-wrap: break-word; }
.site a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; height: auto; }
.top { max-width: 1120px; margin: 0 auto; padding: max(20px, env(safe-area-inset-top)) 24px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.home { font-family: "Instrument Serif", serif; font-size: 22px; line-height: 28px; display: inline-flex; align-items: center; min-height: 44px; }
.navlinks { display: flex; gap: 32px; margin-left: auto; }
.navlinks a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; color: var(--mu); }
.navlinks a[aria-current="page"] { color: var(--tx); box-shadow: inset 0 -1.5px 0 var(--ac); }
.switches { display: flex; gap: 8px; align-items: center; }
.lang { display: flex; border: 1px solid var(--bd); border-radius: 999px; padding: 3px; }
.lang button { border: 0; border-radius: 999px; min-width: 44px; height: 38px; font-size: 13px; font-weight: 700; letter-spacing: 1px; background: transparent; color: var(--tx); }
:root[data-lang="de"] .lang [data-set-lang="de"], :root[data-lang="en"] .lang [data-set-lang="en"] { background: var(--tx); color: var(--bg); }
.mode { width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--bd); background: transparent; color: var(--tx); display: flex; align-items: center; justify-content: center; }
.mode .sun { display: none; }
:root[data-theme="dark"] .mode .sun { display: block; }
:root[data-theme="dark"] .mode .moon { display: none; }
.heading-1, .heading-2, .heading-3, .heading-4, .heading-5, .heading-6, .name-xl { font-family: "Instrument Serif", serif; font-weight: 400; margin: 0; text-wrap: balance; }
.name-xl { font-size: clamp(64px, 9vw, 112px); line-height: 1.05; letter-spacing: -2px; }
.heading-1 { font-size: 72px; line-height: 72px; letter-spacing: -1px; }
.heading-2 { font-size: 56px; line-height: 60px; letter-spacing: -1px; }
.heading-3 { font-size: 40px; line-height: 46px; }
.heading-4 { font-size: 36px; line-height: 40px; }
.heading-5 { font-size: 28px; line-height: 32px; }
.heading-6 { font-size: 24px; line-height: 28px; }
.title-1 { font-size: 20px; line-height: 30px; font-weight: 400; margin: 0; text-wrap: pretty; }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; margin: 0; }
.title-4 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-3 { font-size: 16px; line-height: 25px; font-weight: 400; margin: 0; text-wrap: pretty; }
.caption-2 { font-size: 14px; line-height: 20px; font-weight: 400; margin: 0; }
.button-md { font-size: 15px; line-height: 24px; font-weight: 700; }
.btn, .ghost, .navlink, .row { transition: opacity .2s; cursor: pointer; }
.btn:hover, .ghost:hover, .navlink:hover, .row:hover { opacity: .72; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; }
@media (max-width: 640px) {
  .heading-1 { font-size: 46px; line-height: 48px; }
  .heading-2 { font-size: 38px; line-height: 42px; }
  .heading-3 { font-size: 28px; line-height: 34px; }
  .heading-4 { font-size: 30px; line-height: 34px; }
  .title-1 { font-size: 18px; line-height: 28px; }
  .top { padding-left: 20px; padding-right: 20px; }
  .home { margin-right: auto; }
  .navlinks { order: 3; width: 100%; margin-left: 0; gap: 24px; }
  .sec { padding: 32px 20px !important; }
  .tile { padding: 24px !important; }
  /* Startseite am Handy: Foto klein neben dem Namen, damit Name, Zeile und Knopf ohne Scrollen sichtbar sind */
  .hero { display: grid !important; grid-template-columns: 132px minmax(0, 1fr); align-items: center; justify-items: start; gap: 20px !important; padding-top: 24px !important; }
  .hero-text { display: contents !important; }
  .hero-photo { grid-column: 1; grid-row: 1; width: 132px; }
  .hero-photo figcaption { font-size: 11px; line-height: 16px; white-space: nowrap; }
  .hero .name-xl { grid-column: 2; grid-row: 1; font-size: 56px; line-height: 1.02; letter-spacing: -1.5px; align-self: start; margin-top: 8px; }
  .hero-text > :not(.name-xl) { grid-column: 1 / -1; }
}
