@font-face {
  font-family: "Caladea Local";
  src: url("/assets/fonts/Caladea-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Caladea Local";
  src: url("/assets/fonts/Caladea-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Amiri Local";
  src: url("/assets/fonts/Amiri-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Amiri Local";
  src: url("/assets/fonts/Amiri-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #172326;
  --muted: #596866;
  --paper: #f7f2e9;
  --paper-deep: #eadfce;
  --green: #203b3d;
  --green-soft: #dae5df;
  --brick: #a13f2d;
  --brick-dark: #7d2e23;
  --gold: #b7822c;
  --white: #fffaf2;
  --line: rgba(23, 35, 38, .16);
  --shadow: 0 24px 60px rgba(24, 35, 38, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Caladea Local", Georgia, serif;
  font-size: 18px;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .38;
  background-image:
    linear-gradient(90deg, rgba(32, 59, 61, .05) 1px, transparent 1px),
    linear-gradient(rgba(32, 59, 61, .045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: .6rem 1rem;
  background: var(--ink);
  color: var(--white);
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem clamp(1rem, 4vw, 3rem);
  background: rgba(247, 242, 233, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.hero-actions,
.booking-links,
.site-footer,
.site-footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: .75rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-size: .78rem;
  font-weight: 700;
}

.nav {
  gap: clamp(.6rem, 2vw, 1.4rem);
  font-size: .92rem;
  color: var(--muted);
}

.nav a,
.site-footer a {
  text-decoration: none;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--brick);
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 250, 242, .96), rgba(234, 223, 206, .92)),
    radial-gradient(circle at 15% 10%, rgba(183, 130, 44, .2), transparent 36%);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
}

.hero-map {
  position: relative;
  min-height: 560px;
  margin: clamp(1rem, 4vw, 3rem);
  border-left: 1px solid rgba(32, 59, 61, .18);
  background:
    linear-gradient(90deg, rgba(32, 59, 61, .06) 1px, transparent 1px),
    linear-gradient(rgba(32, 59, 61, .06) 1px, transparent 1px);
  background-size: 34px 34px;
  overflow: hidden;
}

.hero-map::before,
.hero-map::after {
  content: "";
  position: absolute;
  inset: auto;
}

.hero-map::before {
  width: 76%;
  height: 76%;
  left: 6%;
  top: 8%;
  border: 2px solid rgba(125, 46, 35, .48);
  border-radius: 48% 42% 56% 44%;
  transform: rotate(-10deg);
}

.hero-map::after {
  width: 46%;
  height: 28%;
  right: 0;
  bottom: 8%;
  border-top: 2px solid rgba(32, 59, 61, .5);
  transform: rotate(-14deg);
}

.kicker,
.eyebrow {
  margin: 0 0 .7rem;
  color: var(--brick);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Amiri Local", Georgia, serif;
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 10ch;
  font-size: clamp(4rem, 10vw, 8.6rem);
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4.7rem);
}

h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}

.hero-panel p:not(.kicker) {
  max-width: 36rem;
  margin: 1.25rem 0 0;
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  color: #314342;
}

.hero-actions,
.booking-links {
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.map-line,
.map-dot,
.map-label {
  position: absolute;
}

.map-line.ryck {
  left: 3%;
  top: 43%;
  width: 92%;
  height: 18%;
  border-top: 4px double rgba(32, 59, 61, .62);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.map-line.wall {
  left: 23%;
  top: 28%;
  width: 33%;
  height: 33%;
  border: 2px dashed rgba(183, 130, 44, .62);
  border-radius: 46%;
}

.map-dot {
  min-width: 6.3rem;
  padding: .3rem .55rem;
  background: var(--green);
  color: var(--white);
  font-size: .84rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 10px 30px rgba(23, 35, 38, .16);
}

.map-dot::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 14px;
  height: 14px;
  background: var(--brick);
  border: 2px solid var(--paper);
  border-radius: 50%;
  transform: translateX(-50%);
}

.dot-altstadt {
  left: 28%;
  top: 35%;
}

.dot-hafen {
  right: 20%;
  top: 44%;
}

.dot-eldena {
  right: 8%;
  bottom: 26%;
}

.map-label {
  left: 7%;
  bottom: 8%;
  max-width: 15rem;
  font-family: "Amiri Local", Georgia, serif;
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: .98;
  color: rgba(125, 46, 35, .82);
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: .75rem 1.05rem;
  border: 1px solid var(--green);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.15;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

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

.button.primary {
  background: var(--green);
  color: var(--white);
}

.button.ghost {
  background: rgba(255, 250, 242, .44);
  color: var(--green);
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-intro p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: var(--muted);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, .6);
}

.facts-grid article {
  min-height: 180px;
  padding: 1.35rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts-grid article:nth-child(3n) {
  border-right: 0;
}

.facts-grid article:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.facts-grid span {
  display: block;
  margin-bottom: .6rem;
  font-family: "Amiri Local", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--brick-dark);
}

.facts-grid p,
.source-note,
.affiliate-note,
.sources p {
  margin: 0;
  color: var(--muted);
}

.source-note {
  margin-top: 1rem;
  font-size: .95rem;
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.story-copy p {
  color: #344644;
}

.travel-card {
  position: sticky;
  top: 96px;
  padding: 1.3rem;
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow);
}

.travel-card h3 {
  margin-bottom: 1rem;
}

.travel-card a {
  display: block;
  padding: .8rem 0;
  color: var(--white);
  text-decoration-color: rgba(255, 250, 242, .45);
  text-underline-offset: 5px;
  border-top: 1px solid rgba(255, 250, 242, .18);
}

.sights {
  width: min(1280px, calc(100% - 2rem));
}

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

.sight-card {
  min-height: 260px;
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 34px rgba(23, 35, 38, .06);
}

.sight-card.featured {
  grid-column: span 2;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(240px, .85fr) minmax(0, 1fr);
  overflow: hidden;
}

.sight-card.featured > div:last-child {
  padding: 1.35rem;
}

.sight-symbol {
  min-height: 100%;
  position: relative;
  background:
    linear-gradient(180deg, rgba(32, 59, 61, .08), rgba(161, 63, 45, .16)),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(32, 59, 61, .08) 28px 30px);
}

.sight-symbol span {
  position: absolute;
  bottom: 18%;
  width: 24%;
  border: 5px solid var(--brick-dark);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.sight-symbol span:nth-child(1) {
  left: 14%;
  height: 38%;
}

.sight-symbol span:nth-child(2) {
  left: 38%;
  height: 55%;
}

.sight-symbol span:nth-child(3) {
  right: 14%;
  height: 32%;
}

.sight-card p {
  margin: .8rem 0 0;
  color: var(--muted);
}

.leisure {
  border-block: 1px solid var(--line);
}

.leisure-list {
  columns: 2;
  column-gap: 3rem;
}

.leisure-list p {
  break-inside: avoid;
  margin: 0 0 1.1rem;
  color: #334645;
}

.booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr);
  gap: 2rem;
  align-items: center;
  padding-inline: clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(135deg, var(--green), #526954);
  color: var(--white);
  box-shadow: var(--shadow);
}

.booking p {
  color: rgba(255, 250, 242, .82);
}

.booking .eyebrow {
  color: #f1c46b;
}

.booking .button.primary {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}

.booking .button.ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 250, 242, .58);
}

.affiliate-note {
  grid-column: 1 / -1;
  font-size: .92rem;
  color: rgba(255, 250, 242, .72);
}

.sources {
  padding-top: 4rem;
}

.sources h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}

.sources p + p {
  margin-top: .8rem;
}

.site-footer {
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
  color: rgba(255, 250, 242, .76);
  background: #172326;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  gap: 1rem;
}

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

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: .15rem;
  }

  .hero,
  .story,
  .booking {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-map {
    min-height: 48vh;
    order: -1;
  }

  .travel-card {
    position: static;
  }

  .facts-grid,
  .sight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts-grid article,
  .facts-grid article:nth-child(3n),
  .facts-grid article:nth-last-child(-n + 3) {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .facts-grid article:nth-child(2n) {
    border-right: 0;
  }

  .facts-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .sight-card.featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .brand span:last-child {
    font-size: .95rem;
  }

  .hero-panel {
    padding: 2rem 1rem 2.5rem;
  }

  h1 {
    font-size: clamp(3.5rem, 20vw, 5rem);
  }

  .facts-grid,
  .sight-grid,
  .sight-card.featured {
    grid-template-columns: 1fr;
  }

  .facts-grid article,
  .facts-grid article:nth-child(2n),
  .facts-grid article:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .facts-grid article:last-child {
    border-bottom: 0;
  }

  .sight-symbol {
    min-height: 260px;
  }

  .leisure-list {
    columns: 1;
  }

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