/* ───────────────── Tokens ───────────────── */
:root {
  --paper: #f7f5f0;
  --logo: #3e6b52;
  --green: #5a9b75;
  --mid: #3a5030;
  --ink: #0d150e;
  --white: #ffffff;
  --line: rgba(13, 21, 14, 0.1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--mid);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ───────────────── Hero ───────────────── */
.hero {
  min-height: 100vh;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 80px 32px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.logo__mark { width: 48px; height: 48px; }

.logo__name {
  margin: 0;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.8px;
  line-height: 1.15;
  color: var(--logo);
}

.hero__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 900px;
}

.hero__title {
  margin: 0;
  width: 100%;
  font-size: clamp(34px, 8vw, 72px);
  line-height: 1.05;
  display: flex;
  flex-direction: column;
}

.hero__title-dark { font-weight: 900; color: var(--logo); }
.hero__title-green { font-weight: 700; color: var(--green); }

.hero__sub {
  margin: 0;
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.8;
  color: var(--mid);
}

.hero__scroll {
  display: inline-flex;
  padding: 8px;
  animation: bob 2.2s ease-in-out infinite;
}
.hero__scroll img { width: 22px; height: 22px; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ───────────────── Info / Über uns ───────────────── */
.info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.info__foto {
  position: relative;
  overflow: hidden;
  aspect-ratio: 720 / 792;
}

.info__foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.info__text {
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  padding: 80px 64px;
}

.eyebrow {
  margin: 0;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 2.2px;
  color: var(--green);
}

.info__title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.12;
  letter-spacing: -1.2px;
  color: var(--logo);
}

.info__rule {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: var(--green);
}

.info__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--mid);
  max-width: 46ch;
}

/* ───────────────── Kontakt ───────────────── */
.kontakt {
  background: var(--paper);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  padding: 160px 52px;
}

.kontakt__inner {
  width: 100%;
  max-width: 616px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.kontakt__title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(36px, 6vw, 48px);
  letter-spacing: -1.92px;
  line-height: 1.08;
  color: var(--logo);
}

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

.field { display: flex; flex-direction: column; gap: 8px; }

.field__label {
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--mid);
}

.field__input {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid var(--line);
  background: transparent;
  padding: 12px 0;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.18s ease;
}

.field__input::placeholder { color: rgba(13, 21, 14, 0.28); }
.field__input:focus { outline: none; border-bottom-color: var(--green); }
.field__textarea { resize: vertical; min-height: 48px; }

.submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 3px;
  padding: 15px 32px;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.04px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.submit:hover { background: #4e8a66; }
.submit:active { transform: translateY(1px); }
.submit img { width: 14px; height: 14px; }

/* ───────────────── Footer ───────────────── */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 52px;
  font-size: 11px;
}

.footer__links { display: flex; gap: 24px; }

.footer__link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.66px;
  color: var(--mid);
  cursor: pointer;
}
.footer__link:hover { color: var(--green); }

.footer__copy {
  margin: 0;
  letter-spacing: 0.5px;
  color: rgba(13, 21, 14, 0.3);
}

/* ───────────────── Modals ───────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 21, 14, 0.45);
}

.modal__box {
  position: relative;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(13, 21, 14, 0.18);
  padding: 48px;
  width: 540px;
  max-width: 100%;
  max-height: 85vh;
  overflow-y: auto;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  font-size: 24px;
  line-height: 1;
  color: var(--mid);
  cursor: pointer;
}
.modal__close:hover { color: var(--ink); }

.modal__title {
  margin: 0 0 24px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.44px;
  color: var(--logo);
}

.modal__h {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.52px;
  color: var(--ink);
}

.modal__p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mid);
}
.modal__p a { color: var(--green); }

.modal__hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}

/* ───────────────── Mobile ───────────────── */
@media (max-width: 900px) {
  .hero { padding: 56px 24px; gap: 40px; }
  .info { grid-template-columns: 1fr; }
  .info__foto { aspect-ratio: auto; }
  .info__foto img { position: static; height: auto; }
  .info__text { padding: 48px 28px; }
  .kontakt { padding: 80px 28px; }
  .footer { padding: 24px 28px; }
  .modal__box { padding: 32px 24px; }
}
