/* Schriften lokal statt über Google Fonts (keine IP-Übertragung an Google) */
@font-face {
  font-family: 'Asul';
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/asul-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Asul';
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/asul-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Basic';
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/basic-400.woff2') format('woff2');
}

:root {
  --color-brand: #aa6554;
  --color-ink: #1d1d1b;
  --color-sand: #dec9b4;
  --color-white: #fff;
  --font-serif: 'Asul', Georgia, serif;
  --font-sans: 'Basic', system-ui, sans-serif;

  /* 1 Design-Pixel: skaliert unterhalb von 1920px Breite mit, darüber fix */
  --px: min(1px, 100vw / 1920);
}

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

html, body { margin: 0; }

body {
  background: var(--color-sand);
  color: var(--color-ink);
  font-family: var(--font-serif);
  -webkit-font-smoothing: antialiased;
}

img { display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1em .3em;
  border: 0;
  border-radius: 3px;
  background: var(--color-brand);
  color: var(--color-white);
  font: max(15px, 20 * var(--px)) / 2.1 var(--font-sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: filter .2s;
}

.btn:hover { filter: brightness(1.08); }

.btn:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
