:root {
  --ink: #1f2524;
  --muted: #606b67;
  --paper: #f8f6f1;
  --paper-warm: #fffaf1;
  --line: rgba(31, 37, 36, 0.14);
  --green: #6a8b55;
  --green-dark: #324436;
  --blue: #244f6f;
  --terracotta: #a35f49;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(31, 37, 36, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 72px);
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  min-width: 48px;
  min-height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  font-size: 0.9rem;
}

.brand-name {
  font-size: 1.45rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.95rem;
}

.nav a {
  opacity: 0.86;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 128px clamp(20px, 5vw, 72px) 92px;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("assets/dogs50-abschied-hero.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(20, 25, 23, 0.88) 0%, rgba(20, 25, 23, 0.72) 39%, rgba(20, 25, 23, 0.24) 72%, rgba(20, 25, 23, 0.42) 100%),
    linear-gradient(180deg, rgba(20, 25, 23, 0.52) 0%, rgba(20, 25, 23, 0.08) 42%, rgba(20, 25, 23, 0.82) 100%);
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: #c9dfbd;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 9vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
}

.hero-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  font-weight: 750;
}

.hero-link:hover,
.hero-link:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.55fr);
  gap: clamp(34px, 6vw, 92px);
  padding: clamp(72px, 9vw, 126px) clamp(20px, 5vw, 72px);
  background: var(--paper);
}

.intro-copy {
  max-width: 780px;
}

.intro h2,
.detail h2 {
  margin-bottom: 22px;
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.6vw, 4.3rem);
  line-height: 1;
  letter-spacing: 0;
}

.intro p,
.farewell-text p,
.detail p,
.site-footer p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.intro-copy p {
  max-width: 720px;
  margin-bottom: 20px;
}

.quiet-note {
  align-self: start;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-warm);
  box-shadow: var(--shadow);
}

.quiet-note span {
  display: block;
  margin-bottom: 16px;
  color: var(--terracotta);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.quiet-note p {
  margin: 0;
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.18;
}

.farewell-band {
  padding: clamp(70px, 10vw, 132px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(36, 79, 111, 0.94), rgba(50, 68, 54, 0.94)),
    var(--blue);
}

.farewell-text {
  max-width: 920px;
}

.farewell-text p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3.2vw, 3.4rem);
  line-height: 1.16;
}

.farewell-text p:last-child {
  margin-bottom: 0;
}

.details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.detail {
  min-height: 320px;
  padding: clamp(30px, 4.5vw, 56px);
  background: var(--paper);
}

.detail h2 {
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
}

.detail:nth-child(2) {
  background: #f2f7ef;
}

.detail:nth-child(3) {
  background: #f7f2eb;
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 46px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.footer-brand {
  margin-bottom: 8px;
  color: var(--white);
  font-weight: 850;
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer a {
  color: #d9ead2;
  font-weight: 750;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px 24px;
}

.legal-page {
  background: var(--paper);
}

.legal-page .site-header {
  position: static;
  color: var(--green-dark);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 246, 241, 0.94);
}

.legal-page .brand-mark {
  border-color: rgba(50, 68, 54, 0.38);
}

.legal-main {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.legal-shell {
  max-width: 940px;
}

.legal-shell h1 {
  margin-bottom: 34px;
  color: var(--green-dark);
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.legal-card {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 54px rgba(31, 37, 36, 0.08);
}

.legal-card h2 {
  margin: 34px 0 10px;
  color: var(--green-dark);
  font-size: clamp(1.24rem, 2vw, 1.62rem);
  line-height: 1.2;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--muted);
}

.legal-card a {
  color: var(--blue);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    padding-top: 18px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 760px;
    padding-top: 104px;
    align-items: end;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(20, 25, 23, 0.28) 0%, rgba(20, 25, 23, 0.4) 34%, rgba(20, 25, 23, 0.94) 100%),
      linear-gradient(90deg, rgba(20, 25, 23, 0.68), rgba(20, 25, 23, 0.22));
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5.2rem);
  }

  .intro,
  .details {
    grid-template-columns: 1fr;
  }

  .quiet-note {
    padding: 26px;
  }

  .detail {
    min-height: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 460px) {
  .brand-name {
    font-size: 1.25rem;
  }

  .brand-mark {
    min-width: 42px;
  }

  .hero {
    min-height: 700px;
  }

  .lead {
    font-size: 1.08rem;
  }
}
