:root {
  --ink: #17211d;
  --muted: #59645d;
  --paper: #fafaf7;
  --surface: #ffffff;
  --line: #dfe5df;
  --green: #0f765e;
  --green-dark: #094f42;
  --red: #b83b33;
  --blue: #315f7b;
  --gold: #c79a43;
  --shadow: 0 18px 45px rgba(23, 33, 29, 0.12);
}

* {
  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.5;
}

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

img,
svg {
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px 28px;
  border-bottom: 1px solid rgba(23, 33, 29, 0.12);
  background: rgba(250, 250, 247, 0.94);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--green-dark);
  font-size: 0.84rem;
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  overflow-x: auto;
  white-space: nowrap;
  color: #34423b;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a:focus-visible {
  border-bottom-color: var(--red);
}

.hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background-image: url("assets/germany-route-hero.png");
  background-size: cover;
  background-position: center right;
  isolation: isolate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 25, 22, 0.56);
}

.hero-content {
  padding: 74px 0 64px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd7ca;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: 4.55rem;
  line-height: 0.98;
}

h2 {
  font-size: 2.35rem;
  line-height: 1.08;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.18;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.16rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  text-align: center;
  white-space: normal;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--red);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #9f312c;
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.hero-note {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.section {
  scroll-margin-top: 90px;
  padding: 84px 0;
}

.intro,
.process,
.contact {
  background: var(--surface);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 60px;
  align-items: start;
}

.intro-text p,
.section-head p,
.contact p,
.boundary-box p,
.process-list p,
.addon-card p,
.tier-card p {
  color: var(--muted);
}

.intro-text p:first-child {
  margin-top: 0;
}

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

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p {
  margin: 14px 0 0;
  font-size: 1.04rem;
}

.section-head.compact {
  max-width: 620px;
}

.tier-section {
  background: #f3f7f5;
}

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

.tier-card,
.addon-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.tier-card {
  min-height: 540px;
  padding: 26px;
  box-shadow: 0 10px 26px rgba(23, 33, 29, 0.05);
}

.tier-card.featured {
  border-color: rgba(15, 118, 94, 0.45);
  box-shadow: var(--shadow);
}

.tier-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--green-dark);
}

.tier-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.tier-card h3 {
  min-height: 58px;
}

.tier-card p {
  margin: 16px 0 0;
}

.tier-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tier-card li {
  position: relative;
  padding-left: 20px;
  color: #35443d;
}

.tier-card li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.small-note {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.addons {
  background: var(--surface);
}

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

.addon-card {
  min-height: 268px;
  padding: 24px;
}

.addon-card span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.addon-card h3 {
  min-height: 50px;
}

.addon-card strong {
  display: block;
  margin-top: 20px;
  color: var(--green-dark);
}

.process-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.process-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.process-list span {
  color: var(--red);
  font-weight: 950;
}

.process-list h3 {
  margin-bottom: 8px;
}

.process-list p {
  margin: 0;
}

.boundaries {
  background: #eef3f1;
}

.boundary-box {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: start;
  padding: 34px;
  border: 1px solid rgba(15, 118, 94, 0.22);
  border-radius: 8px;
  background: var(--surface);
}

.boundary-box p {
  margin: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.74fr);
  gap: 58px;
  align-items: start;
}

.contact p {
  max-width: 560px;
  margin-top: 16px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf8;
}

label {
  display: grid;
  gap: 8px;
  color: #304038;
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd6cf;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input,
select {
  min-height: 46px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 12px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(15, 118, 94, 0.16);
}

.contact-form .button {
  width: 100%;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.82);
  background: #14231f;
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: #fff;
  font-weight: 750;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffd7ca;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 12px 20px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 74svh;
    background-position: center center;
  }

  .hero-content {
    padding: 58px 0 52px;
  }

  h1 {
    font-size: 3.12rem;
  }

  h2 {
    font-size: 2rem;
  }

  .split,
  .boundary-box,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tier-grid,
  .addon-grid {
    grid-template-columns: 1fr;
  }

  .tier-card,
  .addon-card {
    min-height: auto;
  }

  .tier-card h3,
  .addon-card h3 {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1120px, calc(100% - 28px));
  }

  .site-header {
    position: static;
    padding: 12px 14px;
  }

  .brand {
    font-size: 0.96rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px;
    overflow-x: visible;
    white-space: normal;
    font-size: 0.84rem;
  }

  .nav a {
    padding: 4px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-shade {
    background: rgba(11, 25, 22, 0.64);
  }

  .hero-content {
    width: min(330px, calc(100% - 28px));
    margin-right: auto;
    margin-left: 14px;
    padding: 46px 0 42px;
  }

  h1 {
    max-width: 100%;
    font-size: 2.12rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .section {
    padding: 58px 0;
  }

  .button {
    width: 100%;
  }

  .tier-card,
  .addon-card,
  .boundary-box,
  .contact-form {
    padding: 20px;
  }

  .process-list li {
    grid-template-columns: 42px minmax(0, 1fr);
  }

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

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