:root {
  --paper: #fffaf0;
  --paper-strong: #fff4dd;
  --pear: #8ea642;
  --pear-soft: #e9efc7;
  --leaf: #315b49;
  --sky: #dceef3;
  --blue: #537f93;
  --gold: #d9a43a;
  --apricot: #f6c98f;
  --rose: #c06a52;
  --ink: #2c2318;
  --muted: #6f6254;
  --line: rgba(68, 52, 33, 0.16);
  --shadow: 0 24px 70px rgba(79, 58, 32, 0.16);
  --radius: 18px;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    linear-gradient(125deg, rgba(220, 238, 243, 0.84), transparent 36%),
    linear-gradient(315deg, rgba(246, 201, 143, 0.5), transparent 42%),
    var(--paper);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(49, 91, 73, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 91, 73, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82), transparent 72%);
}

a {
  color: inherit;
}

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

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  isolation: isolate;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 0;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  z-index: -1;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.92), rgba(255, 250, 240, 0.72) 48%, rgba(255, 250, 240, 0.9)),
    linear-gradient(to bottom, rgba(255, 250, 240, 0.38), rgba(255, 250, 240, 0.78)),
    url("../Bilder/header.gif") center 42% / cover no-repeat;
  border-bottom: 1px solid rgba(68, 52, 33, 0.12);
  box-shadow: 0 18px 52px rgba(80, 62, 37, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  width: 120px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(70, 52, 30, 0.12);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.24rem;
  line-height: 1.05;
}

.brand-text span {
  display: block;
  margin-top: 4px;
  color: var(--leaf);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 40px rgba(74, 57, 34, 0.09);
  backdrop-filter: blur(16px);
}

.nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease;
}

.nav a:hover {
  color: var(--leaf);
  background: var(--pear-soft);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 118px));
  display: grid;
  align-items: end;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(120deg, rgba(49, 91, 73, 0.46), rgba(255, 250, 240, 0.16)),
    url("../Bilder/header.gif") center 44% / cover no-repeat,
    var(--leaf);
  box-shadow: var(--shadow);
}

.hero > img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(33, 45, 31, 0.76), rgba(33, 45, 31, 0.38) 44%, rgba(255, 244, 221, 0.1)),
    linear-gradient(0deg, rgba(21, 19, 13, 0.54), transparent 58%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 760px;
  min-width: 0;
  padding: clamp(28px, 6vw, 70px);
  color: #fffdf4;
}

.queen-walk {
  position: absolute;
  z-index: 4;
  left: -32%;
  bottom: -18px;
  width: clamp(126px, 20vw, 250px);
  aspect-ratio: 540 / 720;
  pointer-events: none;
  opacity: 0;
  transform: translateX(0);
  animation: queenTravel 8s linear 0s 1 forwards;
  will-change: left, opacity;
}

.queen-walk img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(31, 26, 15, 0.28));
}

.queen-walk[hidden] {
  display: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: 18px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 253, 244, 0.4);
  border-radius: 999px;
  background: rgba(255, 253, 244, 0.16);
  color: #fff8d8;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.eyebrow-feature {
  font-size: clamp(1.25rem, 4vw, 1.92rem);
  line-height: 1;
}

.eyebrow img {
  position: static;
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(1.18);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-serif);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3rem, 6.2vw, 5.3rem);
  line-height: 0.92;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 253, 244, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
  line-height: 1.72;
}

.hero-poem {
  font-family: var(--font-serif);
  font-style: italic;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #263019;
  background: linear-gradient(135deg, #fff4b8, #cddf70);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.16);
}

.btn-secondary {
  color: #fffdf4;
  border-color: rgba(255, 253, 244, 0.46);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
}

.quick-paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: -54px auto 0;
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 34px));
}

.path {
  position: relative;
  min-height: 230px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fffdf4;
  background: var(--leaf);
  box-shadow: 0 18px 54px rgba(79, 58, 32, 0.13);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.path::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 27, 18, 0.88), rgba(22, 27, 18, 0.08) 72%);
}

