/* DM Sans – latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans – latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* DM Serif Display – regular, latin-ext */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/dm-serif-display-regular-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Serif Display – regular, latin */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/dm-serif-display-regular-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* DM Serif Display – italic, latin-ext */
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/dm-serif-display-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Serif Display – italic, latin */
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/dm-serif-display-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --accent: #D47118;
  --accent-soft: #e6c6aa;
  --ink: #18170F;
  --ink-2: #4A4740;
  --ink-3: #9A9690;
  --rule: #E8E6E1;
  --bg: #FEFCFA;
  --bg-2: #FAF9F7;
  --bg-3: #EDEBE7;
}

.skip-link {
  position: absolute; top: -100%; left: 1rem;
  padding: 0.5rem 1rem; background: var(--ink); color: var(--bg);
  font-size: 14px; text-decoration: none; z-index: 200; border-radius: 6px;
}
.skip-link:focus { top: 0.5rem; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg) url(img/noise-texture.png) repeat;
  -webkit-font-smoothing: antialiased;
}

nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(254,252,250,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 3.5rem);
  height: 58px;
}

.logo {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500; font-size: 15px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.logo em { font-style: normal; color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 2.5rem; }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 13px; font-weight: 400; letter-spacing: 0.02em;
  color: var(--ink-2); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

.lang-switch { display: flex; }
.lang-switch button {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
  background: none; border: none; cursor: pointer;
  color: var(--ink-3); padding: 4px 10px;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.lang-switch button.active { color: var(--ink); border-bottom-color: var(--accent); }

.wrap { max-width: 780px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 3.5rem); }

[data-lang] { display: none; }
body.lang-de [data-lang="de"] { display: block; }
body.lang-en [data-lang="en"] { display: block; }
[data-lang-i] { display: none; }
body.lang-de [data-lang-i="de"],
body.lang-en [data-lang-i="en"] { display: inline; }

footer {
  border-top: 1px solid var(--rule);
  padding: 1.5rem clamp(1.5rem, 5vw, 3.5rem);
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--ink-3);
}
footer a { color: var(--ink-3); text-decoration: none; }
footer a:hover { color: var(--ink-2); }

@media (max-width: 860px) {
  .nav-links { display: none; }
}
