/* base.css — Reset, Typografie, Bausteine */

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

.ic {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  margin-right: 0.4em;
}

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

a:hover {
  color: var(--primary-deep);
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

::selection {
  background: var(--lav-soft);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Layout */

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

.section {
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.section--tint {
  background: var(--surface);
  border-block: 1px solid var(--line-soft);
}

.section--wash {
  background: var(--lav-wash);
  border-block: 1px solid var(--line-soft);
}

.section__head {
  max-width: 40rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.9rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 3.9rem);
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

h3 {
  font-size: 1.15rem;
  line-height: 1.3;
}

.section__head p,
.lead {
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.section__head p {
  margin-top: 1rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn svg {
  width: 1em;
  height: 1em;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--primary-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  border-color: var(--lavender-soft);
  background: var(--surface);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}

/* Footer */

.footer {
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
  padding-block: 3rem 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}

.footer p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer a {
  color: var(--ink-soft);
}

.footer a:hover {
  color: var(--primary);
}

.footer__list li {
  margin-bottom: 0.5rem;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line-soft);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.footer__legal {
  display: flex;
  gap: 1.4rem;
}

/* Formular */

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.field label .req {
  color: var(--primary);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-faint);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lavender);
  box-shadow: 0 0 0 3px rgba(143, 149, 236, 0.18);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.check input {
  margin-top: 0.25rem;
  accent-color: var(--primary);
  width: 1rem;
  height: 1rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-top: 1rem;
}

.form-status {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.form-status--ok {
  display: block;
  background: var(--lav-wash);
  border: 1px solid var(--lav-soft);
  color: var(--primary-deep);
}

/* Skip-Link */

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}

.skip:focus {
  left: 0;
}

/* Bewegung reduzieren */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
