@import url("./variables.css");

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

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

body {
  margin: 0;
  min-width: 320px;
  font-family: "Segoe UI", Arial, sans-serif;

  /* Hintergrund */
	background-attachment: fixed;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)),
    url("../css/hg-entwurf.jpg");

  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;

  color: var(--text);
  line-height: 1.6;

  transition: background var(--transition-normal), color var(--transition-normal);
}

html.dark-theme body {
  background-image:
    linear-gradient(rgba(15, 17, 21, 0.65), rgba(15, 17, 21, 0.65)),
    url("../css/hg-entwurf.jpg");
}

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

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

a:hover,
a:focus-visible {
  color: var(--secondary);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
  color: var(--strong);
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: var(--space-7) 0;
}

.section-tight {
  padding: var(--space-6) 0;
}

:focus-visible {
  outline: 3px solid var(--highlight);
  outline-offset: 3px;
}

.clean-list {
  margin: 0;
  padding-left: 1.25rem;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}