@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Inter:wght@400;500;600&display=swap');
@import './variables.css';

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
}

/* Typografie */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--color-text);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: var(--sp-4); }
h2 { font-size: clamp(1.3rem, 3vw, 1.9rem);  margin-bottom: var(--sp-3); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); margin-bottom: var(--sp-2); }
h4 { font-size: 1rem; margin-bottom: var(--sp-2); }

p { margin-bottom: var(--sp-3); }

a {
  color: var(--color-link);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color var(--transition), text-decoration-color var(--transition);
}
a:hover {
  color: var(--color-link-hover);
  text-decoration-color: var(--color-link-hover);
}

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

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.page-content {
  padding: var(--sp-6) 0;
}

/* Trennlinie */
hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--sp-5) 0;
}

/* Utility */
.text-muted  { color: var(--color-text-muted); }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
