/* Josefin Sans – self-hosted, DSGVO-konform */
@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/josefin-sans-v34-latin-regular.woff2") format("woff2"),
       url("../fonts/josefin-sans-v34-latin-regular.woff") format("woff");
}
@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/josefin-sans-v34-latin-500.woff2") format("woff2"),
       url("../fonts/josefin-sans-v34-latin-500.woff") format("woff");
}
@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/josefin-sans-v34-latin-600.woff2") format("woff2"),
       url("../fonts/josefin-sans-v34-latin-600.woff") format("woff");
}
@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/josefin-sans-v34-latin-700.woff2") format("woff2"),
       url("../fonts/josefin-sans-v34-latin-700.woff") format("woff");
}

/* Lusitana – self-hosted, DSGVO-konform */
@font-face {
  font-family: "Lusitana";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lusitana-v14-latin-regular.woff2") format("woff2"),
       url("../fonts/lusitana-v14-latin-regular.woff") format("woff");
}
@font-face {
  font-family: "Lusitana";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lusitana-v14-latin-700.woff2") format("woff2"),
       url("../fonts/lusitana-v14-latin-700.woff") format("woff");
}

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

:root {
  --bg: #F0F0F0;
  --text: #1a1a1a;
  --muted: #666666;
  --accent: #6f7c96;
  --border: #B1B1B1;
  --radius: 14px;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  --font-sans: "Josefin Sans", sans-serif;
  --font-serif: "Lusitana", Georgia, serif;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: linear-gradient(to bottom, #EFF1FE 0%, var(--bg) 400px);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(circle at 10% 90%, rgba(231, 154, 90, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 90% 50%, rgba(180, 170, 200, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 50% 66%, rgba(200, 180, 160, 0.12) 0%, transparent 45%),
    linear-gradient(135deg, rgba(241, 227, 207, 0.3), rgba(217, 214, 207, 0.3));
  filter: blur(80px);
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 3.5rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 16px;
  }
}
