/* css/legal.css — shared shell for Impressum, Datenschutz, Kontakt */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background: #faf9f5;
  color: #1b1c19;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.legal-topbar {
  background: #ffffff;
  border-bottom: 1px solid rgba(187, 195, 187, 0.25);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
}

.legal-topbar__back {
  font-size: 12px;
  color: #6c7b6d;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.02em;
}
.legal-topbar__back:hover { color: #006d37; }
.legal-topbar__back::before { content: "←"; }

.legal-topbar__brand {
  font-family: 'Bebas Neue', cursive;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: #1b1c19;
  text-decoration: none;
}

.legal-content {
  flex: 1;
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
  padding: 40px 24px 48px;
}

.legal-eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6c7b6d;
  margin-bottom: 8px;
  font-weight: 500;
}

.legal-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2rem, 8vw, 3rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: #1b1c19;
  margin-bottom: 8px;
}

.legal-subtitle {
  font-size: 14px;
  color: #43493f;
  margin-bottom: 32px;
  line-height: 1.6;
}

.legal-body { font-size: 14px; color: #43493f; line-height: 1.7; }
.legal-body h2 { font-size: 16px; font-weight: 700; color: #1b1c19; margin: 24px 0 8px; }
.legal-body p  { margin-bottom: 12px; }
.legal-body a  { color: #006d37; }

.legal-form { display: flex; flex-direction: column; gap: 18px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6c7b6d;
}

.form-input {
  background: #e8e7e2;
  border: none;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #1b1c19;
  outline: none;
  width: 100%;
}
.form-input::placeholder { color: #9ca89c; }
.form-input:focus { box-shadow: 0 0 0 2px rgba(64, 198, 179, 0.4); }

textarea.form-input { resize: vertical; min-height: 110px; line-height: 1.6; }

.form-submit {
  background: linear-gradient(135deg, #006d37 0%, #40c6b3 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: opacity 0.2s;
}
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-feedback {
  font-size: 13px;
  border-radius: 8px;
  padding: 12px 14px;
  display: none;
}
.form-feedback.success { background: #e8f5ef; color: #006d37; display: block; }
.form-feedback.error   { background: #fdf0dc; color: #695c4e; display: block; }

.legal-footer {
  background: #faf9f5;
  border-top: 1px solid rgba(187, 195, 187, 0.2);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.legal-footer__brand {
  font-size: 10px;
  color: #bbc3bb;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.legal-footer__links {
  display: flex;
  gap: 16px;
}

.legal-footer__links a {
  font-size: 11px;
  color: #6c7b6d;
  text-decoration: none;
  letter-spacing: 0.03em;
}
.legal-footer__links a:hover { color: #40c6b3; }
.legal-footer__links a.active { color: #006d37; font-weight: 500; }