.path:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 62px rgba(79, 58, 32, 0.2);
}

.path > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.path:hover > img {
  transform: scale(1.035);
}

.path-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 22px;
}

.path-copy > span {
  color: rgba(255, 253, 244, 0.84);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.path-copy strong {
  font-family: var(--font-serif);
  font-size: 1.42rem;
  line-height: 1.08;
}

.section {
  padding: 82px 0;
}

.section + .section {
  border-top: 1px solid rgba(68, 52, 33, 0.1);
}

.section-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.kicker {
  margin: 0 0 11px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.35rem, 4.8vw, 4.25rem);
  line-height: 0.98;
  text-wrap: balance;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.78;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.project-card {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 52px rgba(80, 62, 37, 0.09);
}

.project-card img {
  width: 100%;
  height: 218px;
  object-fit: cover;
  background: var(--pear-soft);
}

.project-card .body {
  padding: 24px;
}

.project-card h3 {
  font-size: 1.64rem;
  line-height: 1.08;
}

.project-card p {
  margin: 13px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--leaf);
  text-decoration: none;
  font-weight: 900;
}

.card-link:hover {
  text-decoration: underline;
}

.card-link + .card-link {
  margin-left: 14px;
}

.band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
  align-items: stretch;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 18px 52px rgba(80, 62, 37, 0.08);
  padding: 28px;
}

.panel.accent {
  background: linear-gradient(145deg, rgba(233, 239, 199, 0.92), rgba(220, 238, 243, 0.82));
}

.panel h3 {
  font-size: 1.72rem;
  line-height: 1.12;
  margin-bottom: 18px;
}

.hours {
  display: grid;
  gap: 12px;
  margin: 0;
}

.hours div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(68, 52, 33, 0.12);
}

.hours dt {
  color: var(--muted);
  font-weight: 800;
}

.hours dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  text-align: right;
}

.story {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.78;
}

.story p {
  margin: 0;
}

.story p + p {
  margin-top: 16px;
}

.shop-panel {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, #fff8e8, #e9f1d0 58%, #dceef3);
  box-shadow: var(--shadow);
}

.shop-panel img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(75, 58, 35, 0.15);
}

.shop-panel h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
}

.shop-panel p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.76;
  font-size: 1.05rem;
}

.soft-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

.soft-list li {
  padding: 9px 12px;
  border: 1px solid rgba(49, 91, 73, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--leaf);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.contact-item {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  box-shadow: 0 18px 52px rgba(80, 62, 37, 0.08);
  transition: transform 180ms ease, background 180ms ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  background: #fff;
}

.contact-item span {
  color: var(--rose);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-item strong {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.2;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 30px 0 44px;
  color: var(--muted);
  border-top: 1px solid rgba(68, 52, 33, 0.1);
  font-size: 0.92rem;
}

.site-footer strong {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}

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

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .quick-paths,
  .project-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head,
  .band,
  .shop-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 22px, 1180px);
  }

  .site-header {
    padding-top: 16px;
  }

  .brand-mark {
    width: 92px;
    height: 42px;
  }

  .brand-text strong {
    font-size: 1.03rem;
  }

  .brand-text span {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
  }

  .hero {
    min-height: 620px;
    border-radius: 22px;
  }

  .hero img {
    object-position: center;
  }

  .queen-walk {
    left: -46%;
    bottom: -10px;
    width: clamp(112px, 34vw, 150px);
  }

  .hero-copy {
    padding: 28px;
  }

  .actions .btn {
    width: 100%;
  }

  .quick-paths,
  .project-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .quick-paths {
    width: calc(100% - 20px);
    margin-top: -38px;
  }

  .section {
    padding: 60px 0;
  }

  .panel,
  .shop-panel {
    padding: 22px;
  }

  .hours div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .hours dd {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .queen-walk {
    display: none;
  }
}

@keyframes queenTravel {
  0% {
    left: -32%;
    opacity: 0;
  }

  8%,
  92% {
    opacity: 1;
  }

  100% {
    left: 106%;
    opacity: 0;
  }
}
