:root {
  --bg: #0c0d0e;
  --bg-2: #111214;
  --bg-3: #161719;
  --text: #e6e1d8;
  --text-muted: #8a8680;
  --gold: #b49a6a;
  --gold-pale: #d4c09a;
  --rule: rgba(180, 154, 106, 0.2);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 60px;
  background: linear-gradient(to bottom, rgba(12, 13, 14, 0.95) 0%, transparent 100%);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gold-pale);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a[aria-current="page"] {
  color: var(--gold);
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 60%, rgba(180, 154, 106, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.2s forwards;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 82px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.03em;
  line-height: 1.1;
  color: var(--text);
  opacity: 0;
  animation: fadeUp 1s ease 0.4s forwards;
}

.hero-name span {
  font-style: normal;
  font-weight: 400;
}

.hero-rule {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 40px auto;
  opacity: 0;
  animation: fadeUp 1s ease 0.7s forwards;
}

.hero-sub {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 1s ease 1.4s forwards;
}

.hero-scroll span {
  font-size: 8px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out 2s infinite;
}

section {
  padding: 100px 60px;
}

.section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
}

.gegenstand {
  background: var(--bg-2);
}

.gegenstand-text {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 300;
  line-height: 1.75;
  color: var(--text);
  max-width: 760px;
}

.gegenstand-text em {
  font-style: italic;
  color: var(--gold-pale);
}

.felder {
  background: var(--bg-3);
}

.felder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.feld {
  padding: 40px 36px 40px 0;
  border-right: 1px solid var(--rule);
}

.feld:last-child {
  border-right: none;
  padding-right: 0;
}

.feld:not(:first-child) {
  padding-left: 36px;
}

.feld-num {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: rgba(180, 154, 106, 0.18);
  line-height: 1;
  margin-bottom: 20px;
}

.feld-title {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}

.feld-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rule), transparent);
  margin: 0 60px;
}

.page-legal main {
  padding-top: 88px;
  min-height: calc(100vh - 120px);
}

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 60px 100px;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 12px;
}

.legal .legal-meta {
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 48px;
}

.legal h2 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin: 40px 0 16px;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
}

.legal h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal h3 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-pale);
  margin: 28px 0 12px;
}

.legal h3:first-of-type {
  margin-top: 16px;
}

.legal p,
.legal li {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.legal ul {
  margin: 0 0 16px 1.1em;
}

.legal li {
  margin-bottom: 8px;
}

.legal a {
  color: var(--gold-pale);
  text-decoration: none;
  border-bottom: 1px solid rgba(180, 154, 106, 0.35);
  transition: color 0.25s, border-color 0.25s;
}

.legal a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.legal .legal-note {
  font-size: 13px;
  font-style: italic;
  color: rgba(138, 134, 128, 0.85);
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.kontakt {
  background: var(--bg-2);
}

.kontakt-intro {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 56px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 680px;
}

.form-full {
  grid-column: 1 / -1;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(180, 154, 106, 0.25);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  padding: 12px 0;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.form-grid input:focus,
.form-grid textarea:focus {
  border-bottom-color: var(--gold);
}

.form-grid textarea {
  resize: none;
  min-height: 120px;
}

.form-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.btn-submit {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 14px 36px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.btn-submit:hover {
  background: var(--gold);
  color: var(--bg);
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  display: none;
}

.form-note.visible {
  display: block;
}

footer {
  padding: 48px 60px;
  background: var(--bg);
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.footer-copy {
  font-size: 11px;
  color: rgba(138, 134, 128, 0.5);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.15);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  nav {
    padding: 20px 24px;
  }

  .nav-links {
    display: none;
  }

  section {
    padding: 70px 24px;
  }

  .divider {
    margin: 0 24px;
  }

  .felder-grid {
    grid-template-columns: 1fr;
  }

  .feld {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 32px 0;
  }

  .feld:last-child {
    border-bottom: none;
  }

  .feld:not(:first-child) {
    padding-left: 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-full {
    grid-column: 1;
  }

  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 36px 24px;
  }

  body.page-legal .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 16px;
    max-width: 78%;
  }

  .legal {
    padding: 56px 24px 80px;
  }
}
